]> git.baikalelectronics.ru Git - kernel.git/commit
x86, reboot: Only use CF9_COND automatically, not CF9
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 5 Mar 2014 23:41:15 +0000 (15:41 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 5 Mar 2014 23:41:15 +0000 (15:41 -0800)
commit7b27072e711eb82af1f5683f08df72c5a1d669d9
tree21ca6d1f56ecf8547cc82e0408c7cf29467c0fe3
parent8bd93a68651d99d3237572f41b55c5ce721cfb0a
x86, reboot: Only use CF9_COND automatically, not CF9

Only CF9_COND is appropriate for inclusion in the default chain, not
CF9; the latter will poke that register unconditionally, whereas
CF9_COND will at least look for PCI configuration method #1 or #2
first (a weak check, but better than nothing.)

CF9 should be used for explicit system configuration (command line or
DMI) only.

Cc: Aubrey Li <aubrey.li@intel.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Link: http://lkml.kernel.org/r/53130A46.1010801@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/reboot.c