freebsd-src/sys/dev/acpica
Nate Lawson 80f006a1e3 If we're trying to use C2/3 and reads from the register are returning
immediately, back off to the next higher Cx sleep state.  Some machines
with a Via chipset report a valid C3 but a register read doesn't actually
halt the CPU.  This would cause the machine to appear unresponsive as it
repeatedly called cpu_idle() which immediately returned.  Causing interrupts
(i.e. by pressing the power button) would cause the system to make forward
progress, showing that it wasn't actually hung.

Also, enable interrupts a little earlier.  We don't need them disabled
to calculate the delta time for the read.

Reported by:	silby
MFC after:	2 weeks
2005-10-25 21:15:47 +00:00
..
Osd Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi.c Add a hack to get around PCI link devices that report "present" but not 2005-10-23 00:28:39 +00:00
acpi_acad.c Invert the check logic. No functional change, but I prefer this version. 2005-10-24 18:30:57 +00:00
acpi_battery.c Add prototype to be consistent. 2005-10-23 19:31:18 +00:00
acpi_button.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cmbat.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cpu.c If we're trying to use C2/3 and reads from the register are returning 2005-10-25 21:15:47 +00:00
acpi_ec.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_if.m Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_isab.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_lid.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_package.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pci.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pci_link.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pcib.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pcib_acpi.c Commit a workaround to a problem with resource allocation. This helps 2005-09-16 07:02:29 +00:00
acpi_pcib_pci.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pcibvar.h Protect against multiple includes and use _KERNEL to protect the PCI fns. 2005-02-28 05:39:34 +00:00
acpi_perf.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_powerres.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirk.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirks Add a quirk for a motherboard whose acpi timer runs too fast. 2005-06-26 18:19:14 +00:00
acpi_resource.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_smbat.c Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_smbus.h Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_thermal.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_throttle.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_timer.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_video.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpiio.h Cleanups and support code for importing smart battery support. 2005-10-23 00:16:41 +00:00
acpivar.h Rewrite the acpi_battery interface to allow for other battery types 2005-07-23 19:36:00 +00:00