x86, amd: Don't probe for extended APIC ID if APICs are disabled
commit8c668814e3e2be7d633447bf6e78237d4cedabb7
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 22 Jul 2009 16:59:35 +0000 (22 09:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:52 +0000 (8 20:33 -0700)
tree03aa9291a54601f869dab572e060ab148700b917
parentcd20a4e8b2a7f2d10ef23978ccd8c85eff3ac3a2
x86, amd: Don't probe for extended APIC ID if APICs are disabled

commit 2cb078603abb612e3bcd428fb8122c3d39e08832 upstream.

If we've logically disabled apics, don't probe the PCI space for the
AMD extended APIC ID.

[ Impact: prevent boot crash under Xen. ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Reported-by: Bastian Blank <bastian@waldi.eu.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/cpu/amd.c