]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: APIC: enable workaround on AMD Fam10h CPUs
authorBorislav Petkov <borislav.petkov@amd.com>
Tue, 3 Feb 2009 15:24:22 +0000 (16:24 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Feb 2009 17:50:27 +0000 (09:50 -0800)
commit2c49b9d83e2b4776ae1b59f67a02a7e21c2ec01b
treecb81dab69c2e825b001199617c2d0503eb9cea1e
parentbe147dc023d5023c0b979b18a762d6663f3d9a38
x86: APIC: enable workaround on AMD Fam10h CPUs

commit 858770619debfb9269add63e4ba8b7c6b5538dd1 upstream.

Impact: fix to enable APIC for AMD Fam10h on chipsets with a missing/b0rked
ACPI MP table (MADT)

Booting a 32bit kernel on an AMD Fam10h CPU running on chipsets with
missing/b0rked MP table leads to a hang pretty early in the boot process
due to the APIC not being initialized. Fix that by falling back to the
default APIC base address in 32bit code, as it is done in the 64bit
codepath.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/apic.c