]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPICA: clear fields reserved before FADT r3
authorBob Moore <robert.moore@intel.com>
Sun, 29 Apr 2007 00:53:50 +0000 (20:53 -0400)
committerLen Brown <len.brown@intel.com>
Sun, 29 Apr 2007 00:55:06 +0000 (20:55 -0400)
commit79fff270026dc46634563a29b99e4034028ee919
treeddc0f97ebc7c756cecbd824b4d0b7162f1e7cb6f
parentde46c33745f5e2ad594c72f2cf5f490861b16ce1
ACPICA: clear fields reserved before FADT r3

Linux-2.6.21 stopped booting on a P4/HT because Linux
wrote the FADT.CST_CNT value to the SMI_CMD.
Apparently this stumbled over some SMM instability,
such as confusing SMM when invoking it from cpu1.

Linux did this because even though the r2 FADT reserves
the CST_CNT field, this BIOS set that field and Linux
used it.

Turns out that up through 2.6.20 we explicitly cleared
cst_control for r2 FADTs.  So here we go back to doing that,
plus also clear some additional fields that are reserved
until FADT r3.

http://bugzilla.kernel.org/show_bug.cgi?id=8346

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/tables/tbfadt.c