diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2008-02-16 02:00:25 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2008-02-16 02:00:25 +0000 |
commit | d37b92b2e9442aaaad1269b3df3dbb38429c3873 (patch) | |
tree | 663444a09ec084ac2920fb09c82ab8866fd30a7f /sys/dev | |
parent | 653069d3275a6b68475ee6edf42bd95a6116a0b1 (diff) | |
download | FreeBSD-src-d37b92b2e9442aaaad1269b3df3dbb38429c3873.zip FreeBSD-src-d37b92b2e9442aaaad1269b3df3dbb38429c3873.tar.gz |
Skip validation of the C3 state if we disabled C3 by software (i.e.,
via quirk).
Submitted by: Andriy Gapon <avg at icyb.net.ua>
Reviewed by: njl (mentor)
Approved by: njl (mentor)
Requested by: njl (mentor)
MFC after: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpica/acpi_cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c index 492de5e..ccc7ebb 100644 --- a/sys/dev/acpica/acpi_cpu.c +++ b/sys/dev/acpica/acpi_cpu.c @@ -590,7 +590,7 @@ acpi_cpu_generic_cx_probe(struct acpi_cpu_softc *sc) return; /* Validate and allocate resources for C3 (P_LVL3). */ - if (AcpiGbl_FADT.C3Latency <= 1000) { + if (AcpiGbl_FADT.C3Latency <= 1000 && !(cpu_quirks & CPU_QUIRK_NO_C3)) { gas.Address = sc->cpu_p_blk + 5; acpi_bus_alloc_gas(sc->cpu_dev, &cx_ptr->res_type, &sc->cpu_rid, &gas, &cx_ptr->p_lvlx, RF_SHAREABLE); |