From 4461e3cc7cea571fd4beae7bcac99757876e3fd6 Mon Sep 17 00:00:00 2001 From: Joel Dahl Date: Fri, 4 Aug 2006 14:14:39 +0000 Subject: [PATCH] Update the ACPI project page. In collaboration with: njl --- en/projects/acpi/completed.sgml | 108 ++++++++++++++++- en/projects/acpi/index.sgml | 204 +++----------------------------- 2 files changed, 126 insertions(+), 186 deletions(-) diff --git a/en/projects/acpi/completed.sgml b/en/projects/acpi/completed.sgml index 6eb9b709ce..a510e9b280 100644 --- a/en/projects/acpi/completed.sgml +++ b/en/projects/acpi/completed.sgml @@ -1,6 +1,6 @@ - + @@ -334,6 +334,112 @@ being powered off. &a.njl; + + + Giant-free locking. + &a.njl; + + + + newbus attachments for cpu — get cpu devices under + newbus so drivers like cpufreq can probe/attach. + &a.njl; + + + + Write initial drivers: ICH SpeedStep, ACPI performance, + ACPI throttling, Enhanced SpeedStep, P4 TCC. + &a.njl; + + + + Add bus methods/ivars for child attachments to both acpi + and legacy cpu devices + &a.njl; + + + + Design sysctl interface. + &a.njl; + + + + Design notify interface for Px changes. + &a.njl; + + + + Update power_profile to use cpufreq. + &a.njl; + + + + Import powerd. + &a.njl; + + + + Fujitsu driver -- Driver for Fujitsu laptop extras. Just needs + to be cleaned up (use acpi_UserNotify instead of the signal + stuff) and imported. + &a.marks; + + + + IBM Thinkpad extras driver -- Driver for Thinkpad hotkeys. + &a.takawata; + + + + Call _S0D on resume (power up?). + &a.njl; + + + + Implement the int 10h resume hack that Linux has since we do + not have that yet. It is unclear how effective it is but some + systems do require it. + &a.njl; + + + + Check our DWORD access to EC regions, including endianness. + Currently, we treat DWORD access as little-endian, which makes + sense on PCs. It's really not correct to do use access other than + BYTE for EC space but some ASL uses DWORD. Also, we should test + what happens for AnyAccess reads/writes to EC space since some + ASL does this too. The existing implementation seems correct. + &a.njl; + + + + Implement passive cooling in ACPI thermal. It should use the + cpufreq interface to cool the processor, based on the various _PSV + settings. Also, we need to implement variable polling intervals + for thermal zones based on both the passive settings and polling + explicitly specified in the ASL. + &a.ume; + + + + Fix stray irq 9 on reboot -- + AcpiTerminate -> AcpiEvTerminate unhooks the SCI and then we + get a stray irq. Debug why. Also, disable/ re-enable acpi gives + "SCI already attached". Check flags for AcpiDisable vs. + AcpiTerminate. This looks uncommon and does not cause any problems + so it will be ignored for now. + &a.njl; + + + + Add smart battery support -- Smart batteries use the SMBus + to communicate data instead of the embedded controller for + control-method batteries. Newer ACER laptops have this and + it will be needed for battery status on them. This is rather + difficult since it involves interfacing with the SMBus drivers + (likely need some kobj methods for this.) + &a.njl; + diff --git a/en/projects/acpi/index.sgml b/en/projects/acpi/index.sgml index 323265d520..5ebd50b210 100644 --- a/en/projects/acpi/index.sgml +++ b/en/projects/acpi/index.sgml @@ -1,6 +1,6 @@ - + @@ -34,9 +34,9 @@

Description

The acpi driver provides support for the Intel/Microsoft/Compaq/Toshiba - ACPI standard. This support includes platform hardware discovery (super- - seding the PnP and PCI BIOS), as well as power management (superseding - APM) and other features. ACPI core support is provided by the ACPI CA + ACPI standard. This support includes platform hardware discovery (superseding + the PnP and PCI BIOS), as well as power management (superseding + APM) and other features. ACPI core support is provided by the ACPI-CA reference implementation from Intel.

Information on using and debugging ACPI can be found in the @@ -68,20 +68,20 @@ - Giant-free locking + Save/Restore PCI capabilities lists and MSI config space &a.njl; - December 4, 2004 - &status.done; - Done. Some complaints of boot-time battery read hang - remain. + August 3, 2006 + &status.wip; +   - newbus attachments for cpu — get cpu devices under - newbus so drivers like cpufreq can probe/attach - &a.njl; - December 4, 2004 - &status.done; + Investigate disabling the LAPIC timer when using ACPI C2-3 + states. Otherwise, the system hangs and no timer interrupts + occur while idle. +   + August 3, 2006 + &status.new;   @@ -91,57 +91,6 @@ cpufreq — Common CPU frequency/voltage driver - - - Write initial drivers: ICH SpeedStep, ACPI performance, - ACPI throttling, Enhanced SpeedStep, P4 TCC - &a.njl; - February 20, 2005 - &status.done; -   - - - - Add bus methods/ivars for child attachments to both acpi - and legacy cpu devices - &a.njl; - February 15, 2005 - &status.done; -   - - - - Design sysctl interface - &a.njl; - December 4, 2004 - &status.done; -   - - - - Design notify interface for Px changes - &a.njl; - December 4, 2004 - &status.done; - We may need an interface to notify external users of changes - to the bus and CPU frequency separately. - - - - Update power_profile to use cpufreq - &a.njl; - February 15, 2005 - &status.done; -   - - - - Import powerd - &a.njl; - February 20, 2005 - &status.done; - Mostly based on Colin Percival's estctrl. - @@ -204,20 +153,9 @@ etc.)     - &status.wip; + &status.new;   - - - Fujitsu driver -- Driver for Fujitsu laptop extras. Just needs - to be cleaned up (use acpi_UserNotify instead of the signal - stuff) and imported. - &a.marks; -   - &status.done; - See - Seans driver. - @@ -259,22 +197,10 @@ PCI devices (including the video card) have been fully resumed, including power state set to PS0. This works for many Radeon cards but fails for others. We could implement this in vm86 - calls from a proper video driver resume method. Also, implement - the int 10h resume hack that Linux has since we do not have that yet. - It is unclear how effective it is but some systems do require it. -   -   - &status.new; -   - - - - Check our DWORD access to EC regions, including endianness. - Currently, we treat DWORD access as little-endian, which makes - sense on PCs. It's really not correct to do use access other than - BYTE for EC space but some ASL uses DWORD. Also, we should test - what happens for AnyAccess reads/writes to EC space since some - ASL does this too. + calls from a proper video driver resume method. Investigate + integrate the techniques used by the Radeontool + port in video resume.     &status.new; @@ -367,18 +293,6 @@   - - Implement passive cooling in ACPI thermal. It should use the - cpufreq interface to cool the processor, based on the various _PSV - settings. Also, we need to implement variable polling intervals - for thermal zones based on both the passive settings and polling - explicitly specified in the ASL. -   -   - &status.new; -   - - Traverse local reference (scope) types in namespace when probing devices. @@ -388,22 +302,6 @@   - - IBM Thinkpad extras driver -- Driver for Thinkpad hotkeys. - &a.takawata; -   - &status.done; -   - - - - Call _S0D on resume (power up?) -   -   - &status.done; -   - - Implement support for _PRS/_SRS and dependent functions. This will allow serial port configuration to occur. @@ -413,19 +311,6 @@   - - Fix stray irq 9 on reboot -- - AcpiTerminate -> AcpiEvTerminate unhooks the SCI and then we - get a stray irq. Debug why. Also, disable/ re-enable acpi gives - "SCI already attached". Check flags for AcpiDisable vs. - AcpiTerminate. This looks uncommon and does not cause any problems - so it will be ignored for now. - &a.njl; -   - &status.wip; -   - - Add EC burst mode -- Code was written before to add burst mode to the EC. Unfortunately, it had to be disabled since it did not @@ -438,19 +323,6 @@   - - Add smart battery support -- Smart batteries use the SMBus - to communicate data instead of the embedded controller for - control-method batteries. Newer ACER laptops have this and - it will be needed for battery status on them. This is rather - difficult since it involves interfacing with the SMBus drivers - (likely need some kobj methods for this.) -   -   - &status.new; -   - - Intel firmware seems to describe the PCI root bridge where chipset configuration space lives with _STA==0x8. The spec @@ -589,44 +461,6 @@ - -

Platform Support Status

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Task Responsible Last updated Status Details
amd64 &acpi-mail; April 14, 2004 &status.wip;  
i386 &acpi-mail; April 14, 2004 &status.wip;  
ia64 &acpi-mail; April 14, 2004 &status.wip;  
-

References