diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-10-29 10:34:19 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-11-05 00:11:00 +0100 |
commit | fe6f85ca121e9c74e7490fe66b0c5aae38e332c3 (patch) | |
tree | cedf43e69f3ae3ae5af7c4ff5682998533dfd103 /arch/x86/kernel/dumpstack_64.c | |
parent | 26467b0f8407cbd628fa5b7bcfd156e772004155 (diff) | |
download | linux-fe6f85ca121e9c74e7490fe66b0c5aae38e332c3.tar.gz linux-fe6f85ca121e9c74e7490fe66b0c5aae38e332c3.tar.bz2 linux-fe6f85ca121e9c74e7490fe66b0c5aae38e332c3.zip |
x86/apic/32: Avoid bogus LDR warnings
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
Diffstat (limited to 'arch/x86/kernel/dumpstack_64.c')
0 files changed, 0 insertions, 0 deletions