summaryrefslogtreecommitdiff
path: root/bios
diff options
context:
space:
mode:
authorsshwarts <sshwarts>2008-05-02 18:37:47 +0000
committersshwarts <sshwarts>2008-05-02 18:37:47 +0000
commit8a517d6a3ecc26ba4b6efb9e918c6524ada2f985 (patch)
treefd3014ae46dade74a6232742f176db7d3c5cba22 /bios
parent1fb5ab46a1411f59bc324db8ebc3aa89fc13e3c4 (diff)
bios patch: kvm: bios: don't advertise ACPI C2 or C3 support
Diffstat (limited to 'bios')
-rw-r--r--bios/rombios32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bios/rombios32.c b/bios/rombios32.c
index 47b6d93b..9170456d 100644
--- a/bios/rombios32.c
+++ b/bios/rombios32.c
@@ -1424,8 +1424,8 @@ void acpi_bios_init(void)
fadt->pm1_evt_len = 4;
fadt->pm1_cnt_len = 2;
fadt->pm_tmr_len = 4;
- fadt->plvl2_lat = cpu_to_le16(50);
- fadt->plvl3_lat = cpu_to_le16(50);
+ fadt->plvl2_lat = cpu_to_le16(0xfff); // C2 state not supported
+ fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported
/* WBINVD + PROC_C1 + PWR_BUTTON + SLP_BUTTON + FIX_RTC */
fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 4) | (1 << 5) | (1 << 6));
acpi_build_table_header((struct acpi_table_header *)fadt, "FACP",