lenovo/x60: CST table: use MWAIT requests instead of P_LVLx I/O reads
commite1f0ac4baa1bbe561276bee8ebc20fe86b0f8cc2
authorArthur Heymans <arthur@aheymans.xyz>
Thu, 19 May 2016 14:02:38 +0000 (19 16:02 +0200)
committerMartin Roth <martinroth@google.com>
Tue, 11 Oct 2016 21:34:18 +0000 (11 23:34 +0200)
tree0529f2a7fcc717de4ce1707bea9626c9f32cd66e
parent49a7c37de95531eb2f8037542806ec56240388be
lenovo/x60: CST table: use MWAIT requests instead of P_LVLx I/O reads

Requesting low power acpi cpu c-states has two software interfaces:
Using P_LVLx I/O reads or using equivalent MWAIT requests.
This change makes it more consistent with newer targets that use MWAIT
requests.

There also exists extended intel acpi c-states which can be enabled
in two ways:
- using a substate hint to the mwait request (defined in bios);
- setting a model specific register (msr)

Currently this is done by setting the right msr bits but with this
change one can experiment by adding substate hints.

Change-Id: I9eeb5b008e2ddc2193725667f2c13582a4877e3c
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/14801
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/mainboard/lenovo/x60/mainboard.c