android_kernel_samsung_a7y1.../arch/x86/kernel
Jan Beulich de736ed8ee x86/apic/32: Avoid bogus LDR warnings
commit fe6f85ca121e9c74e7490fe66b0c5aae38e332c3 upstream.

The removal of the LDR initialization in the bigsmp_32 APIC code unearthed
a problem in setup_local_APIC().

The code checks unconditionally for a mismatch of the logical APIC id by
comparing the early APIC id which was initialized in get_smp_config() with
the actual LDR value in the APIC.

Due to the removal of the bogus LDR initialization the check now can
trigger on bigsmp_32 APIC systems emitting a warning for every booting
CPU. This is of course a false positive because the APIC is not using
logical destination mode.

Restrict the check and the possibly resulting fixup to systems which are
actually using the APIC in logical destination mode.

[ tglx: Massaged changelog and added Cc stable ]

Fixes: bae3a8d3308 ("x86/apic: Do not initialize LDR and DFR for bigsmp")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/666d8f91-b5a8-1afd-7add-821e72a35f03@suse.com
[ comet.berkeley: Backported to 4.4: adjust context ]
Signed-off-by: Richard Narron <comet.berkeley@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 12:43:50 +02:00
..
acpi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apic x86/apic/32: Avoid bogus LDR warnings 2020-04-07 12:43:50 +02:00
cpu x86/speculation: Fix redundant MDS mitigation message 2020-04-07 12:37:10 +02:00
fpu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kprobes kprobes/x86: Prohibit probing on exception masking instructions 2020-04-07 12:31:23 +02:00
alternative.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amd_gart_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amd_nb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apb_timer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aperture_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
audit_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bootflag.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
check.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuid.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash_dump_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash_dump_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devicetree.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
doublefault.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
e820.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early_printk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early-quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
espfix_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ftrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hpet.c x86/vdso: Remove direct HPET access through the vDSO 2020-04-06 20:50:21 +02:00
hw_breakpoint.c x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error 2020-04-06 15:17:29 +02:00
i386_ksyms_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8237.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8253.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8259.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io_delay.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioport.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_64.c x86/irq/64: Limit IST stack overflow check to #DB stack 2020-04-06 18:18:58 +02:00
irq_work.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irqflags.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irqinit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jump_label.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kdebugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kexec-bzimage64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kgdb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ksysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kvm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kvmclock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ldt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
livepatch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machine_kexec_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machine_kexec_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mcount_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmconf-fam10h_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpparse.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
msr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nmi_selftest.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nmi.c x86/speculation/mds: Clear CPU buffers on exit to user 2020-04-06 16:55:38 +02:00
paravirt_patch_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt_patch_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt-spinlocks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-calgary_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-iommu_table.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-nommu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-swiotlb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcspeaker.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perf_regs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmem.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
probe_roms.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
process_32.c x86/process: Consolidate and simplify switch_to_xtra() code 2020-04-06 16:54:59 +02:00
process_64.c x86/process: Consolidate and simplify switch_to_xtra() code 2020-04-06 16:54:59 +02:00
process.c x86/speculation: Add prctl() control for indirect branch speculation 2020-04-06 16:55:11 +02:00
process.h x86/speculation: Avoid __switch_to_xtra() calls 2020-04-06 16:55:01 +02:00
ptrace.c x86/ptrace: fix up botched merge of spectrev1 fix 2020-04-06 21:33:58 +02:00
pvclock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot_fixups_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
relocate_kernel_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
relocate_kernel_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
resource.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup_percpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal_compat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp.c x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails 2020-04-07 07:38:01 +02:00
smpboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stacktrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
step.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_x86_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfb_efi.c x86/sysfb_efi: Add quirks for some devices with swapped width and height 2020-04-06 20:16:38 +02:00
sysfb_simplefb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tce_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_nx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_rodata.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tls.c x86/tls: Fix possible spectre-v1 in do_get_thread_area() 2020-04-06 19:26:28 +02:00
tls.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace_clock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tracepoint.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
traps.c x86/speculation/mds: Revert CPU buffer clear on double fault exit 2020-04-06 18:11:40 +02:00
tsc_msr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc_sync.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uprobes.c uprobes/x86: Prohibit probing on MOV SS instruction 2020-04-07 12:31:25 +02:00
verify_cpu.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vm86_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vmlinux.lds.S Revert "x86/build: Move _etext to actual end of .text" 2020-04-06 18:44:52 +02:00
vsmp_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x86_init.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x8664_ksyms_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30