latest ACPI patch vs 2.6.17-rc4
Folks,
The latest ACPI patch is against 2.6.17-rc4 and is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/acpi-test-20060310-2.6.17-rc4.diff.gz
Note that I removed the acpi_in_resume workaround, so you'll get some oops'
during resume, until we replace it with something else.
Note that the kmalloc patches allow CONFIG_DEBUG_SLAB_LEAKS to put more useful entries in /proc/slab_allocators for acpi.
cheers,
-Len
Documentation/kernel-parameters.txt | 3 arch/i386/kernel/acpi/boot.c | 5 arch/i386/kernel/acpi/processor.c | 2 arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 289 +++++-- arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 250 ++++-- arch/ia64/Kconfig | 1 arch/x86_64/Kconfig | 1 arch/x86_64/kernel/acpi/Makefile | 1 arch/x86_64/kernel/acpi/processor.c | 74 - drivers/acpi/Kconfig | 3 drivers/acpi/ac.c | 72 - drivers/acpi/acpi_memhotplug.c | 179 +--- drivers/acpi/asus_acpi.c | 34 drivers/acpi/battery.c | 145 +-- drivers/acpi/bus.c | 140 +-- drivers/acpi/button.c | 82 -- drivers/acpi/container.c | 42 - drivers/acpi/debug.c | 21 drivers/acpi/dispatcher/dsfield.c | 1 drivers/acpi/dispatcher/dsmethod.c | 5 drivers/acpi/dispatcher/dsmthdat.c | 3 drivers/acpi/dispatcher/dsobject.c | 15 drivers/acpi/dispatcher/dsopcode.c | 4 drivers/acpi/dispatcher/dsutils.c | 9 drivers/acpi/dispatcher/dswexec.c | 3 drivers/acpi/dispatcher/dswload.c | 10 drivers/acpi/dispatcher/dswscope.c | 2 drivers/acpi/dispatcher/dswstate.c | 13 drivers/acpi/ec.c | 198 +---- drivers/acpi/event.c | 21 drivers/acpi/events/evevent.c | 2 drivers/acpi/events/evgpe.c | 5 drivers/acpi/events/evgpeblk.c | 52 - drivers/acpi/events/evmisc.c | 6 drivers/acpi/events/evregion.c | 12 drivers/acpi/events/evrgnini.c | 14 drivers/acpi/events/evxface.c | 82 +- drivers/acpi/events/evxfevnt.c | 41 - drivers/acpi/events/evxfregn.c | 9 drivers/acpi/executer/exconfig.c | 9 drivers/acpi/executer/exconvrt.c | 2 drivers/acpi/executer/exdump.c | 4 drivers/acpi/executer/exfield.c | 6 drivers/acpi/executer/exfldio.c | 5 drivers/acpi/executer/exmisc.c | 1 drivers/acpi/executer/exmutex.c | 3 drivers/acpi/executer/exnames.c | 10 drivers/acpi/executer/exoparg1.c | 61 + drivers/acpi/executer/exoparg2.c | 81 +- drivers/acpi/executer/exoparg3.c | 11 drivers/acpi/executer/exoparg6.c | 1 drivers/acpi/executer/exprep.c | 17 drivers/acpi/executer/exregion.c | 11 drivers/acpi/executer/exresnte.c | 5 drivers/acpi/executer/exresolv.c | 43 - drivers/acpi/executer/exresop.c | 4 drivers/acpi/executer/exstore.c | 2 drivers/acpi/executer/exstoren.c | 3 drivers/acpi/executer/exstorob.c | 11 drivers/acpi/executer/exsystem.c | 2 drivers/acpi/executer/exutils.c | 3 drivers/acpi/fan.c | 60 - drivers/acpi/glue.c | 8 drivers/acpi/hardware/hwgpe.c | 2 drivers/acpi/hardware/hwregs.c | 12 drivers/acpi/hardware/hwsleep.c | 19 drivers/acpi/hardware/hwtimer.c | 10 drivers/acpi/hotkey.c | 157 +--- drivers/acpi/motherboard.c | 69 - drivers/acpi/namespace/nsaccess.c | 26 drivers/acpi/namespace/nsalloc.c | 14 drivers/acpi/namespace/nsdump.c | 4 drivers/acpi/namespace/nsdumpdv.c | 2 drivers/acpi/namespace/nseval.c | 5 drivers/acpi/namespace/nsinit.c | 7 drivers/acpi/namespace/nsload.c | 3 drivers/acpi/namespace/nsnames.c | 10 drivers/acpi/namespace/nsobject.c | 3 drivers/acpi/namespace/nsparse.c | 2 drivers/acpi/namespace/nssearch.c | 5 drivers/acpi/namespace/nsutils.c | 23 drivers/acpi/namespace/nswalk.c | 4 drivers/acpi/namespace/nsxfeval.c | 86 +- drivers/acpi/namespace/nsxfname.c | 17 drivers/acpi/namespace/nsxfobj.c | 11 drivers/acpi/osl.c | 101 -- drivers/acpi/parser/psargs.c | 7 drivers/acpi/parser/psloop.c | 7 drivers/acpi/parser/psopcode.c | 2 drivers/acpi/parser/psparse.c | 8 drivers/acpi/parser/psscope.c | 1 drivers/acpi/parser/pstree.c | 8 drivers/acpi/parser/psutils.c | 9 drivers/acpi/parser/pswalk.c | 3 drivers/acpi/parser/psxface.c | 2 drivers/acpi/pci_bind.c | 91 +- drivers/acpi/pci_irq.c | 98 +- drivers/acpi/pci_link.c | 217 ++--- drivers/acpi/pci_root.c | 43 - drivers/acpi/power.c | 162 +--- drivers/acpi/processor_core.c | 203 +---- drivers/acpi/processor_idle.c | 96 -- drivers/acpi/processor_perflib.c | 374 +++++++--- drivers/acpi/processor_thermal.c | 53 - drivers/acpi/processor_throttling.c | 50 - drivers/acpi/resources/rscalc.c | 122 +-- drivers/acpi/resources/rscreate.c | 2 drivers/acpi/resources/rsinfo.c | 1 drivers/acpi/resources/rslist.c | 18 drivers/acpi/resources/rsmisc.c | 12 drivers/acpi/resources/rsutils.c | 65 - drivers/acpi/resources/rsxface.c | 31 drivers/acpi/scan.c | 174 +--- drivers/acpi/sleep/wakeup.c | 3 drivers/acpi/system.c | 29 drivers/acpi/tables/tbconvrt.c | 11 drivers/acpi/tables/tbget.c | 11 drivers/acpi/tables/tbgetall.c | 1 drivers/acpi/tables/tbinstal.c | 9 drivers/acpi/tables/tbrsdt.c | 1 drivers/acpi/tables/tbutils.c | 2 drivers/acpi/tables/tbxface.c | 18 drivers/acpi/tables/tbxfroot.c | 33 drivers/acpi/thermal.c | 261 ++---- drivers/acpi/utilities/utalloc.c | 25 drivers/acpi/utilities/utcache.c | 14 drivers/acpi/utilities/utcopy.c | 25 drivers/acpi/utilities/utdebug.c | 27 drivers/acpi/utilities/utdelete.c | 7 drivers/acpi/utilities/uteval.c | 8 drivers/acpi/utilities/utglobal.c | 8 drivers/acpi/utilities/utinit.c | 8 drivers/acpi/utilities/utmisc.c | 39 - drivers/acpi/utilities/utmutex.c | 4 drivers/acpi/utilities/utobject.c | 7 drivers/acpi/utilities/utresrc.c | 4 drivers/acpi/utilities/utstate.c | 2 drivers/acpi/utilities/utxface.c | 24 drivers/acpi/utils.c | 112 +- drivers/acpi/video.c | 338 +++------ drivers/char/hpet.c | 5 drivers/char/sonypi.c | 10 drivers/pci/hotplug/acpi_pcihp.c | 16 drivers/pci/hotplug/acpiphp_dock.c | 4 drivers/pci/hotplug/acpiphp_glue.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 4 drivers/pnp/pnpacpi/rsparser.c | 199 ++--- include/acpi/acconfig.h | 10 include/acpi/acdisasm.h | 24 include/acpi/aclocal.h | 8 include/acpi/acmacros.h | 50 - include/acpi/acnamesp.h | 5 include/acpi/acpiosxf.h | 7 include/acpi/actypes.h | 25 include/acpi/acutils.h | 6 include/acpi/amlresrc.h | 61 - include/acpi/pdc_intel.h | 5 include/acpi/platform/acenv.h | 10 include/acpi/platform/aclinux.h | 29 include/acpi/processor.h | 27 include/asm-i386/apicdef.h | 1 include/asm-x86_64/acpi.h | 2 include/asm-x86_64/apicdef.h | 2 include/linux/cpufreq.h | 4 164 files changed, 3044 insertions(+), 3168 deletions(-)
through these commits:
Adrian Bunk:
[ACPI] drivers/acpi/video.c: fix error path NULL pointer dereference
ACPI: Kconfig: ACPI should depend on, not select PCI
Andi Kleen:
[ACPI] fix "nolapic" flag in ACPI mode
Andrew Morton:
ACPI: UP build fix for bugzilla-5737
Ashok Raj:
ACPI: build fix for u8 cpu_index
ACPI: Allow hot-add of ejected processor
x86_64: Remove stale lapic definition from apicdef.h
Bjorn Helgaas:
PNPACPI: fix non-memory address space descriptor handling
PNPACPI: remove some code duplication
PNPACPI: whitespace cleanup
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port}
ACPI: make acpi_bus_register_driver() return success/failure, not device
count
ACPI: update asus_acpi driver registration to unload on failure
ACPI: fix sonypi ACPI driver registration to unregister on failure
ACPI: simplify scan.c coding
ACPI: fix memory hotplug range length handling
HPET: fix ACPI memory range length handling
ACPI: remove __init/__exit from Asus .add()/.remove() methods
ACPI: Don't print internal BIOS names of wakeup devices
Bob Moore:
[ACPI] ACPICA 20060210
ACPI: ACPICA 20060217
ACPI: ACPICA 20060310Dave Jones:
[ACPI] fix possible acpi thermal leak in failure path
Davi Arnaut:
ACPI: acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled
through suspend-resume
David Shaohua Li:
[ACPI] enable SMP C-states on x86_64
Irwan Djajadi:
[ACPI] drivers/acpi/hotkey.c: check kmalloc return value
Jiri Slaby:
ACPI: EC acpi-ecdt-uid-hack
Len Brown:
ACPI: enable BIOS warning
[ACPI] document cmdline acpi_os_name=
Revert "ACPI: fix vendor resource length computation"
ACPI: inline trivial acpi_os_get_thread_id()
ACPI: delete remaining function tracing macros from drivers/acpi/*.c
ACPI: delete newly added debugging macros in processor_perflib.c
ACPI: disable ACPI_DBG_TRACK_ALLOCATIONS on debug kernel
ACPI: use kfree(), delete acpi_os_free()
ACPI: delete acpi_in_resume workaround
ACPI: use kmalloc() and kzalloc(), delete acpi_os_allocate()
ACPI: repair damage from overzealous bus.c cleanup patch
Patrick Mochel:
ACPI: Remove debugging macros from drivers/acpi/thermal.c
ACPI: Remove debugging macros from drivers/acpi/system.c
ACPI: Remove debugging macros from drivers/acpi/processor_throttling.c
ACPI: Remove debugging macros from drivers/acpi/processor_thermal.c
ACPI: Remove debugging macros from drivers/acpi/processor_perflib.c
ACPI: Remove debugging macros from drivers/acpi/processor_core.c
ACPI: Remove debugging macros from drivers/acpi/processor_idle.c
ACPI: Remove debugging macros from drivers/acpi/ec.c
ACPI: Remove debugging macros from drivers/acpi/pci_link.c
ACPI: Remove debugging macros from drivers/acpi/event.c
ACPI: Remove debugging macros from drivers/acpi/power.c
ACPI: Remove debugging macros from drivers/acpi/pci_root.c
ACPI: Remove debugging macros from drivers/acpi/pci_irq.c
ACPI: Remove debugging macros from drivers/acpi/motherboard.c
ACPI: Remove debugging macros from drivers/acpi/hotkey.c
ACPI: Remove debugging macros from drivers/acpi/pci_bind.c
ACPI: Remove debugging macros from drivers/acpi/fan.c
ACPI: Remove debugging macros from drivers/acpi/container.c
ACPI: Remove debugging macros from drivers/acpi/debug.c
ACPI: Remove debugging macros from drivers/acpi/button.c
ACPI: Remove debugging macros from drivers/acpi/battery.c
ACPI: Remove debugging macros from drivers/acpi/bus.c
ACPI: Remove debugging macros from drivers/acpi/acpi_memhotplug.c
ACPI: Remove debugging macros from drivers/acpi/ac.c
Thomas Renniger:
[ACPI] Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Thomas Renninger:
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros [ACPI] Print error message if remove/install notify handler fails
Venkatesh Pallipadi:
P-state software coordination for ACPI core P-state software coordination for acpi-cpufreq P-state software coordination for speedstep-centrino Enable P-state software coordination via _PDC
with this log:
commit 42e3a90e5deafdbf482820158fc56696137d1730
Merge: cfab935... e4218b8...
Author: Len Brown <[email protected]>
Date: Fri May 12 05:01:20 2006 -0400
Pull kmalloc into test branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
drivers/acpi/osl.c
drivers/acpi/pci_link.c
drivers/acpi/scan.c
drivers/acpi/video.c
include/acpi/acmacros.h
include/acpi/platform/aclinux.h
commit cfab93573f6d0a65752648279d07282cf4dec2f5
Merge: b5689e1... d8c3291...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:25:23 2006 -0400
merge linus into test branch
commit b5689e13f0b0e33acc7a1705c398c1f22a3bd46f
Merge: 7378614... 2637566...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:21:45 2006 -0400
Pull dmesg into test branch
commit 26375665dd6ba2140790889f1761981dbda6efab
Author: Len Brown <[email protected]> Date: Fri May 12 04:19:11 2006 -0400
ACPI: repair damage from overzealous bus.c cleanup patch
commit e4218b8328d570082de636b865d6e874a451644d
Author: Len Brown <[email protected]> Date: Fri May 12 00:47:25 2006 -0400
ACPI: use kmalloc() and kzalloc(), delete acpi_os_allocate()
Also skip acpi_ut_allocate().
In addition to deleting unnecessary code,
this allows CONFIG_DEBUG_SLAB_LEAK to better track kmalloc users.
commit 6e1f1f6ef94d38b78f56ba728491a94de52cda0b
Author: Len Brown <[email protected]> Date: Thu May 11 01:43:04 2006 -0400
ACPI: delete acpi_in_resume workaround
All this workaround does is silence the may_sleep warning. But that can be silenced by using global system states in resume, just they are used during boot.
commit 1b35d6f69aad8780fbe01d0b21497aa2d616f392
Author: Len Brown <[email protected]> Date: Thu May 11 01:37:05 2006 -0400
ACPI: use kfree(), delete acpi_os_free()
acpi_os_free() serves no purpose.
Inside the ACPICA core, ACPI_FREE() is used. Outside the ACPICA core, native kfree() can be used.
commit a2412c16d852826365d2caf7238dea6fb356c3c7
Author: Len Brown <[email protected]> Date: Thu May 11 01:17:16 2006 -0400
ACPI: disable ACPI_DBG_TRACK_ALLOCATIONS on debug kernel
commit 7378614c128b5ae7034899445537d49464ff0db0
Merge: 3f0bd1a... 9011bff...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:30:29 2006 -0400
Pull bugzilla-5737 into test branch
commit 9011bff4bdc0fef1f9a782d7415c306ee61826c9
Author: Len Brown <[email protected]> Date: Thu May 11 00:28:12 2006 -0400
ACPI: delete newly added debugging macros in processor_perflib.c
commit 3f0bd1a08a992106c11b11d4b1230fcfbe919e24
Merge: 5b31856... 5d882e6...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:18:35 2006 -0400
Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/scan.c
drivers/acpi/thermal.c
commit 5b31856b24f2e2874fa3fd2a87f4bcdcccad6b59
Merge: a4250b0... 0e44dc3...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:58:25 2006 -0400
Pull linus into test branch
Conflicts:
arch/i386/kernel/acpi/boot.c
commit a4250b0b64cfde4d1e8e805d62a75125f2e4a611
Merge: 46ae90f... e6f1f3c...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:56:12 2006 -0400
Pull trivial1 into test branch
commit 5d882e684aafea30c508d86d235327d94e1d38ae
Author: Len Brown <[email protected]> Date: Tue May 9 10:55:56 2006 -0400
ACPI: delete remaining function tracing macros from drivers/acpi/*.c
commit 14394600cdfe0c952ce662a32a68c5c5524d32ac
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/ac.c
commit da95181baf3cf6a2bd81c0c8af1d4c6790703e4f
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/acpi_memhotplug.c
commit b128440ed11d108c375772b7fe9ad46d2ac07084
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/bus.c
commit 61ce94e1f8b16b1694475adba9bf2e07fac02020
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/battery.c
commit a48142ea89e02ed0aba0a481ead1e9302e1a4160
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/button.c
commit d5c11d3ba31d6ead24f27de648dc2dcfde5092e3
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/debug.c
commit f6a08bf2cb06ee3d5be749cf20685b677619bc8e
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/container.c
commit 2cb7f1704275905b7548eee299c554bcdc5cf357
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/fan.c
commit 2ce2b16467f0d43d0f8933eb4821b2369b31888c
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_bind.c
commit 8ec0cbd9386a40a3afffad78334f4403b256dc4b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/hotkey.c
commit ba8acc597cff47fcbbd7b9f0d73a59e784852d8b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/motherboard.c
commit 7e9e8344848d80c9b6e1b9eaf32dd498b48ca5bb
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_irq.c
commit d2606159ffdf8e435f6a7714f8e8910672b944d5
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_root.c
commit 8fb1d47b74e2bad912f74783048b433a1e313799
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/power.c
commit f7c0fce6da5cb68b8b0e203df4ff8ef9b3265105
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/event.c
commit 61e295946a248e43cf244cb24097e284d1d00e35
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_link.c
commit a32283362a7a8e7cff608fe25299a59925daea4d
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/ec.c
commit 4cd5611ca16348b3805ddcf89b97fe670e76faaa
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_idle.c
commit 529758bad4b0f9a8eec56fcc5cad342e9680ea36
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_core.c
commit 91afb9e683426ff238aab159e60f6d6e792e7488
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_perflib.c
commit 9f102deee398ea4dfcee3b2108dc00bc59ea877b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_thermal.c
commit e85eb9a47f19a26b636b58106e309f8db6b2415d
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_throttling.c
commit 4597ac50598b85a09417df531849b80ce2e8e44b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/system.c
commit 74951d613e758f9709d6f2173107be68f18f77f4
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/thermal.c
commit e6f1f3c54974a30c65ea0b699809d12f0aa04272
Author: Bjorn Helgaas <[email protected]> Date: Mon Apr 3 13:14:00 2006 -0400
ACPI: Don't print internal BIOS names of wakeup devices
Internal BIOS names like these should be exposed to the user as little as possible:
ACPI wakeup devices: C069 C0CE C1D1 C0DE C1D4
Eventually, the "wakeup" property of a device should be exported via the device tree, not by a printk of an internal BIOS name. For the hard-core, these are still available in /proc/acpi/wakeup_devices, just not printed to dmesg.
commit 46ae90f0b636c22f05d46ea7a10f451f1034d939
Merge: 9d3482d... e4513a5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:18:22 2006 -0500
Pull acpi_bus_register_driver into test branch
Conflicts:
drivers/acpi/asus_acpi.c
commit 9d3482d05b2bc317ef03013626248aff6091065a
Merge: e560d25... 5e15b92... 9224a86... eefa27a... ff2fc3e... 1300124... cd090ee... 1c6e7d0... c12ea91...
Author: Len Brown <[email protected]> Date: Sat Apr 1 23:15:50 2006 -0500
merge acpi_in_resume address-range cpu-hotplug ec Kconfig motherboard
pnpacpi trivial1 into test
commit e560d2547a203cb822d490f4be8ad65b75244b6f
Merge: 7b6efc8... 7e1f19e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:15:08 2006 -0500
merge bugzilla-5737 into test
commit c12ea918ee175ceb3a258cd81f1c43e897d0c0bc
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
x86_64: Remove stale lapic definition from apicdef.h
commit eefa27a93a0490902f33837ac86dbcf344b3aa29
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Allow hot-add of ejected processor
acpi_eject_store() didn't trim processors, causing subsequent hot-add to fail.
commit ff2fc3e9e3edb918b6c6b288485c6cb267bc865e
Author: Jiri Slaby <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: EC acpi-ecdt-uid-hack
On some boxes ecdt uid may be equal to 0, so do not test for uids
equality,
so that fake handler will be unconditionally removed to allow loading the real one.
See http://bugzilla.kernel.org/show_bug.cgi?id=6111
commit df42baa0d8e54df18dd9366dd7c93d6be7d5d063
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: build fix for u8 cpu_index
Local apic entries are only 8 bits, but it seemed to not be caught with u8 return value result in the check
cpu_index >= NR_CPUS becomming always false.
drivers/acpi/processor_core.c: In function `acpi_processor_get_info':
drivers/acpi/processor_core.c:483: warning: comparison is always false due
to limited range of data type
commit 200739c179c63d21804e9e8e2ced265243831579
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: remove __init/__exit from Asus .add()/.remove() methods
Even though the devices claimed by asus_acpi.c can not be hot-plugged, the driver registration infrastructure allows the .add() and .remove() methods
to
be called at any time while the driver is registered. So remove __init
and
__exit from them.
commit 5e15b92d07fb11490c886c5dd7567f523ea43e2d
Author: Davi Arnaut <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled
through suspend-resume
acpi_os_acquire_object() gets called, with IRQs disabled, from:
Debug: sleeping function called from invalid context at mm/slab.c:2499 in_atomic():0, irqs_disabled():1
[<c01462f3>] kmem_cache_alloc+0x40/0x4f [<c0202c85>]
acpi_os_acquire_object+0xb/0x3c
[<c02171b1>] acpi_ut_allocate_object_desc_dbg+0x13/0x49 [<c021704b>]
acpi_ut_create_internal_object_dbg+0xf/0x5e
[<c02136d4>] acpi_rs_set_srs_method_data+0x3d/0xb9 [<c021aa3d>]
acpi_pci_link_set+0x102/0x17b
[<c021aecb>] irqrouter_resume+0x1e/0x3c [<c024d921>]
__sysdev_resume+0x11/0x6b
[<c024dbde>] sysdev_resume+0x34/0x52 [<c0251cb7>]
device_power_up+0x5/0xa
[<c0138787>] suspend_enter+0x44/0x46 [<c01386e5>]
suspend_prepare+0x63/0xc1
[<c0138813>] enter_state+0x5e/0x7c [<c013894c>] state_store+0x81/0x8f
[<c01388cb>] state_store+0x0/0x8f [<c0196a0a>]
subsys_attr_store+0x1e/0x22
[<c0196c12>] flush_write_buffer+0x22/0x28 [<c0196c64>]
sysfs_write_file+0x4c/0x71
[<c0196c18>] sysfs_write_file+0x0/0x71 [<c015b2c9>]
vfs_write+0xa2/0x15a
[<c015b42c>] sys_write+0x41/0x6a [<c0102e75>] syscall_call+0x7/0xb The patch also fixes a missing check for NULL return from acpi_os_acquire_object().
commit 9224a867c497053842dc595e594ca6d32112221f
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
HPET: fix ACPI memory range length handling
ACPI address space descriptors contain _MIN, _MAX, and _LEN. _MIN and_MAX
are the bounds within which the region can be moved (this is clarified in Table 6-38 of the ACPI 3.0 spec). We should use _LEN to determine the
size
of the region, not _MAX - _MIN + 1.
commit 459c7266d7a5c1730169258217e25fdd1b7ca854
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: fix memory hotplug range length handling
Address space descriptors contain _MIN, _MAX, and _LEN. _MIN and _MAX are the bounds within which the region can be moved (this is clarified in
Table
6-38 of the ACPI 3.0 spec). We should use _LEN to determine the size of the region, not _MAX - _MIN + 1.
commit 1a36561607abf1405b56a41aac2fd163429cd1f8
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: simplify scan.c coding
No functional changes; just remove leftover, unused "buffer" and simplify control flow (no need to remember error values and goto the end, when we
can
simply return the value directly).
commit e4513a57ef719d3d6d1cee0ca4d9f4016aa452bb
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: fix sonypi ACPI driver registration to unregister on failure
Remove the assumption that acpi_bus_register_driver() returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).
This also fixes a bug: if sonypi_acpi_driver was registered but found no devices, sonypi_exit() did not unregister it.
commit 578b333bfe8eb1360207a08a53c321822a8f40f3
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: update asus_acpi driver registration to unload on failure
Remove the assumption that acpi_bus_register_driver() returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).
Since the hardware for this driver is not hot-pluggable, determine whether
the
hardware is present by noticing calls to the .add() method. It would be better to probe the ACPI namespace for the ASUS HIDs, and load the driver
only
when we find one, but ACPI doesn't support that yet.
I don't have an ASUS laptop to test on, but on my HP dl360, it does report
the
appropriate error when attempting to load the module:
$ sudo insmod drivers/acpi/asus_acpi.ko
insmod: error inserting 'drivers/acpi/asus_acpi.ko': -1 No such device
commit 9d9f749b316ac21cb59ad3e595cbce469b409e1a
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: make acpi_bus_register_driver() return success/failure, not device
count
acpi_bus_register_driver() should not return the number of devices
claimed.
We're not asking to find devices, we're making a driver available to
devices,
including hot-pluggable devices that may appear in the future.
I audited all callers of acpi_bus_register_driver(), and exceptasus_acpi.c
and sonypi.c (fixed in previous patches), all either ignore the return
value
or test only for failure (<0).
commit cd090eedd85256829f762677d0752a846c1b88b9
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port}
Add "ACPI" to motherboard resource allocation names, so people have a clue
about where to look. And remove some trailing spaces.
Changes these /proc/iomem entries from this:
ff5c1004-ff5c1007 : PM_TMR
ff5c1008-ff5c100b : PM1a_EVT_BLK
ff5c100c-ff5c100d : PM1a_CNT_BLK
ff5c1010-ff5c1013 : GPE0_BLK
ff5c1014-ff5c1017 : GPE1_BLK
to this:
ff5c1004-ff5c1007 : ACPI PM_TMR
ff5c1008-ff5c100b : ACPI PM1a_EVT_BLK
ff5c100c-ff5c100d : ACPI PM1a_CNT_BLK
ff5c1010-ff5c1013 : ACPI GPE0_BLK
ff5c1014-ff5c1017 : ACPI GPE1_BLK
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>commit 81507ea9cfa64e9851b53e0fefebfa776eda9ecb
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI supports fixed hardware (PM_TMR, GPE blocks, etc) in either I/O port or MMIO space, but used to always request the regions from I/O space because it didn't check the address_space_id.
Sample ACPI fixed hardware in MMIO space (HP rx2600), was incorrectly reported in /proc/ioports, now reported in /proc/iomem:
ff5c1004-ff5c1007 : PM_TMR
ff5c1008-ff5c100b : PM1a_EVT_BLK
ff5c100c-ff5c100d : PM1a_CNT_BLK
ff5c1010-ff5c1013 : GPE0_BLK
ff5c1014-ff5c1017 : GPE1_BLK
commit 1c6e7d0aeecac38e66b1bb63e3eff07b2a1c2f2c
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
PNPACPI: whitespace cleanup
Tidy up whitespace. No functional change.
commit b5f2490b6e3317059e87ba40d4f659d1c30afc1f
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
PNPACPI: remove some code duplication
Factor out the duplicated switch from pnpacpi_count_resources() and pnpacpi_type_resources(). Remove the unnecessary re-initialization of resource->type and length from all the encode functions (id and length are originally set in the pnpacpi_build_resource_template() -> pnpacpi_type_resources() path).
commit 1acfb7f2b0d460ee86bdb25ad0679070ec8a5f0d
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500
PNPACPI: fix non-memory address space descriptor handling
Fix resource_type handling for QWORD, DWORD, and WORD Address Space Descriptors. Previously we ignored the resource_type, so I/O ports and
bus
number ranges were incorrectly parsed as memory ranges.
Sample PCI root bridge resources from HP rx2600 before this patch:
# cat /sys/bus/pnp/devices/00:02/resources
state = active
mem 0x0-0x1f
mem 0x0-0x3af
mem 0x3e0-0x1fff
mem 0x80000000-0x8fffffff
With this patch:
# cat /sys/bus/pnp/devices/00:02/resources
state = active
io 0x0-0x3af
io 0x3e0-0x1fff
mem 0x80000000-0x8fffffff
mem 0x80004000000-0x80103fffffe
Changes:
0x0-0x1f PCI bus number range was incorrectly reported as memory, now
not reported at all
0x0-0x3af I/O port range was incorrectly reported as memory
0x3e0-0x1fff I/O port range was incorrectly reported as memory
0x80004000000-0x80103fffffe memory range wasn't reported at all because
we only support PNP_MAX_MEM (4) memory resources
commit 7e1f19e50371e1d148226b64c8edc77fec47fa5b
Author: Andrew Morton <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500
ACPI: UP build fix for bugzilla-5737
cpu_online_map doesn't exist if !CONFIG_SMP.
commit 1300124f69cafc54331bc06e968a8dd67863f989
Author: Adrian Bunk <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Kconfig: ACPI should depend on, not select PCI
Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are possible.
This patch also fixes the options select'ing ACPI to also select PCI.
commit 7b6efc8b701de5de4ec11d13fcee05b2ac3c1550
Merge: 7bddf82... 683aa40...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 20:54:11 2006 -0500
merge linus into test branch
commit 7bddf826d950dee0e0b3400cc45f6786ed4e5e75
Merge: 2ac9a40... f9ea7fd...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:30:10 2006 -0500
Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/video.c
commit 2ac9a40c2d27754eab5f24a7b24a9dc144ce10d3
Merge: 2d50670... 9cfda2c... 0eacee5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:55 2006 -0500
Pull novell-bugzilla-156426 bugzilla-5452 into test branch
commit 2d50670edd7b34cfbef2683ff6fbe8103d4c2d31
Merge: ab87bbd... 6665bda...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:32 2006 -0500
Pull trivial into test branch
commit ab87bbd9264362ec955414cc7b617cf088a5d978
Merge: 1900d67... ec7381d...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:24:29 2006 -0500
Pull acpica into test branch
commit 1900d6702264e1193873bf849f20fe130e71d60b
Merge: 7d2c215... ffd642e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:23:50 2006 -0500
Pull bugzilla-5653 into test branch
Conflicts:
arch/x86_64/kernel/acpi/processor.c
commit 7d2c215b6bcf746b940224bde9f0c7b64048b1b1
Merge: a0f0678... d52bb94...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:22:23 2006 -0500
Pull bugzilla-5737 into test branch
commit ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6
Author: Len Brown <[email protected]> Date: Sat Apr 1 05:12:23 2006 -0500
ACPI: inline trivial acpi_os_get_thread_id()
acpi_os_get_thread_id() is used only for debugging code that is not enabled on Linux, so stub it out.
commit 8313524a0d466f451a62709aaedf988d8257b21c
Author: Bob Moore <[email protected]> Date: Tue Oct 3 00:00:00 2006 -0400
ACPI: ACPICA 20060310
Tagged all external interfaces to the subsystem with the new ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL macro. The default definition is NULL.
Added the ACPI_THREAD_ID type for the return value from acpi_os_get_thread_id(). This allows the host to define this as necessary to simplify kernel integration. The default definition is ACPI_NATIVE_UINT.
Valery Podrezov fixed two interpreter problems related to error processing, the deletion of objects, and placing invalid pointers onto the internal operator result stack.
http://bugzilla.kernel.org/show_bug.cgi?id=6028
http://bugzilla.kernel.org/show_bug.cgi?id=6151
Increased the reference count threshold where a warning is emitted for large reference counts in order to eliminate unnecessary warnings on systems with large namespaces (especially 64-bit.) Increased the value from 0x400 to 0x800.
Due to universal disagreement as to the meaning of the 'c' in the calloc() function, the ACPI_MEM_CALLOCATE macro has been renamed to ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
commit ea936b78f46cbe089a4ac363e1682dee7d427096
Author: Bob Moore <[email protected]> Date: Fri Feb 17 00:00:00 2006 -0500
ACPI: ACPICA 20060217
Implemented a change to the IndexField support to match the behavior of the Microsoft AML interpreter. The value written to the Index register is now a byte offset, no longer an index based upon the width of the Data register. This should fix IndexField problems seen on some machines where the Data register is not exactly one byte wide. The ACPI specification will be clarified on this point.
Fixed a problem where several resource descriptor types could overrun the internal descriptor buffer due to size miscalculation: VendorShort, VendorLong, and Interrupt. This was noticed on IA64 machines, but could affect all platforms.
Fixed a problem where individual resource descriptors were misaligned within the internal buffer, causing alignment faults on IA64 platforms.
commit 52fc0b026e99b5d5d585095148d997d5634bbc25
Author: Bob Moore <[email protected]> Date: Mon Oct 2 00:00:00 2006 -0400
[ACPI] ACPICA 20060210
Removed a couple of extraneous ACPI_ERROR messages that appeared during normal execution. These became apparent after the conversion from ACPI_DEBUG_PRINT.
Fixed a problem where the CreateField operator could hang if the BitIndex or NumBits parameter referred to a named object. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5359
Fixed a problem where a DeRefOf operation on a buffer object incorrectly failed with an exception. This also fixes a couple of related RefOf and DeRefOf issues. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5360
http://bugzilla.kernel.org/show_bug.cgi?id=5387
http://bugzilla.kernel.org/show_bug.cgi?id=5392
Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of AE_STRING_LIMIT on an out-of-bounds Index() operation. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5480
Implemented a memory cleanup at the end of the execution of each iteration of an AML While() loop, preventing the accumulation of outstanding objects. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5427
Eliminated a chunk of duplicate code in the object resolution code. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5336
Fixed several warnings during the 64-bit code generation.
commit 46358614ed5b031797522f1020e989c959a8d8a6
Author: Len Brown <[email protected]> Date: Fri Mar 31 02:16:19 2006 -0500
Revert "[PATCH] ACPI: fix vendor resource length computation"
fixed in a different way by a subsequent ACPICA patch
This reverts 35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e commit.
commit 6665bda76461308868bd1e52caf627f4cb29ed32
Author: Adrian Bunk <[email protected]> Date: Sat Mar 11 10:12:00 2006 -0500
[ACPI] drivers/acpi/video.c: fix error path NULL pointer dereference
The Coverity checker spotted this bug in
acpi_video_device_lcd_query_levels().
commit fdc136ccd3332938e989439c025c363f8479f3e6
Author: Dave Jones <[email protected]> Date: Wed Mar 8 22:12:00 2006 -0500
[ACPI] fix possible acpi thermal leak in failure path
Coverity: #601
commit a1f9e65e2085e0a87f28a4d5a8ae43b32c087f24
Author: Len Brown <[email protected]> Date: Wed Jan 25 23:47:36 2006 -0500
[ACPI] document cmdline acpi_os_name=
This can sometimes be used to work around broken BIOS. Use "Microsoft Windows" to take the same path through the BIOS as Windows98 would.
The default is "Microsoft Windows NT", which is what NT and later versions of Windows use, and is the most tested path through most BIOS.
Set it to anything else, including "Linux", at your own risk, as it seems that virtually no BIOS has been tested with anything but the two options above.
Note that this uses the legacy _OS interface, so we don't expect this to ever change.
commit 1fee94034917aa711fcbd4ebf4c36f7ebd9fa7d6
Author: Irwan Djajadi <[email protected]> Date: Fri Jan 20 15:28:00 2006 -0500
[ACPI] drivers/acpi/hotkey.c: check kmalloc return value
commit 0eacee585a89ce5827b572a73a024931506bef48
Author: Len Brown <[email protected]> Date: Fri Mar 31 00:37:23 2006 -0500
ACPI: enable BIOS warning
http://bugzilla.kernel.org/show_bug.cgi?id=5452
commit 9cfda2c94df61c9f859b474abe774c65a4464d0a
Author: Andi Kleen <[email protected]> Date: Mon Mar 27 02:24:32 2006 -0500
[ACPI] fix "nolapic" flag in ACPI mode
commit d52bb94d56676acd9bdac8e097257a87b4b1b2e1
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
Enable P-state software coordination via _PDC
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit c52851b60cc0aaaf974ff0e49989fb698220447d
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for speedstep-centrino
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit 09b4d1ee881c8593bfad2a42f838d85070365c3e
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for acpi-cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit 3b2d99429e3386b6e2ac949fc72486509c8bbe36
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for ACPI core
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit ffd642e748c867a7339b57225b8bf8b9a0dcd9c5
Author: David Shaohua Li <[email protected]> Date: Wed Feb 8 17:35:00 2006 -0500
[ACPI] enable SMP C-states on x86_64
http://bugzilla.kernel.org/show_bug.cgi?id=5653
commit f9ea7fd8be9827791f407ca1191ff70ec25eb2d9
Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Print error message if remove/install notify handler fails
commit b60e49b2383db0334bef1f0d9cdad9bec2336050
Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros
commit 1ca218d3bd6acca0922a349cb76e3244d27ebfba
Author: Thomas Renniger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Hi,
I am little out of this but if I may ask
And about this patch:
http://article.gmane.org/gmane.linux.acpi.devel/17581/match=suppress+power+button
and the others 15, what is the status ?
Quoted 1,425 lines · Len Brown
Folks,
The latest ACPI patch is against 2.6.17-rc4 and is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.gittest ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/acpi-test-20060310-2.6.17-rc4.diff.gzNote that I removed the
acpi_in_resumeworkaround, so you'll get some oops'
during resume, until we replace it with something else.Note that the kmalloc patches allow
CONFIG_DEBUG_SLAB_LEAKSto put more useful entries in/proc/slab_allocatorsfor acpi.cheers,
-LenDocumentation/kernel-parameters.txt | 3 arch/i386/kernel/acpi/boot.c | 5 arch/i386/kernel/acpi/processor.c | 2 arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 289 +++++-- arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 250 ++++-- arch/ia64/Kconfig | 1 arch/x86_64/Kconfig | 1 arch/x86_64/kernel/acpi/Makefile | 1 arch/x86_64/kernel/acpi/processor.c | 74 - drivers/acpi/Kconfig | 3 drivers/acpi/ac.c | 72 - drivers/acpi/acpi_memhotplug.c | 179 +--- drivers/acpi/asus_acpi.c | 34 drivers/acpi/battery.c | 145 +-- drivers/acpi/bus.c | 140 +-- drivers/acpi/button.c | 82 -- drivers/acpi/container.c | 42 - drivers/acpi/debug.c | 21 drivers/acpi/dispatcher/dsfield.c | 1 drivers/acpi/dispatcher/dsmethod.c | 5 drivers/acpi/dispatcher/dsmthdat.c | 3 drivers/acpi/dispatcher/dsobject.c | 15 drivers/acpi/dispatcher/dsopcode.c | 4 drivers/acpi/dispatcher/dsutils.c | 9 drivers/acpi/dispatcher/dswexec.c | 3 drivers/acpi/dispatcher/dswload.c | 10 drivers/acpi/dispatcher/dswscope.c | 2 drivers/acpi/dispatcher/dswstate.c | 13 drivers/acpi/ec.c | 198 +---- drivers/acpi/event.c | 21 drivers/acpi/events/evevent.c | 2 drivers/acpi/events/evgpe.c | 5 drivers/acpi/events/evgpeblk.c | 52 - drivers/acpi/events/evmisc.c | 6 drivers/acpi/events/evregion.c | 12 drivers/acpi/events/evrgnini.c | 14 drivers/acpi/events/evxface.c | 82 +- drivers/acpi/events/evxfevnt.c | 41 - drivers/acpi/events/evxfregn.c | 9 drivers/acpi/executer/exconfig.c | 9 drivers/acpi/executer/exconvrt.c | 2 drivers/acpi/executer/exdump.c | 4 drivers/acpi/executer/exfield.c | 6 drivers/acpi/executer/exfldio.c | 5 drivers/acpi/executer/exmisc.c | 1 drivers/acpi/executer/exmutex.c | 3 drivers/acpi/executer/exnames.c | 10 drivers/acpi/executer/exoparg1.c | 61 + drivers/acpi/executer/exoparg2.c | 81 +- drivers/acpi/executer/exoparg3.c | 11 drivers/acpi/executer/exoparg6.c | 1 drivers/acpi/executer/exprep.c | 17 drivers/acpi/executer/exregion.c | 11 drivers/acpi/executer/exresnte.c | 5 drivers/acpi/executer/exresolv.c | 43 - drivers/acpi/executer/exresop.c | 4 drivers/acpi/executer/exstore.c | 2 drivers/acpi/executer/exstoren.c | 3 drivers/acpi/executer/exstorob.c | 11 drivers/acpi/executer/exsystem.c | 2 drivers/acpi/executer/exutils.c | 3 drivers/acpi/fan.c | 60 - drivers/acpi/glue.c | 8 drivers/acpi/hardware/hwgpe.c | 2 drivers/acpi/hardware/hwregs.c | 12 drivers/acpi/hardware/hwsleep.c | 19 drivers/acpi/hardware/hwtimer.c | 10 drivers/acpi/hotkey.c | 157 +--- drivers/acpi/motherboard.c | 69 - drivers/acpi/namespace/nsaccess.c | 26 drivers/acpi/namespace/nsalloc.c | 14 drivers/acpi/namespace/nsdump.c | 4 drivers/acpi/namespace/nsdumpdv.c | 2 drivers/acpi/namespace/nseval.c | 5 drivers/acpi/namespace/nsinit.c | 7 drivers/acpi/namespace/nsload.c | 3 drivers/acpi/namespace/nsnames.c | 10 drivers/acpi/namespace/nsobject.c | 3 drivers/acpi/namespace/nsparse.c | 2 drivers/acpi/namespace/nssearch.c | 5 drivers/acpi/namespace/nsutils.c | 23 drivers/acpi/namespace/nswalk.c | 4 drivers/acpi/namespace/nsxfeval.c | 86 +- drivers/acpi/namespace/nsxfname.c | 17 drivers/acpi/namespace/nsxfobj.c | 11 drivers/acpi/osl.c | 101 -- drivers/acpi/parser/psargs.c | 7 drivers/acpi/parser/psloop.c | 7 drivers/acpi/parser/psopcode.c | 2 drivers/acpi/parser/psparse.c | 8 drivers/acpi/parser/psscope.c | 1 drivers/acpi/parser/pstree.c | 8 drivers/acpi/parser/psutils.c | 9 drivers/acpi/parser/pswalk.c | 3 drivers/acpi/parser/psxface.c | 2 drivers/acpi/pci_bind.c | 91 +- drivers/acpi/pci_irq.c | 98 +- drivers/acpi/pci_link.c | 217 ++--- drivers/acpi/pci_root.c | 43 - drivers/acpi/power.c | 162 +--- drivers/acpi/processor_core.c | 203 +---- drivers/acpi/processor_idle.c | 96 -- drivers/acpi/processor_perflib.c | 374 +++++++--- drivers/acpi/processor_thermal.c | 53 - drivers/acpi/processor_throttling.c | 50 - drivers/acpi/resources/rscalc.c | 122 +-- drivers/acpi/resources/rscreate.c | 2 drivers/acpi/resources/rsinfo.c | 1 drivers/acpi/resources/rslist.c | 18 drivers/acpi/resources/rsmisc.c | 12 drivers/acpi/resources/rsutils.c | 65 - drivers/acpi/resources/rsxface.c | 31 drivers/acpi/scan.c | 174 +--- drivers/acpi/sleep/wakeup.c | 3 drivers/acpi/system.c | 29 drivers/acpi/tables/tbconvrt.c | 11 drivers/acpi/tables/tbget.c | 11 drivers/acpi/tables/tbgetall.c | 1 drivers/acpi/tables/tbinstal.c | 9 drivers/acpi/tables/tbrsdt.c | 1 drivers/acpi/tables/tbutils.c | 2 drivers/acpi/tables/tbxface.c | 18 drivers/acpi/tables/tbxfroot.c | 33 drivers/acpi/thermal.c | 261 ++---- drivers/acpi/utilities/utalloc.c | 25 drivers/acpi/utilities/utcache.c | 14 drivers/acpi/utilities/utcopy.c | 25 drivers/acpi/utilities/utdebug.c | 27 drivers/acpi/utilities/utdelete.c | 7 drivers/acpi/utilities/uteval.c | 8 drivers/acpi/utilities/utglobal.c | 8 drivers/acpi/utilities/utinit.c | 8 drivers/acpi/utilities/utmisc.c | 39 - drivers/acpi/utilities/utmutex.c | 4 drivers/acpi/utilities/utobject.c | 7 drivers/acpi/utilities/utresrc.c | 4 drivers/acpi/utilities/utstate.c | 2 drivers/acpi/utilities/utxface.c | 24 drivers/acpi/utils.c | 112 +- drivers/acpi/video.c | 338 +++------ drivers/char/hpet.c | 5 drivers/char/sonypi.c | 10 drivers/pci/hotplug/acpi_pcihp.c | 16 drivers/pci/hotplug/acpiphp_dock.c | 4 drivers/pci/hotplug/acpiphp_glue.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 4 drivers/pnp/pnpacpi/rsparser.c | 199 ++--- include/acpi/acconfig.h | 10 include/acpi/acdisasm.h | 24 include/acpi/aclocal.h | 8 include/acpi/acmacros.h | 50 - include/acpi/acnamesp.h | 5 include/acpi/acpiosxf.h | 7 include/acpi/actypes.h | 25 include/acpi/acutils.h | 6 include/acpi/amlresrc.h | 61 - include/acpi/pdc_intel.h | 5 include/acpi/platform/acenv.h | 10 include/acpi/platform/aclinux.h | 29 include/acpi/processor.h | 27 include/asm-i386/apicdef.h | 1 include/asm-x86_64/acpi.h | 2 include/asm-x86_64/apicdef.h | 2 include/linux/cpufreq.h | 4 164 files changed, 3044 insertions(+), 3168 deletions(-)through these commits:
Adrian Bunk:
[ACPI]drivers/acpi/video.c: fix error path NULL pointer dereference
ACPI:Kconfig: ACPI should depend on, not select PCIAndi Kleen:
[ACPI] fix "nolapic" flag in ACPI modeAndrew Morton:
ACPI: UP build fix for bugzilla-5737Ashok Raj:
ACPI: build fix for u8cpu_index
ACPI: Allow hot-add of ejected processor
x86_64: Remove stale lapic definition fromapicdef.hBjorn Helgaas:
PNPACPI: fix non-memory address space descriptor handling
PNPACPI: remove some code duplication
PNPACPI: whitespace cleanup
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI: Display "ACPI" to motherboard resources in/proc/io{mem,port}
ACPI: makeacpi_bus_register_driver()return success/failure, not device
count
ACPI: updateasus_acpidriver registration to unload on failure
ACPI: fix sonypi ACPI driver registration to unregister on failure
ACPI: simplifyscan.ccoding
ACPI: fix memory hotplug range length handling
HPET: fix ACPI memory range length handling
ACPI: remove __init/__exit from Asus .add()/.remove() methods
ACPI: Don't print internal BIOS names of wakeup devicesBob Moore:
[ACPI] ACPICA 20060210 ACPI: ACPICA 20060217 ACPI: ACPICA 20060310Dave Jones:
[ACPI] fix possible acpi thermal leak in failure pathDavi Arnaut:
ACPI:acpi_os_acquire_object(GFP_KERNEL) called with IRQs disabled
through suspend-resumeDavid Shaohua Li:
[ACPI] enable SMP C-states onx86_64Irwan Djajadi:
[ACPI]drivers/acpi/hotkey.c: check kmalloc return valueJiri Slaby:
ACPI: EC acpi-ecdt-uid-hackLen Brown:
ACPI: enable BIOS warning
[ACPI] document cmdline acpi_os_name=
Revert "ACPI: fix vendor resource length computation"
ACPI: inline trivialacpi_os_get_thread_id()
ACPI: delete remaining function tracing macros fromdrivers/acpi/*.c
ACPI: delete newly added debugging macros inprocessor_perflib.c
ACPI: disableACPI_DBG_TRACK_ALLOCATIONSon debug kernel
ACPI: usekfree(), deleteacpi_os_free()
ACPI: deleteacpi_in_resumeworkaround
ACPI: usekmalloc()andkzalloc(), deleteacpi_os_allocate()
ACPI: repair damage from overzealousbus.ccleanup patchPatrick Mochel:
ACPI: Remove debugging macros fromdrivers/acpi/thermal.c
ACPI: Remove debugging macros fromdrivers/acpi/system.c
ACPI: Remove debugging macros fromdrivers/acpi/processor_throttling.c
ACPI: Remove debugging macros fromdrivers/acpi/processor_thermal.c
ACPI: Remove debugging macros fromdrivers/acpi/processor_perflib.c
ACPI: Remove debugging macros fromdrivers/acpi/processor_core.c
ACPI: Remove debugging macros fromdrivers/acpi/processor_idle.c
ACPI: Remove debugging macros fromdrivers/acpi/ec.c
ACPI: Remove debugging macros fromdrivers/acpi/pci_link.c
ACPI: Remove debugging macros fromdrivers/acpi/event.c
ACPI: Remove debugging macros fromdrivers/acpi/power.c
ACPI: Remove debugging macros fromdrivers/acpi/pci_root.c
ACPI: Remove debugging macros fromdrivers/acpi/pci_irq.c
ACPI: Remove debugging macros fromdrivers/acpi/motherboard.c
ACPI: Remove debugging macros fromdrivers/acpi/hotkey.c
ACPI: Remove debugging macros fromdrivers/acpi/pci_bind.c
ACPI: Remove debugging macros fromdrivers/acpi/fan.c
ACPI: Remove debugging macros fromdrivers/acpi/container.c
ACPI: Remove debugging macros fromdrivers/acpi/debug.c
ACPI: Remove debugging macros fromdrivers/acpi/button.c
ACPI: Remove debugging macros fromdrivers/acpi/battery.c
ACPI: Remove debugging macros fromdrivers/acpi/bus.c
ACPI: Remove debugging macros fromdrivers/acpi/acpi_memhotplug.c
ACPI: Remove debugging macros fromdrivers/acpi/ac.cThomas Renniger:
[ACPI] Enable ACPI error messages w/oCONFIG_ACPI_DEBUGThomas Renninger:
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros [ACPI] Print error message if remove/install notify handler failsVenkatesh Pallipadi:
P-state software coordination for ACPI core P-state software coordination for acpi-cpufreq P-state software coordination for speedstep-centrino Enable P-state software coordination via_PDCwith this log:
commit
42e3a90e5deafdbf482820158fc56696137d1730
Merge: cfab935... e4218b8...
Author: Len Brown <[email protected]>
Date: Fri May 12 05:01:20 2006 -0400Pull kmalloc into test branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
drivers/acpi/osl.c
drivers/acpi/pci_link.c
drivers/acpi/scan.c
drivers/acpi/video.c
include/acpi/acmacros.h
include/acpi/platform/aclinux.hSigned-off-by Len Brown <[email protected]>commit
cfab93573f6d0a65752648279d07282cf4dec2f5
Merge: b5689e1... d8c3291...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:25:23 2006 -0400merge linus into test branch
commit
b5689e13f0b0e33acc7a1705c398c1f22a3bd46f
Merge: 7378614... 2637566...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:21:45 2006 -0400Pull dmesg into test branch
commit
26375665dd6ba2140790889f1761981dbda6efabAuthor: Len Brown <[email protected]> Date: Fri May 12 04:19:11 2006 -0400ACPI: repair damage from overzealous
bus.ccleanup patchSigned-off-by Len Brown <[email protected]>commit
e4218b8328d570082de636b865d6e874a451644dAuthor: Len Brown <[email protected]> Date: Fri May 12 00:47:25 2006 -0400ACPI: use
kmalloc()andkzalloc(), deleteacpi_os_allocate()Also skip
acpi_ut_allocate().In addition to deleting unnecessary code,
this allowsCONFIG_DEBUG_SLAB_LEAKto better track kmalloc users.Signed-off-by Len Brown <[email protected]>commit
6e1f1f6ef94d38b78f56ba728491a94de52cda0bAuthor: Len Brown <[email protected]> Date: Thu May 11 01:43:04 2006 -0400ACPI: delete
acpi_in_resumeworkaroundAll this workaround does is silence the
may_sleepwarning. But that can be silenced by using global system states in resume, just they are used during boot.Signed-off-by Len Brown <[email protected]>commit
1b35d6f69aad8780fbe01d0b21497aa2d616f392Author: Len Brown <[email protected]> Date: Thu May 11 01:37:05 2006 -0400ACPI: use
kfree(), deleteacpi_os_free()
acpi_os_free()serves no purpose.
Inside the ACPICA core,ACPI_FREE()is used. Outside the ACPICA core, nativekfree()can be used.Signed-off-by Len Brown <[email protected]>commit
a2412c16d852826365d2caf7238dea6fb356c3c7Author: Len Brown <[email protected]> Date: Thu May 11 01:17:16 2006 -0400ACPI: disable
ACPI_DBG_TRACK_ALLOCATIONSon debug kernelSigned-off-by Len Brown <[email protected]>commit
7378614c128b5ae7034899445537d49464ff0db0
Merge: 3f0bd1a... 9011bff...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:30:29 2006 -0400Pull bugzilla-5737 into test branch
commit
9011bff4bdc0fef1f9a782d7415c306ee61826c9Author: Len Brown <[email protected]> Date: Thu May 11 00:28:12 2006 -0400ACPI: delete newly added debugging macros in
processor_perflib.cSigned-off-by Len Brown <[email protected]>commit
3f0bd1a08a992106c11b11d4b1230fcfbe919e24
Merge: 5b31856... 5d882e6...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:18:35 2006 -0400Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/scan.c
drivers/acpi/thermal.ccommit
5b31856b24f2e2874fa3fd2a87f4bcdcccad6b59
Merge: a4250b0... 0e44dc3...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:58:25 2006 -0400Pull linus into test branch
Conflicts:
arch/i386/kernel/acpi/boot.ccommit
a4250b0b64cfde4d1e8e805d62a75125f2e4a611
Merge: 46ae90f... e6f1f3c...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:56:12 2006 -0400Pull trivial1 into test branch
commit
5d882e684aafea30c508d86d235327d94e1d38aeAuthor: Len Brown <[email protected]> Date: Tue May 9 10:55:56 2006 -0400ACPI: delete remaining function tracing macros from
drivers/acpi/*.cSigned-off-by Len Brown <[email protected]>commit
14394600cdfe0c952ce662a32a68c5c5524d32acAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/ac.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
da95181baf3cf6a2bd81c0c8af1d4c6790703e4fAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/acpi_memhotplug.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
b128440ed11d108c375772b7fe9ad46d2ac07084Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/bus.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
61ce94e1f8b16b1694475adba9bf2e07fac02020Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/battery.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
a48142ea89e02ed0aba0a481ead1e9302e1a4160Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/button.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
d5c11d3ba31d6ead24f27de648dc2dcfde5092e3Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/debug.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
f6a08bf2cb06ee3d5be749cf20685b677619bc8eAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/container.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
2cb7f1704275905b7548eee299c554bcdc5cf357Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/fan.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
2ce2b16467f0d43d0f8933eb4821b2369b31888cAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/pci_bind.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
8ec0cbd9386a40a3afffad78334f4403b256dc4bAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/hotkey.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
ba8acc597cff47fcbbd7b9f0d73a59e784852d8bAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/motherboard.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
7e9e8344848d80c9b6e1b9eaf32dd498b48ca5bbAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/pci_irq.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
d2606159ffdf8e435f6a7714f8e8910672b944d5Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/pci_root.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
8fb1d47b74e2bad912f74783048b433a1e313799Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/power.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
f7c0fce6da5cb68b8b0e203df4ff8ef9b3265105Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/event.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
61e295946a248e43cf244cb24097e284d1d00e35Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/pci_link.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
a32283362a7a8e7cff608fe25299a59925daea4dAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/ec.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
4cd5611ca16348b3805ddcf89b97fe670e76faaaAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/processor_idle.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
529758bad4b0f9a8eec56fcc5cad342e9680ea36Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/processor_core.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
91afb9e683426ff238aab159e60f6d6e792e7488Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/processor_perflib.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
9f102deee398ea4dfcee3b2108dc00bc59ea877bAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/processor_thermal.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
e85eb9a47f19a26b636b58106e309f8db6b2415dAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/processor_throttling.cSigned-off-by Len Brown <[email protected]>commit
4597ac50598b85a09417df531849b80ce2e8e44bAuthor: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/system.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
74951d613e758f9709d6f2173107be68f18f77f4Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400ACPI: Remove debugging macros from
drivers/acpi/thermal.cSigned-off-by Patrick Mochel <[email protected]>Signed-off-by Len Brown <[email protected]>commit
e6f1f3c54974a30c65ea0b699809d12f0aa04272Author: Bjorn Helgaas <[email protected]> Date: Mon Apr 3 13:14:00 2006 -0400ACPI: Don't print internal BIOS names of wakeup devices
Internal BIOS names like these should be exposed to the user as little as possible:
ACPI wakeup devices: C069 C0CE C1D1 C0DE C1D4
Eventually, the "wakeup" property of a device should be exported via the device tree, not by a printk of an internal BIOS name. For the hard-core, these are still available in
/proc/acpi/wakeup_devices, just not printed to dmesg.Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Len Brown <[email protected]>commit
46ae90f0b636c22f05d46ea7a10f451f1034d939
Merge: 9d3482d... e4513a5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:18:22 2006 -0500Pull
acpi_bus_register_driverinto test branchConflicts:
drivers/acpi/asus_acpi.ccommit
9d3482d05b2bc317ef03013626248aff6091065a
Merge: e560d25... 5e15b92... 9224a86... eefa27a... ff2fc3e... 1300124... cd090ee... 1c6e7d0... c12ea91...Author: Len Brown <[email protected]> Date: Sat Apr 1 23:15:50 2006 -0500merge
acpi_in_resumeaddress-range cpu-hotplug ecKconfigmotherboard
pnpacpi trivial1 into testcommit
e560d2547a203cb822d490f4be8ad65b75244b6f
Merge: 7b6efc8... 7e1f19e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:15:08 2006 -0500merge bugzilla-5737 into test
commit
c12ea918ee175ceb3a258cd81f1c43e897d0c0bcAuthor: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
x86_64: Remove stale lapic definition fromapicdef.hSigned-off-by Ashok Raj <[email protected]>Cc Andi Kleen <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
eefa27a93a0490902f33837ac86dbcf344b3aa29Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: Allow hot-add of ejected processor
acpi_eject_store()didn't trim processors, causing subsequent hot-add to fail.Signed-off-by Ashok Raj <[email protected]>Cc Andi Kleen <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
ff2fc3e9e3edb918b6c6b288485c6cb267bc865eAuthor: Jiri Slaby <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: EC acpi-ecdt-uid-hack
On some boxes ecdt uid may be equal to 0, so do not test for uids
equality,
so that fake handler will be unconditionally removed to allow loading the real one.See http://bugzilla.kernel.org/show_bug.cgi?id=6111
Signed-off-by Jiri Slaby <[email protected]>Cc Luming Yu <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
df42baa0d8e54df18dd9366dd7c93d6be7d5d063Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: build fix for u8
cpu_indexLocal apic entries are only 8 bits, but it seemed to not be caught with u8 return value result in the check
cpu_index>=NR_CPUSbecomming always false.
drivers/acpi/processor_core.c: In function `acpi_processor_get_info':
drivers/acpi/processor_core.c:483: warning: comparison is always false due
to limited range of data typeSigned-off-by Ashok Raj <[email protected]>Cc Dave Jones <[email protected]>Cc Kenji Kaneshige <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
200739c179c63d21804e9e8e2ced265243831579Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: remove __init/__exit from Asus .add()/.remove() methods
Even though the devices claimed by
asus_acpi.ccan not be hot-plugged, the driver registration infrastructure allows the .add() and .remove() methods
to
be called at any time while the driver is registered. So remove__init
and
__exitfrom them.Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
5e15b92d07fb11490c886c5dd7567f523ea43e2dAuthor: Davi Arnaut <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI:
acpi_os_acquire_object(GFP_KERNEL) called with IRQs disabled
through suspend-resume
acpi_os_acquire_object()gets called, with IRQs disabled, from:Debug: sleeping function called from invalid context at
mm/slab.c:2499in_atomic():0, irqs_disabled():1
[<c01462f3>]kmem_cache_alloc+0x40/0x4f[<c0202c85>]acpi_os_acquire_object+0xb/0x3c [<c02171b1>] acpi_ut_allocate_object_desc_dbg+0x13/0x49 [<c021704b>] acpi_ut_create_internal_object_dbg+0xf/0x5e [<c02136d4>] acpi_rs_set_srs_method_data+0x3d/0xb9 [<c021aa3d>] acpi_pci_link_set+0x102/0x17b [<c021aecb>] irqrouter_resume+0x1e/0x3c [<c024d921>] __sysdev_resume+0x11/0x6b [<c024dbde>] sysdev_resume+0x34/0x52 [<c0251cb7>] device_power_up+0x5/0xa [<c0138787>] suspend_enter+0x44/0x46 [<c01386e5>] suspend_prepare+0x63/0xc1 [<c0138813>] enter_state+0x5e/0x7c [<c013894c>] state_store+0x81/0x8f [<c01388cb>] state_store+0x0/0x8f [<c0196a0a>] subsys_attr_store+0x1e/0x22 [<c0196c12>] flush_write_buffer+0x22/0x28 [<c0196c64>] sysfs_write_file+0x4c/0x71 [<c0196c18>] sysfs_write_file+0x0/0x71 [<c015b2c9>] vfs_write+0xa2/0x15a [<c015b42c>] sys_write+0x41/0x6a [<c0102e75>] syscall_call+0x7/0xbThe patch also fixes a missing check for NULL return from
acpi_os_acquire_object().Signed-off-by Davi Arnaut <[email protected]>Cc Pavel Machek <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
9224a867c497053842dc595e594ca6d32112221fAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500HPET: fix ACPI memory range length handling
ACPI address space descriptors contain
_MIN,_MAX, and_LEN._MINand_MAX
are the bounds within which the region can be moved (this is clarified in Table 6-38 of the ACPI 3.0 spec). We should use_LENto determine the
size
of the region, not_MAX-_MIN+ 1.Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
459c7266d7a5c1730169258217e25fdd1b7ca854Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: fix memory hotplug range length handling
Address space descriptors contain
_MIN,_MAX, and_LEN._MINand_MAXare the bounds within which the region can be moved (this is clarified in
Table
6-38 of the ACPI 3.0 spec). We should use_LENto determine the size of the region, not_MAX-_MIN+ 1.Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
1a36561607abf1405b56a41aac2fd163429cd1f8Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: simplify
scan.ccodingNo functional changes; just remove leftover, unused "buffer" and simplify control flow (no need to remember error values and goto the end, when we
can
simply return the value directly).Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
e4513a57ef719d3d6d1cee0ca4d9f4016aa452bbAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: fix sonypi ACPI driver registration to unregister on failure
Remove the assumption that
acpi_bus_register_driver()returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).This also fixes a bug: if
sonypi_acpi_driverwas registered but found no devices,sonypi_exit()did not unregister it.Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
578b333bfe8eb1360207a08a53c321822a8f40f3Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: update
asus_acpidriver registration to unload on failureRemove the assumption that
acpi_bus_register_driver()returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).Since the hardware for this driver is not hot-pluggable, determine whether
the
hardware is present by noticing calls to the .add() method. It would be better to probe the ACPI namespace for the ASUS HIDs, and load the driver
only
when we find one, but ACPI doesn't support that yet.I don't have an ASUS laptop to test on, but on my HP dl360, it does report
the
appropriate error when attempting to load the module:$ sudo insmod
drivers/acpi/asus_acpi.ko
insmod: error inserting 'drivers/acpi/asus_acpi.ko': -1 No such deviceSigned-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
9d9f749b316ac21cb59ad3e595cbce469b409e1aAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: make
acpi_bus_register_driver()return success/failure, not device
count
acpi_bus_register_driver()should not return the number of devices
claimed.
We're not asking to find devices, we're making a driver available to
devices,
including hot-pluggable devices that may appear in the future.I audited all callers of
acpi_bus_register_driver(), and exceptasus_acpi.c
andsonypi.c(fixed in previous patches), all either ignore the return
value
or test only for failure (<0).Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
cd090eedd85256829f762677d0752a846c1b88b9Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port} Add "ACPI" to motherboard resource allocation names, so people have a clue about where to look. And remove some trailing spaces. Changes these /proc/iomem entries from this: ff5c1004-ff5c1007 : PM_TMR ff5c1008-ff5c100b : PM1a_EVT_BLK ff5c100c-ff5c100d : PM1a_CNT_BLK ff5c1010-ff5c1013 : GPE0_BLK ff5c1014-ff5c1017 : GPE1_BLK to this: ff5c1004-ff5c1007 : ACPI PM_TMR ff5c1008-ff5c100b : ACPI PM1a_EVT_BLK ff5c100c-ff5c100d : ACPI PM1a_CNT_BLK ff5c1010-ff5c1013 : ACPI GPE0_BLK ff5c1014-ff5c1017 : ACPI GPE1_BLK Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>commit
81507ea9cfa64e9851b53e0fefebfa776eda9ecbAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI supports fixed hardware (
PM_TMR, GPE blocks, etc) in either I/O port or MMIO space, but used to always request the regions from I/O space because it didn't check theaddress_space_id.Sample ACPI fixed hardware in MMIO space (HP rx2600), was incorrectly reported in
/proc/ioports, now reported in/proc/iomem:ff5c1004-ff5c1007 :
PM_TMR
ff5c1008-ff5c100b :PM1a_EVT_BLK
ff5c100c-ff5c100d :PM1a_CNT_BLK
ff5c1010-ff5c1013 :GPE0_BLK
ff5c1014-ff5c1017 :GPE1_BLKSigned-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
1c6e7d0aeecac38e66b1bb63e3eff07b2a1c2f2cAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500PNPACPI: whitespace cleanup
Tidy up whitespace. No functional change.
Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
b5f2490b6e3317059e87ba40d4f659d1c30afc1fAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500PNPACPI: remove some code duplication
Factor out the duplicated switch from
pnpacpi_count_resources()andpnpacpi_type_resources(). Remove the unnecessary re-initialization ofresource->typeand length from all the encode functions (id and length are originally set in thepnpacpi_build_resource_template()->pnpacpi_type_resources()path).Signed-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
1acfb7f2b0d460ee86bdb25ad0679070ec8a5f0dAuthor: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500PNPACPI: fix non-memory address space descriptor handling
Fix
resource_typehandling for QWORD, DWORD, and WORD Address Space Descriptors. Previously we ignored theresource_type, so I/O ports and
busnumber ranges were incorrectly parsed as memory ranges. Sample PCI root bridge resources from HP rx2600 before this patch: # cat /sys/bus/pnp/devices/00:02/resources state = active mem 0x0-0x1f mem 0x0-0x3af mem 0x3e0-0x1fff mem 0x80000000-0x8fffffff With this patch: # cat /sys/bus/pnp/devices/00:02/resources state = active io 0x0-0x3af io 0x3e0-0x1fff mem 0x80000000-0x8fffffff mem 0x80004000000-0x80103fffffe Changes: 0x0-0x1f PCI bus number range was incorrectly reported as memory, now not reported at all 0x0-0x3af I/O port range was incorrectly reported as memory 0x3e0-0x1fff I/O port range was incorrectly reported as memory 0x80004000000-0x80103fffffe memory range wasn't reported at allbecause
we only supportPNP_MAX_MEM(4) memory resourcesSigned-off-by Bjorn Helgaas <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
7e1f19e50371e1d148226b64c8edc77fec47fa5bAuthor: Andrew Morton <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500ACPI: UP build fix for bugzilla-5737
cpu_online_mapdoesn't exist if !CONFIG_SMP.Signed-off-by Venkatesh Pallipadi <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
1300124f69cafc54331bc06e968a8dd67863f989Author: Adrian Bunk <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500ACPI:
Kconfig: ACPI should depend on, not select PCIOtherwise, illegal configurations like X86_VOYAGER=y, PCI=y are possible.
This patch also fixes the options select'ing ACPI to also select PCI.
Signed-off-by Adrian Bunk <[email protected]>Signed-off-by Andrew Morton <[email protected]>Signed-off-by Len Brown <[email protected]>commit
7b6efc8b701de5de4ec11d13fcee05b2ac3c1550
Merge: 7bddf82... 683aa40...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 20:54:11 2006 -0500merge linus into test branch
commit
7bddf826d950dee0e0b3400cc45f6786ed4e5e75
Merge: 2ac9a40... f9ea7fd...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:30:10 2006 -0500Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/video.ccommit
2ac9a40c2d27754eab5f24a7b24a9dc144ce10d3
Merge: 2d50670... 9cfda2c... 0eacee5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:55 2006 -0500Pull novell-bugzilla-156426 bugzilla-5452 into test branch
commit
2d50670edd7b34cfbef2683ff6fbe8103d4c2d31
Merge: ab87bbd... 6665bda...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:32 2006 -0500Pull trivial into test branch
commit
ab87bbd9264362ec955414cc7b617cf088a5d978
Merge: 1900d67... ec7381d...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:24:29 2006 -0500Pull acpica into test branch
commit
1900d6702264e1193873bf849f20fe130e71d60b
Merge: 7d2c215... ffd642e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:23:50 2006 -0500Pull bugzilla-5653 into test branch
Conflicts:
arch/x86_64/kernel/acpi/processor.ccommit
7d2c215b6bcf746b940224bde9f0c7b64048b1b1
Merge: a0f0678... d52bb94...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:22:23 2006 -0500Pull bugzilla-5737 into test branch
commit
ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6Author: Len Brown <[email protected]> Date: Sat Apr 1 05:12:23 2006 -0500ACPI: inline trivial
acpi_os_get_thread_id()
acpi_os_get_thread_id()is used only for debugging code that is not enabled on Linux, so stub it out.Signed-off-by Len Brown <[email protected]>commit
8313524a0d466f451a62709aaedf988d8257b21cAuthor: Bob Moore <[email protected]> Date: Tue Oct 3 00:00:00 2006 -0400ACPI: ACPICA 20060310
Tagged all external interfaces to the subsystem with the new
ACPI_EXPORT_SYMBOLmacro. This macro can be defined as necessary to assist kernel integration. For Linux, the macro resolves to theEXPORT_SYMBOLmacro. The default definition is NULL.Added the
ACPI_THREAD_IDtype for the return value fromacpi_os_get_thread_id(). This allows the host to define this as necessary to simplify kernel integration. The default definition isACPI_NATIVE_UINT.Valery Podrezov fixed two interpreter problems related to error processing, the deletion of objects, and placing invalid pointers onto the internal operator result stack.
http://bugzilla.kernel.org/show_bug.cgi?id=6028
http://bugzilla.kernel.org/show_bug.cgi?id=6151Increased the reference count threshold where a warning is emitted for large reference counts in order to eliminate unnecessary warnings on systems with large namespaces (especially 64-bit.) Increased the value from
0x400to0x800.Due to universal disagreement as to the meaning of the 'c' in the
calloc()function, theACPI_MEM_CALLOCATEmacro has been renamed toACPI_ALLOCATE_ZEROEDso that the purpose of the interface is 'clear'.ACPI_MEM_ALLOCATEandACPI_MEM_FREEare renamed toACPI_ALLOCATEandACPI_FREE.Signed-off-by Bob Moore <[email protected]>Signed-off-by Len Brown <[email protected]>commit
ea936b78f46cbe089a4ac363e1682dee7d427096Author: Bob Moore <[email protected]> Date: Fri Feb 17 00:00:00 2006 -0500ACPI: ACPICA 20060217
Implemented a change to the IndexField support to match the behavior of the Microsoft AML interpreter. The value written to the Index register is now a byte offset, no longer an index based upon the width of the Data register. This should fix IndexField problems seen on some machines where the Data register is not exactly one byte wide. The ACPI specification will be clarified on this point.
Fixed a problem where several resource descriptor types could overrun the internal descriptor buffer due to size miscalculation: VendorShort, VendorLong, and Interrupt. This was noticed on IA64 machines, but could affect all platforms.
Fixed a problem where individual resource descriptors were misaligned within the internal buffer, causing alignment faults on IA64 platforms.
Signed-off-by Bob Moore <[email protected]>Signed-off-by Len Brown <[email protected]>commit
52fc0b026e99b5d5d585095148d997d5634bbc25Author: Bob Moore <[email protected]> Date: Mon Oct 2 00:00:00 2006 -0400[ACPI] ACPICA 20060210
Removed a couple of extraneous
ACPI_ERRORmessages that appeared during normal execution. These became apparent after the conversion fromACPI_DEBUG_PRINT.Fixed a problem where the CreateField operator could hang if the BitIndex or NumBits parameter referred to a named object. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5359Fixed a problem where a DeRefOf operation on a buffer object incorrectly failed with an exception. This also fixes a couple of related RefOf and DeRefOf issues. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5360
http://bugzilla.kernel.org/show_bug.cgi?id=5387
http://bugzilla.kernel.org/show_bug.cgi?id=5392Fixed a problem where the
AE_BUFFER_LIMITexception was returned instead ofAE_STRING_LIMITon an out-of-boundsIndex()operation. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5480Implemented a memory cleanup at the end of the execution of each iteration of an AML
While()loop, preventing the accumulation of outstanding objects. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5427Eliminated a chunk of duplicate code in the object resolution code. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5336Fixed several warnings during the 64-bit code generation.
Signed-off-by Bob Moore <[email protected]>Signed-off-by Len Brown <[email protected]>commit
46358614ed5b031797522f1020e989c959a8d8a6Author: Len Brown <[email protected]> Date: Fri Mar 31 02:16:19 2006 -0500Revert "[PATCH] ACPI: fix vendor resource length computation"
fixed in a different way by a subsequent ACPICA patch
This reverts
35b73ceb9a7d10c81bd9e79e8485f7079ef2b40ecommit.commit
6665bda76461308868bd1e52caf627f4cb29ed32Author: Adrian Bunk <[email protected]> Date: Sat Mar 11 10:12:00 2006 -0500[ACPI]
drivers/acpi/video.c: fix error path NULL pointer dereferenceThe Coverity checker spotted this bug in
acpi_video_device_lcd_query_levels().Signed-off-by Adrian Bunk <[email protected]>Signed-off-by Len Brown <[email protected]>commit
fdc136ccd3332938e989439c025c363f8479f3e6Author: Dave Jones <[email protected]> Date: Wed Mar 8 22:12:00 2006 -0500[ACPI] fix possible acpi thermal leak in failure path
Coverity: #601
Signed-off-by Dave Jones <[email protected]>Signed-off-by Len Brown <[email protected]>commit
a1f9e65e2085e0a87f28a4d5a8ae43b32c087f24Author: Len Brown <[email protected]> Date: Wed Jan 25 23:47:36 2006 -0500[ACPI] document cmdline acpi_os_name=
This can sometimes be used to work around broken BIOS. Use "Microsoft Windows" to take the same path through the BIOS as Windows98 would.
The default is "Microsoft Windows NT", which is what NT and later versions of Windows use, and is the most tested path through most BIOS.
Set it to anything else, including "Linux", at your own risk, as it seems that virtually no BIOS has been tested with anything but the two options above.
Note that this uses the legacy
_OSinterface, so we don't expect this to ever change.Signed-off-by Len Brown <[email protected]>commit
1fee94034917aa711fcbd4ebf4c36f7ebd9fa7d6Author: Irwan Djajadi <[email protected]> Date: Fri Jan 20 15:28:00 2006 -0500[ACPI]
drivers/acpi/hotkey.c: check kmalloc return valueSigned-off-by Irwan Djajadi <[email protected]>Signed-off-by Alexey Dobriyan <[email protected]>Signed-off-by Len Brown <[email protected]>commit
0eacee585a89ce5827b572a73a024931506bef48Author: Len Brown <[email protected]> Date: Fri Mar 31 00:37:23 2006 -0500ACPI: enable BIOS warning
http://bugzilla.kernel.org/show_bug.cgi?id=5452
Signed-off-by Len Brown <[email protected]>commit
9cfda2c94df61c9f859b474abe774c65a4464d0aAuthor: Andi Kleen <[email protected]> Date: Mon Mar 27 02:24:32 2006 -0500[ACPI] fix "nolapic" flag in ACPI mode
Signed-off-by Len Brown <[email protected]>commit
d52bb94d56676acd9bdac8e097257a87b4b1b2e1Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500Enable P-state software coordination via
_PDChttp://bugzilla.kernel.org/show_bug.cgi?id=5737
Signed-off-by Venkatesh Pallipadi <[email protected]>Signed-off-by Len Brown <[email protected]>commit
c52851b60cc0aaaf974ff0e49989fb698220447dAuthor: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500P-state software coordination for speedstep-centrino
http://bugzilla.kernel.org/show_bug.cgi?id=5737
Signed-off-by Venkatesh Pallipadi <[email protected]>Signed-off-by Len Brown <[email protected]>commit
09b4d1ee881c8593bfad2a42f838d85070365c3eAuthor: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500P-state software coordination for acpi-cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=5737
Signed-off-by Venkatesh Pallipadi <[email protected]>Signed-off-by Len Brown <[email protected]>commit
3b2d99429e3386b6e2ac949fc72486509c8bbe36Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500P-state software coordination for ACPI core
http://bugzilla.kernel.org/show_bug.cgi?id=5737
Signed-off-by Venkatesh Pallipadi <[email protected]>Signed-off-by Len Brown <[email protected]>commit
ffd642e748c867a7339b57225b8bf8b9a0dcd9c5Author: David Shaohua Li <[email protected]> Date: Wed Feb 8 17:35:00 2006 -0500[ACPI] enable SMP C-states on
x86_64http://bugzilla.kernel.org/show_bug.cgi?id=5653
Signed-off-by David Shaohua Li <[email protected]>Signed-off-by Len Brown <[email protected]>commit
f9ea7fd8be9827791f407ca1191ff70ec25eb2d9Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400[ACPI] Print error message if remove/install notify handler fails
Signed-off-by Thomas Renniger <[email protected]>Signed-off-by Len Brown <[email protected]>commit
b60e49b2383db0334bef1f0d9cdad9bec2336050Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros
Signed-off-by Thomas Renninger <[email protected]>Signed-off-by Len Brown <[email protected]>commit
1ca218d3bd6acca0922a349cb76e3244d27ebfbaAuthor: Thomas Renniger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400[ACPI] Enable ACPI error messages w/o
CONFIG_ACPI_DEBUGSigned-off-by Thomas Renniger <[email protected]>Signed-off-by Len Brown <[email protected]>-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Len Brown
Folks,
The latest ACPI patch is against 2.6.17-rc4 and is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.gittest ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/acpi-test-20060310-2.6.17-rc4.diff.gzNote that I removed the
acpi_in_resumeworkaround, so you'll get some oops'
during resume, until we replace it with something else.
Which you intend to do before .17 final I assume?
Seems funny to be ripping something out without a replacement fix.
Dave
Signature · 1 line
http://www.codemonkey.org.uk
Quoted 7 lines · Len Brown
Folks,
The latest ACPI patch is against 2.6.17-rc4 and is available here:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.gittest ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/ acpi-test-20060310-2.6.17-rc4.diff.gz
Quoted 5 lines
Note that I removed the
acpi_in_resumeworkaround, so you'll get some oops'
during resume, until we replace it with something else.Note that the kmalloc patches allow
CONFIG_DEBUG_SLAB_LEAKSto put more useful entries in/proc/slab_allocatorsfor acpi.
Same location, updated contents with some patches that were in -mm:
Latest ACPI patch is available here
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/acpi-test-20060310-2.6.17-rc4.diff.gz
and contains this:
Adrian Bunk:
[ACPI] drivers/acpi/video.c: fix error path NULL pointer dereference
ACPI: Kconfig: ACPI should depend on, not select PCI
Andi Kleen:
[ACPI] fix "nolapic" flag in ACPI mode
Andreas Mohr:
ACPI: apply "__read_mostly" to processor_idle.c loop module parameters
and friends
Andrew Morton:
ACPI: UP build fix for bugzilla-5737
Arjan van de Ven:
sem2mutex: drivers/acpi/processor_perflib.c
Arnaud Patard:
ACPI: suppress power button event on S3 resume
Ashok Raj:
ACPI: build fix for u8 cpu_index
ACPI: Allow hot-add of ejected processor
x86_64: Remove stale lapic definition from apicdef.h
Bjorn Helgaas:
PNPACPI: fix non-memory address space descriptor handling
PNPACPI: remove some code duplication
PNPACPI: whitespace cleanup
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port}
ACPI: make acpi_bus_register_driver() return success/failure, not device
count
ACPI: update asus_acpi driver registration to unload on failure
ACPI: fix sonypi ACPI driver registration to unregister on failure
ACPI: simplify scan.c coding
ACPI: fix memory hotplug range length handling
HPET: fix ACPI memory range length handling
ACPI: remove __init/__exit from Asus .add()/.remove() methods
ACPI: Don't print internal BIOS names of wakeup devices
ACPI: acpi_bus_unregister_driver() returns void
ACPI: acpi_os_wait_semaphore(): silence complaint
Bob Moore:
[ACPI] ACPICA 20060210
ACPI: ACPICA 20060217
ACPI: ACPICA 20060310Dave Jones:
[ACPI] fix possible acpi thermal leak in failure path
Davi Arnaut:
ACPI: acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled
through suspend-resume
David Shaohua Li:
[ACPI] enable SMP C-states on x86_64
Ingo Molnar:
sem2mutex: acpi, acpi_link_lock
Irwan Djajadi:
[ACPI] drivers/acpi/hotkey.c: check kmalloc return value
Jiri Slaby:
ACPI: EC acpi-ecdt-uid-hack
KAMEZAWA Hiroyuki:
ACPI: use for_each_possible_cpu() instead of for_each_cpu()
Len Brown:
ACPI: enable BIOS warning
[ACPI] document cmdline acpi_os_name=
Revert "ACPI: fix vendor resource length computation"
ACPI: inline trivial acpi_os_get_thread_id()
ACPI: ia64 buildfix
ACPI: ia64 buildfix
ACPI: delete remaining function tracing macros from drivers/acpi/*.c
ACPI: delete newly added debugging macros in processor_perflib.c
ACPI: disable ACPI_DBG_TRACK_ALLOCATIONS on debug kernel
ACPI: use kfree(), delete acpi_os_free()
ACPI: delete acpi_in_resume workaround
ACPI: use kmalloc() and kzalloc(), delete acpi_os_allocate()
ACPI: repair damage from overzealous bus.c cleanup patch
ACPI: use kfree() on ia64 instead of acpi_os_free()
ACPI: silence ia64 build warning
ACPI: delete unused acpi_bus_drivers_lock
Patrick Mochel:
ACPI: Remove debugging macros from drivers/acpi/thermal.c
ACPI: Remove debugging macros from drivers/acpi/system.c
ACPI: Remove debugging macros from drivers/acpi/processor_throttling.c
ACPI: Remove debugging macros from drivers/acpi/processor_thermal.c
ACPI: Remove debugging macros from drivers/acpi/processor_perflib.c
ACPI: Remove debugging macros from drivers/acpi/processor_core.c
ACPI: Remove debugging macros from drivers/acpi/processor_idle.c
ACPI: Remove debugging macros from drivers/acpi/ec.c
ACPI: Remove debugging macros from drivers/acpi/pci_link.c
ACPI: Remove debugging macros from drivers/acpi/event.c
ACPI: Remove debugging macros from drivers/acpi/power.c
ACPI: Remove debugging macros from drivers/acpi/pci_root.c
ACPI: Remove debugging macros from drivers/acpi/pci_irq.c
ACPI: Remove debugging macros from drivers/acpi/motherboard.c
ACPI: Remove debugging macros from drivers/acpi/hotkey.c
ACPI: Remove debugging macros from drivers/acpi/pci_bind.c
ACPI: Remove debugging macros from drivers/acpi/fan.c
ACPI: Remove debugging macros from drivers/acpi/container.c
ACPI: Remove debugging macros from drivers/acpi/debug.c
ACPI: Remove debugging macros from drivers/acpi/button.c
ACPI: Remove debugging macros from drivers/acpi/battery.c
ACPI: Remove debugging macros from drivers/acpi/bus.c
ACPI: Remove debugging macros from drivers/acpi/acpi_memhotplug.c
ACPI: Remove debugging macros from drivers/acpi/ac.c
Thomas Renniger:
[ACPI] Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Thomas Renninger:
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros [ACPI] Print error message if remove/install notify handler fails
Vasily Averin:
ACPI: fix potential memory leak in acpi_evaluate_integer() error path
ACPI: fix memory leak in acpi_thermal_add() error path
Venkatesh Pallipadi:
P-state software coordination for ACPI core P-state software coordination for acpi-cpufreq P-state software coordination for speedstep-centrino Enable P-state software coordination via _PDC
Quoted 4 lines · Len Brown
Quoted 3 lines · Len Brown
Folks,
The latest ACPI patch is against 2.6.17-rc4 and is available here:
...
Quoted 8 lines
Quoted 6 lines
Note that I removed the
acpi_in_resumeworkaround, so you'll get some oops' during resume, until we replace it with something else.Note that the kmalloc patches allow
CONFIG_DEBUG_SLAB_LEAKSto put more useful entries in/proc/slab_allocatorsfor acpi.Same location, updated contents:
Note that fan and thermal suspend/resume fixes are now included (5000, 4364) Also, a fix for 5534 is included that may have an effect on multiple Notify issues.
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6.17/acpi-test-20060310-2.6.17-rc4.diff.gz
Documentation/kernel-parameters.txt | 3 arch/i386/kernel/acpi/boot.c | 5 arch/i386/kernel/acpi/processor.c | 2 arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c | 289 ++++--- arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 250 ++++-- arch/ia64/Kconfig | 1 arch/ia64/hp/common/sba_iommu.c | 2 arch/ia64/kernel/acpi-ext.c | 2 arch/ia64/kernel/acpi.c | 16 arch/ia64/mm/init.c | 2 arch/x86_64/Kconfig | 1 arch/x86_64/kernel/acpi/Makefile | 1 arch/x86_64/kernel/acpi/processor.c | 74 - drivers/acpi/Kconfig | 3 drivers/acpi/ac.c | 72 - drivers/acpi/acpi_memhotplug.c | 179 +--- drivers/acpi/asus_acpi.c | 36 drivers/acpi/battery.c | 145 +-- drivers/acpi/bus.c | 154 +-- drivers/acpi/button.c | 82 -- drivers/acpi/container.c | 42 - drivers/acpi/debug.c | 21 drivers/acpi/dispatcher/dsfield.c | 1 drivers/acpi/dispatcher/dsmethod.c | 5 drivers/acpi/dispatcher/dsmthdat.c | 3 drivers/acpi/dispatcher/dsobject.c | 15 drivers/acpi/dispatcher/dsopcode.c | 4 drivers/acpi/dispatcher/dsutils.c | 9 drivers/acpi/dispatcher/dswexec.c | 3 drivers/acpi/dispatcher/dswload.c | 10 drivers/acpi/dispatcher/dswscope.c | 2 drivers/acpi/dispatcher/dswstate.c | 13 drivers/acpi/ec.c | 203 +--- drivers/acpi/event.c | 21 drivers/acpi/events/evevent.c | 2 drivers/acpi/events/evgpe.c | 9 drivers/acpi/events/evgpeblk.c | 52 - drivers/acpi/events/evmisc.c | 17 drivers/acpi/events/evregion.c | 12 drivers/acpi/events/evrgnini.c | 14 drivers/acpi/events/evxface.c | 82 +- drivers/acpi/events/evxfevnt.c | 41 - drivers/acpi/events/evxfregn.c | 9 drivers/acpi/executer/exconfig.c | 9 drivers/acpi/executer/exconvrt.c | 2 drivers/acpi/executer/exdump.c | 4 drivers/acpi/executer/exfield.c | 6 drivers/acpi/executer/exfldio.c | 5 drivers/acpi/executer/exmisc.c | 1 drivers/acpi/executer/exmutex.c | 3 drivers/acpi/executer/exnames.c | 10 drivers/acpi/executer/exoparg1.c | 61 + drivers/acpi/executer/exoparg2.c | 81 + drivers/acpi/executer/exoparg3.c | 11 drivers/acpi/executer/exoparg6.c | 1 drivers/acpi/executer/exprep.c | 17 drivers/acpi/executer/exregion.c | 11 drivers/acpi/executer/exresnte.c | 5 drivers/acpi/executer/exresolv.c | 43 - drivers/acpi/executer/exresop.c | 4 drivers/acpi/executer/exstore.c | 2 drivers/acpi/executer/exstoren.c | 3 drivers/acpi/executer/exstorob.c | 11 drivers/acpi/executer/exsystem.c | 2 drivers/acpi/executer/exutils.c | 3 drivers/acpi/fan.c | 100 +- drivers/acpi/glue.c | 8 drivers/acpi/hardware/hwgpe.c | 2 drivers/acpi/hardware/hwregs.c | 12 drivers/acpi/hardware/hwsleep.c | 19 drivers/acpi/hardware/hwtimer.c | 10 drivers/acpi/hotkey.c | 157 +-- drivers/acpi/motherboard.c | 69 - drivers/acpi/namespace/nsaccess.c | 26 drivers/acpi/namespace/nsalloc.c | 14 drivers/acpi/namespace/nsdump.c | 4 drivers/acpi/namespace/nsdumpdv.c | 2 drivers/acpi/namespace/nseval.c | 5 drivers/acpi/namespace/nsinit.c | 7 drivers/acpi/namespace/nsload.c | 3 drivers/acpi/namespace/nsnames.c | 10 drivers/acpi/namespace/nsobject.c | 3 drivers/acpi/namespace/nsparse.c | 2 drivers/acpi/namespace/nssearch.c | 5 drivers/acpi/namespace/nsutils.c | 23 drivers/acpi/namespace/nswalk.c | 4 drivers/acpi/namespace/nsxfeval.c | 86 +- drivers/acpi/namespace/nsxfname.c | 17 drivers/acpi/namespace/nsxfobj.c | 11 drivers/acpi/osl.c | 183 ++-- drivers/acpi/parser/psargs.c | 7 drivers/acpi/parser/psloop.c | 7 drivers/acpi/parser/psopcode.c | 2 drivers/acpi/parser/psparse.c | 8 drivers/acpi/parser/psscope.c | 1 drivers/acpi/parser/pstree.c | 8 drivers/acpi/parser/psutils.c | 9 drivers/acpi/parser/pswalk.c | 3 drivers/acpi/parser/psxface.c | 2 drivers/acpi/pci_bind.c | 91 -- drivers/acpi/pci_irq.c | 98 -- drivers/acpi/pci_link.c | 242 ++--- drivers/acpi/pci_root.c | 43 - drivers/acpi/power.c | 162 +-- drivers/acpi/processor_core.c | 203 +--- drivers/acpi/processor_idle.c | 104 -- drivers/acpi/processor_perflib.c | 409 +++++++--- drivers/acpi/processor_thermal.c | 53 - drivers/acpi/processor_throttling.c | 50 - drivers/acpi/resources/rscalc.c | 122 +- drivers/acpi/resources/rscreate.c | 2 drivers/acpi/resources/rsinfo.c | 1 drivers/acpi/resources/rslist.c | 18 drivers/acpi/resources/rsmisc.c | 12 drivers/acpi/resources/rsutils.c | 65 - drivers/acpi/resources/rsxface.c | 31 drivers/acpi/scan.c | 339 ++++---- drivers/acpi/sleep/main.c | 8 drivers/acpi/sleep/wakeup.c | 3 drivers/acpi/system.c | 29 drivers/acpi/tables/tbconvrt.c | 11 drivers/acpi/tables/tbget.c | 11 drivers/acpi/tables/tbgetall.c | 1 drivers/acpi/tables/tbinstal.c | 9 drivers/acpi/tables/tbrsdt.c | 1 drivers/acpi/tables/tbutils.c | 2 drivers/acpi/tables/tbxface.c | 18 drivers/acpi/tables/tbxfroot.c | 33 drivers/acpi/thermal.c | 282 ++---- drivers/acpi/utilities/utalloc.c | 25 drivers/acpi/utilities/utcache.c | 14 drivers/acpi/utilities/utcopy.c | 25 drivers/acpi/utilities/utdebug.c | 27 drivers/acpi/utilities/utdelete.c | 7 drivers/acpi/utilities/uteval.c | 8 drivers/acpi/utilities/utglobal.c | 8 drivers/acpi/utilities/utinit.c | 8 drivers/acpi/utilities/utmisc.c | 39 drivers/acpi/utilities/utmutex.c | 4 drivers/acpi/utilities/utobject.c | 7 drivers/acpi/utilities/utresrc.c | 4 drivers/acpi/utilities/utstate.c | 2 drivers/acpi/utilities/utxface.c | 24 drivers/acpi/utils.c | 114 +- drivers/acpi/video.c | 359 +++----- drivers/char/agp/hp-agp.c | 2 drivers/char/hpet.c | 5 drivers/char/sonypi.c | 10 drivers/pci/hotplug/acpi_pcihp.c | 16 drivers/pci/hotplug/acpiphp_dock.c | 4 drivers/pci/hotplug/acpiphp_glue.c | 2 drivers/pci/hotplug/pciehp_hpc.c | 4 drivers/pnp/pnpacpi/rsparser.c | 199 ++-- include/acpi/acconfig.h | 10 include/acpi/acdisasm.h | 24 include/acpi/aclocal.h | 8 include/acpi/acmacros.h | 50 - include/acpi/acnamesp.h | 5 include/acpi/acpi_bus.h | 8 include/acpi/acpiosxf.h | 28 include/acpi/actypes.h | 25 include/acpi/acutils.h | 6 include/acpi/amlresrc.h | 61 - include/acpi/pdc_intel.h | 5 include/acpi/platform/acenv.h | 10 include/acpi/platform/aclinux.h | 29 include/acpi/processor.h | 27 include/asm-i386/apicdef.h | 1 include/asm-x86_64/acpi.h | 2 include/asm-x86_64/apicdef.h | 2 include/linux/cpufreq.h | 4 171 files changed, 3392 insertions(+), 3316 deletions(-)
through these commits:
Adrian Bunk:
[ACPI] drivers/acpi/video.c: fix error path NULL pointer dereference
ACPI: Kconfig: ACPI should depend on, not select PCI
Alexey Starikovskiy:
ACPI: execute Notify() handlers on new thread
Andi Kleen:
[ACPI] fix "nolapic" flag in ACPI mode
Andreas Mohr:
ACPI: apply "__read_mostly" to processor_idle.c loop module parameters
and friends
Andrew Morton:
ACPI: UP build fix for bugzilla-5737
ACPI: asus_acpi_init(): propagate correct return value
Arjan van de Ven:
sem2mutex: drivers/acpi/processor_perflib.c
Arnaud Patard:
ACPI: suppress power button event on S3 resume
Ashok Raj:
ACPI: build fix for u8 cpu_index
ACPI: Allow hot-add of ejected processor
x86_64: Remove stale lapic definition from apicdef.h
Bjorn Helgaas:
PNPACPI: fix non-memory address space descriptor handling
PNPACPI: remove some code duplication
PNPACPI: whitespace cleanup
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port}
ACPI: make acpi_bus_register_driver() return success/failure, not device
count
ACPI: update asus_acpi driver registration to unload on failure
ACPI: fix sonypi ACPI driver registration to unregister on failure
ACPI: simplify scan.c coding
ACPI: fix memory hotplug range length handling
HPET: fix ACPI memory range length handling
ACPI: remove __init/__exit from Asus .add()/.remove() methods
ACPI: Don't print internal BIOS names of wakeup devices
ACPI: acpi_bus_unregister_driver() returns void
ACPI: acpi_os_wait_semaphore(): silence complaint
Bob Moore:
[ACPI] ACPICA 20060210
ACPI: ACPICA 20060217
ACPI: ACPICA 20060310Dave Jones:
[ACPI] fix possible acpi thermal leak in failure path
Davi Arnaut:
ACPI: acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled
through suspend-resume
David Shaohua Li:
[ACPI] enable SMP C-states on x86_64
Ingo Molnar:
sem2mutex: acpi, acpi_link_lock
Irwan Djajadi:
[ACPI] drivers/acpi/hotkey.c: check kmalloc return value
Jiri Slaby:
ACPI: EC acpi-ecdt-uid-hack
KAMEZAWA Hiroyuki:
ACPI: use for_each_possible_cpu() instead of for_each_cpu() ACPI add ia64 exports to build acpi_memhotplug as a module
Konstantin Karasyov:
ACPI: create acpi_fan_suspend()/acpi_fan_resume()
ACPI: create acpi_thermal_resume()
Len Brown:
ACPI: enable BIOS warning
[ACPI] document cmdline acpi_os_name=
Revert "ACPI: fix vendor resource length computation"
ACPI: inline trivial acpi_os_get_thread_id()
ACPI: ia64 buildfix
ACPI: ia64 buildfix
ACPI: delete remaining function tracing macros from drivers/acpi/*.c
ACPI: delete newly added debugging macros in processor_perflib.c
ACPI: disable ACPI_DBG_TRACK_ALLOCATIONS on debug kernel
ACPI: use kfree(), delete acpi_os_free()
ACPI: delete acpi_in_resume workaround
ACPI: use kmalloc() and kzalloc(), delete acpi_os_allocate()
ACPI: repair damage from overzealous bus.c cleanup patch
ACPI: use kfree() on ia64 instead of acpi_os_free()
ACPI: silence ia64 build warning
ACPI: delete unused acpi_bus_drivers_lock
ACPI: pass pm_message_t from acpi_device_suspend() to root_suspend()
Patrick Mochel:
ACPI: Remove debugging macros from drivers/acpi/thermal.c
ACPI: Remove debugging macros from drivers/acpi/system.c
ACPI: Remove debugging macros from drivers/acpi/processor_throttling.c
ACPI: Remove debugging macros from drivers/acpi/processor_thermal.c
ACPI: Remove debugging macros from drivers/acpi/processor_perflib.c
ACPI: Remove debugging macros from drivers/acpi/processor_core.c
ACPI: Remove debugging macros from drivers/acpi/processor_idle.c
ACPI: Remove debugging macros from drivers/acpi/ec.c
ACPI: Remove debugging macros from drivers/acpi/pci_link.c
ACPI: Remove debugging macros from drivers/acpi/event.c
ACPI: Remove debugging macros from drivers/acpi/power.c
ACPI: Remove debugging macros from drivers/acpi/pci_root.c
ACPI: Remove debugging macros from drivers/acpi/pci_irq.c
ACPI: Remove debugging macros from drivers/acpi/motherboard.c
ACPI: Remove debugging macros from drivers/acpi/hotkey.c
ACPI: Remove debugging macros from drivers/acpi/pci_bind.c
ACPI: Remove debugging macros from drivers/acpi/fan.c
ACPI: Remove debugging macros from drivers/acpi/container.c
ACPI: Remove debugging macros from drivers/acpi/debug.c
ACPI: Remove debugging macros from drivers/acpi/button.c
ACPI: Remove debugging macros from drivers/acpi/battery.c
ACPI: Remove debugging macros from drivers/acpi/bus.c
ACPI: Remove debugging macros from drivers/acpi/acpi_memhotplug.c
ACPI: Remove debugging macros from drivers/acpi/ac.c
ACPI: create acpi_device_suspend()/acpi_device_resume()
Thomas Renniger:
[ACPI] Enable ACPI error messages w/o CONFIG_ACPI_DEBUG
Thomas Renninger:
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros [ACPI] Print error message if remove/install notify handler fails
Vasily Averin:
ACPI: fix potential memory leak in acpi_evaluate_integer() error path
ACPI: fix memory leak in acpi_thermal_add() error path
Venkatesh Pallipadi:
P-state software coordination for ACPI core P-state software coordination for acpi-cpufreq P-state software coordination for speedstep-centrino Enable P-state software coordination via _PDC
Yu, Luming:
ACPI: fix potential memory leaks in driver/acpi/video.c
with this log:
commit 3dd3820e4642b48db2a3838540d2dddb1fb95024
Merge: 15ff5b4... 2860de9...
Author: Alexey Starikovskiy <[email protected]>
Date: Mon May 15 03:57:05 2006 -0400
Pull bugzilla-5534 into test branch
Conflicts:
drivers/acpi/osl.c
commit 2860de93fc72d5bddc6693a9cde946c4a215aead
Author: Alexey Starikovskiy <[email protected]> Date: Fri May 5 03:23:00 2006 -0400
ACPI: execute Notify() handlers on new thread
http://bugzilla.kernel.org/show_bug.cgi?id=5534
Thanks to Peter Wainwright for isolating the issue. Thanks to Andi Kleen and Bob Moore for feedback. Thanks to Richard Mace and others for testing. Updates by Konstantin Karasyov.
commit 15ff5b428e96d71cd451eb9fb76fef7bf4b4ad74
Merge: 7ca6118... 74ce146...
Author: Konstantin Karasyov <[email protected]>
Date: Mon May 15 03:31:04 2006 -0400
Pull bugzilla-5000 into test branch
Conflicts:
drivers/acpi/bus.c
commit 74ce1468128e299fe6a85e7e78e528e45e72d6d9
Author: Konstantin Karasyov <[email protected]> Date: Mon May 8 08:32:00 2006 -0400
ACPI: create acpi_thermal_resume()
http://bugzilla.kernel.org/show_bug.cgi?id=4364
commit 0feabb01d93e5801d1127416a66cfc3963280bca
Author: Konstantin Karasyov <[email protected]> Date: Mon May 8 00:00:00 2006 -0400
ACPI: create acpi_fan_suspend()/acpi_fan_resume()
http://bugzilla.kernel.org/show_bug.cgi?id=5000
commit 531881d665ca011326bb466b97b07c95dee8d0a1
Author: Len Brown <[email protected]> Date: Mon May 15 03:06:41 2006 -0400
ACPI: pass pm_message_t from acpi_device_suspend() to root_suspend() in case we want to decode it for future use in acpi_op_suspend(..., state)
also, inline new 1-liner static function
http://bugzilla.kernel.org/show_bug.cgi?id=5000
commit 5b3272655a8e8a9a6e2503bc5a88fc9d9c8292a4
Author: Patrick Mochel <[email protected]> Date: Wed May 10 10:33:00 2006 -0400
ACPI: create acpi_device_suspend()/acpi_device_resume()
updated and tested by Konstantin Karasyov
http://bugzilla.kernel.org/show_bug.cgi?id=5000
commit 7ca61187525c66e24a9b5891643fb100797fe1ab
Merge: 9647cff... 9c576ff...
Author: Len Brown <[email protected]>
Date: Mon May 15 02:23:54 2006 -0400
Pull trivial2 into test branch
commit 9c576ff1bc9ab42d06457e68e39c121481138562
Author: KAMEZAWA Hiroyuki <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI add ia64 exports to build acpi_memhotplug as a module
commit 9647cff0e8945d811615861f31fa07a2d7e2a840
Merge: b923a36... 973bf49...
Author: Len Brown <[email protected]>
Date: Mon May 15 02:08:00 2006 -0400
Pull video into test branch
Conflicts:
drivers/acpi/video.c
commit 973bf491a55b825740f0d8d300b50bcd3d6fb8de
Author: Yu, Luming <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: fix potential memory leaks in driver/acpi/video.c
acpi_video_bus_get_one_device() and other functions in driver/acpi/video.c
do
not release allocated memory on remove and on the error path.
commit b923a36ffe8b79d671a1b6b50f8e5776ac530185
Merge: 186de5e... ebd5f2c...
Author: Len Brown <[email protected]>
Date: Mon May 15 01:27:28 2006 -0400
Pull trivial2 into test branch
commit ebd5f2ca811b75f7145fa487748f26430c584a72
Author: Andrew Morton <[email protected]> Date: Sat May 13 22:56:00 2006 -0400
ACPI: asus_acpi_init(): propagate correct return value
commit 186de5e373b30d4ef6c8f4cc28de83f67b571a5a
Merge: f2c9b18... 193de0c...
Author: Len Brown <[email protected]>
Date: Sun May 14 00:40:07 2006 -0400
Pull bugzilla-5737 into test branch
commit f2c9b187dcead8be0a5b6c0a8eb6b7eaae89610a
Merge: 872f84c... 706b5a0...
Author: Len Brown <[email protected]>
Date: Sun May 14 00:05:46 2006 -0400
Pull button into test branch
commit 706b5a0cee2b4d5ee009cedb1bce25c115c9ae4d
Author: Arnaud Patard <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: suppress power button event on S3 resume
commit 872f84c3aa668e55b084a93683e5141e3c161bd3
Merge: 449449a... b683505...
Author: Len Brown <[email protected]>
Date: Sun May 14 00:04:00 2006 -0400
Pull trivial2 into test branch
commit b6835052a6aa00536343b6d2127fc65cd814a040
Author: Andreas Mohr <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: apply "__read_mostly" to processor_idle.c loop module parameters and
friends
make pm_idle_save, nocst and bm_history __read_mostly remove initializer from static 'first_run'.
commit 449449a060b27b05644ddd560ed32baba60ce533
Merge: 744a0ed... 09047e7...
Author: Len Brown <[email protected]>
Date: Sun May 14 00:01:05 2006 -0400
Pull trivial2 into test branch
Conflicts:
drivers/acpi/thermal.c
commit 09047e75f69428dcfa977b326256085154068b65
Author: Vasily Averin <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: fix memory leak in acpi_thermal_add() error path
commit 744a0ed089befc23d28bc89a544a682489960f75
Merge: d5d94d6... 64385f2...
Author: Len Brown <[email protected]>
Date: Sat May 13 23:40:13 2006 -0400
Pull trivial2 into test branch
Conflicts:
drivers/acpi/utils.c
commit 64385f2fd8bc9d8803c8d10dcd391871cb126b77
Author: Vasily Averin <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: fix potential memory leak in acpi_evaluate_integer() error path
commit d5d94d688e2927da74c98d303ac0494ab1abdefb
Merge: 8cecc4a... 561adfa...
Author: Len Brown <[email protected]>
Date: Sat May 13 23:35:54 2006 -0400
Pull dmesg into test branch
commit 561adfafb2dfd57c498a84efb720bb777d109134
Author: Bjorn Helgaas <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: acpi_os_wait_semaphore(): silence complaint
The ASL Acquire operator (17.5.1 in ACPI 3.0 spec) is allowed to time out and return True without acquiring the semaphore. There's no indication in the spec that this is an actual error, so this message should be debug-only, as the message for successful acquisition is.
This used to be an ACPI_DEBUG_PRINT, but it was mis-classified as ACPI_DB_ERROR rather than ACPI_DB_MUTEX, so it got swept up in Thomas' recent patch to enable ACPI error messages even without CONFIG_ACPI_DEBUG.
commit 8cecc4a1e1623ec56b301052728e687cb91120da
Merge: bd79608... 06ea8e0...
Author: Len Brown <[email protected]>
Date: Sat May 13 23:32:15 2006 -0400
Pull acpi_bus_register_driver into test branch
Conflicts:
drivers/acpi/scan.c
commit 06ea8e08ae7e7e450b6a78e7ce5e10b3c5f954ea
Author: Bjorn Helgaas <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: acpi_bus_unregister_driver() returns void
Nobody looks at the return value, and this brings it into line with pci_unregister_driver(), etc. Also removed validation of the driver pointer passed in to register and unregister. More consistent, and we'll find bugs faster if we fault rather than returning an error that's
ignored.
Also makes internal functions acpi_device_unregister() and acpi_driver_detach() void, since nobody uses their returns either.
commit 193de0c79da580eb33a66113b62e2378fc1fb629
Author: KAMEZAWA Hiroyuki <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
ACPI: use for_each_possible_cpu() instead of for_each_cpu()
for_each_cpu() actually iterates across all possible CPUs. We've had
mistakes
in the past where people were using for_each_cpu() where they should have
been
iterating across only online or present CPUs. This is inefficient and possibly buggy.
We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in
the
future.
commit bd79608a92818f6bb442f820a02ae936b753ac87
Merge: 1a0de06... 36e4309...
Author: Len Brown <[email protected]>
Date: Sat May 13 22:38:51 2006 -0400
Pull sem2mutex into test branch
Conflicts:
drivers/acpi/pci_link.c
drivers/acpi/processor_perflib.c
commit 36e430951af0b0d1bdfd50ce22e70079d02646df
Author: Ingo Molnar <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
sem2mutex: acpi, acpi_link_lock
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated automatically via a script as well.
commit 415d320a2384bb80d2be98b1dfa41594e085012d
Author: Len Brown <[email protected]> Date: Sat May 13 21:35:56 2006 -0400
ACPI: delete unused acpi_bus_drivers_lock
acpi_bus_drivers is protected by acpi_device_lock
commit 65c19bbd28cba587d9bd24feccf7272da18481a7
Author: Arjan van de Ven <[email protected]> Date: Thu Apr 27 05:25:00 2006 -0400
sem2mutex: drivers/acpi/processor_perflib.c
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated automatically via a script as well.
commit 1a0de06bca1e2835626d43d01c6867a4584f761d
Merge: 10078a9... 5810452...
Author: Len Brown <[email protected]>
Date: Sat May 13 01:25:24 2006 -0400
Pull trivial2 into test branch
commit 5810452d00ae5fed7f720185d02d79ec9d15b91e
Author: Len Brown <[email protected]> Date: Sat May 13 01:12:15 2006 -0400
ACPI: silence ia64 build warning
When building sim_defconfig, which does not define CONFIG_ACPI arch/ia64/kernel/acpi.c:71: warning: 'acpi_madt_rev' defined but not used
really acpi.c should not be built when CONFIG_ACPI=n...
commit 10078a96f38c6af1f9c84cd2de0f18d44bceae1c
Merge: 9048d8a... 144c87b...
Author: Len Brown <[email protected]>
Date: Fri May 12 05:42:44 2006 -0400
Pull acpica into test branch
commit 9048d8ab0fce4e3c8d2863be4d1c49de71c37d5c
Merge: 42e3a90... f1fc4c3...
Author: Len Brown <[email protected]>
Date: Fri May 12 05:33:58 2006 -0400
Pull kmalloc into test branch
commit f1fc4c3c27cf7fb2df6a9fb32aa9e30960f89fc5
Author: Len Brown <[email protected]> Date: Fri May 12 05:33:22 2006 -0400
ACPI: use kfree() on ia64 instead of acpi_os_free()
commit 42e3a90e5deafdbf482820158fc56696137d1730
Merge: cfab935... e4218b8...
Author: Len Brown <[email protected]>
Date: Fri May 12 05:01:20 2006 -0400
Pull kmalloc into test branch
Conflicts:
drivers/acpi/acpi_memhotplug.c
drivers/acpi/osl.c
drivers/acpi/pci_link.c
drivers/acpi/scan.c
drivers/acpi/video.c
include/acpi/acmacros.h
include/acpi/platform/aclinux.h
commit cfab93573f6d0a65752648279d07282cf4dec2f5
Merge: b5689e1... d8c3291...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:25:23 2006 -0400
merge linus into test branch
commit b5689e13f0b0e33acc7a1705c398c1f22a3bd46f
Merge: 7378614... 2637566...
Author: Len Brown <[email protected]>
Date: Fri May 12 04:21:45 2006 -0400
Pull dmesg into test branch
commit 26375665dd6ba2140790889f1761981dbda6efab
Author: Len Brown <[email protected]> Date: Fri May 12 04:19:11 2006 -0400
ACPI: repair damage from overzealous bus.c cleanup patch
commit e4218b8328d570082de636b865d6e874a451644d
Author: Len Brown <[email protected]> Date: Fri May 12 00:47:25 2006 -0400
ACPI: use kmalloc() and kzalloc(), delete acpi_os_allocate()
Also skip acpi_ut_allocate().
In addition to deleting unnecessary code,
this allows CONFIG_DEBUG_SLAB_LEAK to better track kmalloc users.
commit 6e1f1f6ef94d38b78f56ba728491a94de52cda0b
Author: Len Brown <[email protected]> Date: Thu May 11 01:43:04 2006 -0400
ACPI: delete acpi_in_resume workaround
All this workaround does is silence the may_sleep warning. But that can be silenced by using global system states in resume, just they are used during boot.
commit 1b35d6f69aad8780fbe01d0b21497aa2d616f392
Author: Len Brown <[email protected]> Date: Thu May 11 01:37:05 2006 -0400
ACPI: use kfree(), delete acpi_os_free()
acpi_os_free() serves no purpose.
Inside the ACPICA core, ACPI_FREE() is used. Outside the ACPICA core, native kfree() can be used.
commit a2412c16d852826365d2caf7238dea6fb356c3c7
Author: Len Brown <[email protected]> Date: Thu May 11 01:17:16 2006 -0400
ACPI: disable ACPI_DBG_TRACK_ALLOCATIONS on debug kernel
commit 7378614c128b5ae7034899445537d49464ff0db0
Merge: 3f0bd1a... 9011bff...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:30:29 2006 -0400
Pull bugzilla-5737 into test branch
commit 9011bff4bdc0fef1f9a782d7415c306ee61826c9
Author: Len Brown <[email protected]> Date: Thu May 11 00:28:12 2006 -0400
ACPI: delete newly added debugging macros in processor_perflib.c
commit 3f0bd1a08a992106c11b11d4b1230fcfbe919e24
Merge: 5b31856... 5d882e6...
Author: Len Brown <[email protected]>
Date: Thu May 11 00:18:35 2006 -0400
Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/scan.c
drivers/acpi/thermal.c
commit 5b31856b24f2e2874fa3fd2a87f4bcdcccad6b59
Merge: a4250b0... 0e44dc3...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:58:25 2006 -0400
Pull linus into test branch
Conflicts:
arch/i386/kernel/acpi/boot.c
commit a4250b0b64cfde4d1e8e805d62a75125f2e4a611
Merge: 46ae90f... e6f1f3c...
Author: Len Brown <[email protected]>
Date: Wed May 10 22:56:12 2006 -0400
Pull trivial1 into test branch
commit 5d882e684aafea30c508d86d235327d94e1d38ae
Author: Len Brown <[email protected]> Date: Tue May 9 10:55:56 2006 -0400
ACPI: delete remaining function tracing macros from drivers/acpi/*.c
commit 14394600cdfe0c952ce662a32a68c5c5524d32ac
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/ac.c
commit da95181baf3cf6a2bd81c0c8af1d4c6790703e4f
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/acpi_memhotplug.c
commit b128440ed11d108c375772b7fe9ad46d2ac07084
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/bus.c
commit 61ce94e1f8b16b1694475adba9bf2e07fac02020
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/battery.c
commit a48142ea89e02ed0aba0a481ead1e9302e1a4160
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/button.c
commit d5c11d3ba31d6ead24f27de648dc2dcfde5092e3
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/debug.c
commit f6a08bf2cb06ee3d5be749cf20685b677619bc8e
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/container.c
commit 2cb7f1704275905b7548eee299c554bcdc5cf357
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/fan.c
commit 2ce2b16467f0d43d0f8933eb4821b2369b31888c
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_bind.c
commit 8ec0cbd9386a40a3afffad78334f4403b256dc4b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/hotkey.c
commit ba8acc597cff47fcbbd7b9f0d73a59e784852d8b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/motherboard.c
commit 7e9e8344848d80c9b6e1b9eaf32dd498b48ca5bb
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_irq.c
commit d2606159ffdf8e435f6a7714f8e8910672b944d5
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_root.c
commit 8fb1d47b74e2bad912f74783048b433a1e313799
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/power.c
commit f7c0fce6da5cb68b8b0e203df4ff8ef9b3265105
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/event.c
commit 61e295946a248e43cf244cb24097e284d1d00e35
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/pci_link.c
commit a32283362a7a8e7cff608fe25299a59925daea4d
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/ec.c
commit 4cd5611ca16348b3805ddcf89b97fe670e76faaa
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_idle.c
commit 529758bad4b0f9a8eec56fcc5cad342e9680ea36
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_core.c
commit 91afb9e683426ff238aab159e60f6d6e792e7488
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_perflib.c
commit 9f102deee398ea4dfcee3b2108dc00bc59ea877b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_thermal.c
commit e85eb9a47f19a26b636b58106e309f8db6b2415d
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/processor_throttling.c
commit 4597ac50598b85a09417df531849b80ce2e8e44b
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/system.c
commit 74951d613e758f9709d6f2173107be68f18f77f4
Author: Patrick Mochel <[email protected]> Date: Mon Apr 17 21:22:00 2006 -0400
ACPI: Remove debugging macros from drivers/acpi/thermal.c
commit e6f1f3c54974a30c65ea0b699809d12f0aa04272
Author: Bjorn Helgaas <[email protected]> Date: Mon Apr 3 13:14:00 2006 -0400
ACPI: Don't print internal BIOS names of wakeup devices
Internal BIOS names like these should be exposed to the user as little as possible:
ACPI wakeup devices: C069 C0CE C1D1 C0DE C1D4
Eventually, the "wakeup" property of a device should be exported via the device tree, not by a printk of an internal BIOS name. For the hard-core, these are still available in /proc/acpi/wakeup_devices, just not printed to dmesg.
commit 144c87b4e03759214c362d267e01c2905f1ab095
Author: Len Brown <[email protected]> Date: Sun Apr 2 00:15:39 2006 -0500
ACPI: ia64 buildfix
arch/ia64/hp/common/sba_iommu.c used ACPI_MEM_FREE instead of kfree()
commit 7f048801f4a6767433d1aeefd9c24372515265f8
Author: Len Brown <[email protected]> Date: Sat Apr 1 23:45:39 2006 -0500
ACPI: ia64 buildfix
commit 46ae90f0b636c22f05d46ea7a10f451f1034d939
Merge: 9d3482d... e4513a5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:18:22 2006 -0500
Pull acpi_bus_register_driver into test branch
Conflicts:
drivers/acpi/asus_acpi.c
commit 9d3482d05b2bc317ef03013626248aff6091065a
Merge: e560d25... 5e15b92... 9224a86... eefa27a... ff2fc3e... 1300124... cd090ee... 1c6e7d0... c12ea91...
Author: Len Brown <[email protected]> Date: Sat Apr 1 23:15:50 2006 -0500
merge acpi_in_resume address-range cpu-hotplug ec Kconfig motherboard
pnpacpi trivial1 into test
commit e560d2547a203cb822d490f4be8ad65b75244b6f
Merge: 7b6efc8... 7e1f19e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 23:15:08 2006 -0500
merge bugzilla-5737 into test
commit c12ea918ee175ceb3a258cd81f1c43e897d0c0bc
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
x86_64: Remove stale lapic definition from apicdef.h
commit eefa27a93a0490902f33837ac86dbcf344b3aa29
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Allow hot-add of ejected processor
acpi_eject_store() didn't trim processors, causing subsequent hot-add to fail.
commit ff2fc3e9e3edb918b6c6b288485c6cb267bc865e
Author: Jiri Slaby <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: EC acpi-ecdt-uid-hack
On some boxes ecdt uid may be equal to 0, so do not test for uids
equality,
so that fake handler will be unconditionally removed to allow loading the real one.
See http://bugzilla.kernel.org/show_bug.cgi?id=6111
commit df42baa0d8e54df18dd9366dd7c93d6be7d5d063
Author: Ashok Raj <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: build fix for u8 cpu_index
Local apic entries are only 8 bits, but it seemed to not be caught with u8 return value result in the check
cpu_index >= NR_CPUS becomming always false.
drivers/acpi/processor_core.c: In function `acpi_processor_get_info':
drivers/acpi/processor_core.c:483: warning: comparison is always false due
to limited range of data type
commit 200739c179c63d21804e9e8e2ced265243831579
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: remove __init/__exit from Asus .add()/.remove() methods
Even though the devices claimed by asus_acpi.c can not be hot-plugged, the driver registration infrastructure allows the .add() and .remove() methods
to
be called at any time while the driver is registered. So remove __init
and
__exit from them.
commit 5e15b92d07fb11490c886c5dd7567f523ea43e2d
Author: Davi Arnaut <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: acpi_os_acquire_object (GFP_KERNEL) called with IRQs disabled
through suspend-resume
acpi_os_acquire_object() gets called, with IRQs disabled, from:
Debug: sleeping function called from invalid context at mm/slab.c:2499 in_atomic():0, irqs_disabled():1
[<c01462f3>] kmem_cache_alloc+0x40/0x4f [<c0202c85>]
acpi_os_acquire_object+0xb/0x3c
[<c02171b1>] acpi_ut_allocate_object_desc_dbg+0x13/0x49 [<c021704b>]
acpi_ut_create_internal_object_dbg+0xf/0x5e
[<c02136d4>] acpi_rs_set_srs_method_data+0x3d/0xb9 [<c021aa3d>]
acpi_pci_link_set+0x102/0x17b
[<c021aecb>] irqrouter_resume+0x1e/0x3c [<c024d921>]
__sysdev_resume+0x11/0x6b
[<c024dbde>] sysdev_resume+0x34/0x52 [<c0251cb7>]
device_power_up+0x5/0xa
[<c0138787>] suspend_enter+0x44/0x46 [<c01386e5>]
suspend_prepare+0x63/0xc1
[<c0138813>] enter_state+0x5e/0x7c [<c013894c>] state_store+0x81/0x8f
[<c01388cb>] state_store+0x0/0x8f [<c0196a0a>]
subsys_attr_store+0x1e/0x22
[<c0196c12>] flush_write_buffer+0x22/0x28 [<c0196c64>]
sysfs_write_file+0x4c/0x71
[<c0196c18>] sysfs_write_file+0x0/0x71 [<c015b2c9>]
vfs_write+0xa2/0x15a
[<c015b42c>] sys_write+0x41/0x6a [<c0102e75>] syscall_call+0x7/0xb The patch also fixes a missing check for NULL return from acpi_os_acquire_object().
commit 9224a867c497053842dc595e594ca6d32112221f
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
HPET: fix ACPI memory range length handling
ACPI address space descriptors contain _MIN, _MAX, and _LEN. _MIN and_MAX
are the bounds within which the region can be moved (this is clarified in Table 6-38 of the ACPI 3.0 spec). We should use _LEN to determine the
size
of the region, not _MAX - _MIN + 1.
commit 459c7266d7a5c1730169258217e25fdd1b7ca854
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: fix memory hotplug range length handling
Address space descriptors contain _MIN, _MAX, and _LEN. _MIN and _MAX are the bounds within which the region can be moved (this is clarified in
Table
6-38 of the ACPI 3.0 spec). We should use _LEN to determine the size of the region, not _MAX - _MIN + 1.
commit 1a36561607abf1405b56a41aac2fd163429cd1f8
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: simplify scan.c coding
No functional changes; just remove leftover, unused "buffer" and simplify control flow (no need to remember error values and goto the end, when we
can
simply return the value directly).
commit e4513a57ef719d3d6d1cee0ca4d9f4016aa452bb
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: fix sonypi ACPI driver registration to unregister on failure
Remove the assumption that acpi_bus_register_driver() returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).
This also fixes a bug: if sonypi_acpi_driver was registered but found no devices, sonypi_exit() did not unregister it.
commit 578b333bfe8eb1360207a08a53c321822a8f40f3
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: update asus_acpi driver registration to unload on failure
Remove the assumption that acpi_bus_register_driver() returns the number
of
devices claimed. Returning the count is unreliable because devices may be hot-plugged in the future (admittedly not applicable for this driver).
Since the hardware for this driver is not hot-pluggable, determine whether
the
hardware is present by noticing calls to the .add() method. It would be better to probe the ACPI namespace for the ASUS HIDs, and load the driver
only
when we find one, but ACPI doesn't support that yet.
I don't have an ASUS laptop to test on, but on my HP dl360, it does report
the
appropriate error when attempting to load the module:
$ sudo insmod drivers/acpi/asus_acpi.ko
insmod: error inserting 'drivers/acpi/asus_acpi.ko': -1 No such device
commit 9d9f749b316ac21cb59ad3e595cbce469b409e1a
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: make acpi_bus_register_driver() return success/failure, not device
count
acpi_bus_register_driver() should not return the number of devices
claimed.
We're not asking to find devices, we're making a driver available to
devices,
including hot-pluggable devices that may appear in the future.
I audited all callers of acpi_bus_register_driver(), and exceptasus_acpi.c
and sonypi.c (fixed in previous patches), all either ignore the return
value
or test only for failure (<0).
commit cd090eedd85256829f762677d0752a846c1b88b9
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port}
Add "ACPI" to motherboard resource allocation names, so people have a clue
about where to look. And remove some trailing spaces.
Changes these /proc/iomem entries from this:
ff5c1004-ff5c1007 : PM_TMR
ff5c1008-ff5c100b : PM1a_EVT_BLK
ff5c100c-ff5c100d : PM1a_CNT_BLK
ff5c1010-ff5c1013 : GPE0_BLK
ff5c1014-ff5c1017 : GPE1_BLK
to this:
ff5c1004-ff5c1007 : ACPI PM_TMR
ff5c1008-ff5c100b : ACPI PM1a_EVT_BLK
ff5c100c-ff5c100d : ACPI PM1a_CNT_BLK
ff5c1010-ff5c1013 : ACPI GPE0_BLK
ff5c1014-ff5c1017 : ACPI GPE1_BLK
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Len Brown <[email protected]>commit 81507ea9cfa64e9851b53e0fefebfa776eda9ecb
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: request correct fixed hardware resource type (MMIO vs I/O port)
ACPI supports fixed hardware (PM_TMR, GPE blocks, etc) in either I/O port or MMIO space, but used to always request the regions from I/O space because it didn't check the address_space_id.
Sample ACPI fixed hardware in MMIO space (HP rx2600), was incorrectly reported in /proc/ioports, now reported in /proc/iomem:
ff5c1004-ff5c1007 : PM_TMR
ff5c1008-ff5c100b : PM1a_EVT_BLK
ff5c100c-ff5c100d : PM1a_CNT_BLK
ff5c1010-ff5c1013 : GPE0_BLK
ff5c1014-ff5c1017 : GPE1_BLK
commit 1c6e7d0aeecac38e66b1bb63e3eff07b2a1c2f2c
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
PNPACPI: whitespace cleanup
Tidy up whitespace. No functional change.
commit b5f2490b6e3317059e87ba40d4f659d1c30afc1f
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
PNPACPI: remove some code duplication
Factor out the duplicated switch from pnpacpi_count_resources() and pnpacpi_type_resources(). Remove the unnecessary re-initialization of resource->type and length from all the encode functions (id and length are originally set in the pnpacpi_build_resource_template() -> pnpacpi_type_resources() path).
commit 1acfb7f2b0d460ee86bdb25ad0679070ec8a5f0d
Author: Bjorn Helgaas <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500
PNPACPI: fix non-memory address space descriptor handling
Fix resource_type handling for QWORD, DWORD, and WORD Address Space Descriptors. Previously we ignored the resource_type, so I/O ports and
bus
number ranges were incorrectly parsed as memory ranges.
Sample PCI root bridge resources from HP rx2600 before this patch:
# cat /sys/bus/pnp/devices/00:02/resources
state = active
mem 0x0-0x1f
mem 0x0-0x3af
mem 0x3e0-0x1fff
mem 0x80000000-0x8fffffff
With this patch:
# cat /sys/bus/pnp/devices/00:02/resources
state = active
io 0x0-0x3af
io 0x3e0-0x1fff
mem 0x80000000-0x8fffffff
mem 0x80004000000-0x80103fffffe
Changes:
0x0-0x1f PCI bus number range was incorrectly reported as memory, now
not reported at all
0x0-0x3af I/O port range was incorrectly reported as memory
0x3e0-0x1fff I/O port range was incorrectly reported as memory
0x80004000000-0x80103fffffe memory range wasn't reported at all because
we only support PNP_MAX_MEM (4) memory resources
commit 7e1f19e50371e1d148226b64c8edc77fec47fa5b
Author: Andrew Morton <[email protected]> Date: Tue Mar 28 17:03:00 2006 -0500
ACPI: UP build fix for bugzilla-5737
cpu_online_map doesn't exist if !CONFIG_SMP.
commit 1300124f69cafc54331bc06e968a8dd67863f989
Author: Adrian Bunk <[email protected]> Date: Tue Mar 28 17:04:00 2006 -0500
ACPI: Kconfig: ACPI should depend on, not select PCI
Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are possible.
This patch also fixes the options select'ing ACPI to also select PCI.
commit 7b6efc8b701de5de4ec11d13fcee05b2ac3c1550
Merge: 7bddf82... 683aa40...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 20:54:11 2006 -0500
merge linus into test branch
commit 7bddf826d950dee0e0b3400cc45f6786ed4e5e75
Merge: 2ac9a40... f9ea7fd...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:30:10 2006 -0500
Pull dmesg into test branch
Conflicts:
drivers/acpi/processor_core.c
drivers/acpi/video.c
commit 2ac9a40c2d27754eab5f24a7b24a9dc144ce10d3
Merge: 2d50670... 9cfda2c... 0eacee5...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:55 2006 -0500
Pull novell-bugzilla-156426 bugzilla-5452 into test branch
commit 2d50670edd7b34cfbef2683ff6fbe8103d4c2d31
Merge: ab87bbd... 6665bda...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:27:32 2006 -0500
Pull trivial into test branch
commit ab87bbd9264362ec955414cc7b617cf088a5d978
Merge: 1900d67... ec7381d...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:24:29 2006 -0500
Pull acpica into test branch
commit 1900d6702264e1193873bf849f20fe130e71d60b
Merge: 7d2c215... ffd642e...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:23:50 2006 -0500
Pull bugzilla-5653 into test branch
Conflicts:
arch/x86_64/kernel/acpi/processor.c
commit 7d2c215b6bcf746b940224bde9f0c7b64048b1b1
Merge: a0f0678... d52bb94...
Author: Len Brown <[email protected]>
Date: Sat Apr 1 05:22:23 2006 -0500
Pull bugzilla-5737 into test branch
commit ec7381d6bfd3e7b8d2880dd5e9d03b131b0603f6
Author: Len Brown <[email protected]> Date: Sat Apr 1 05:12:23 2006 -0500
ACPI: inline trivial acpi_os_get_thread_id()
acpi_os_get_thread_id() is used only for debugging code that is not enabled on Linux, so stub it out.
commit 8313524a0d466f451a62709aaedf988d8257b21c
Author: Bob Moore <[email protected]> Date: Tue Oct 3 00:00:00 2006 -0400
ACPI: ACPICA 20060310
Tagged all external interfaces to the subsystem with the new ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL macro. The default definition is NULL.
Added the ACPI_THREAD_ID type for the return value from acpi_os_get_thread_id(). This allows the host to define this as necessary to simplify kernel integration. The default definition is ACPI_NATIVE_UINT.
Valery Podrezov fixed two interpreter problems related to error processing, the deletion of objects, and placing invalid pointers onto the internal operator result stack.
http://bugzilla.kernel.org/show_bug.cgi?id=6028
http://bugzilla.kernel.org/show_bug.cgi?id=6151
Increased the reference count threshold where a warning is emitted for large reference counts in order to eliminate unnecessary warnings on systems with large namespaces (especially 64-bit.) Increased the value from 0x400 to 0x800.
Due to universal disagreement as to the meaning of the 'c' in the calloc() function, the ACPI_MEM_CALLOCATE macro has been renamed to ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and ACPI_FREE.
commit ea936b78f46cbe089a4ac363e1682dee7d427096
Author: Bob Moore <[email protected]> Date: Fri Feb 17 00:00:00 2006 -0500
ACPI: ACPICA 20060217
Implemented a change to the IndexField support to match the behavior of the Microsoft AML interpreter. The value written to the Index register is now a byte offset, no longer an index based upon the width of the Data register. This should fix IndexField problems seen on some machines where the Data register is not exactly one byte wide. The ACPI specification will be clarified on this point.
Fixed a problem where several resource descriptor types could overrun the internal descriptor buffer due to size miscalculation: VendorShort, VendorLong, and Interrupt. This was noticed on IA64 machines, but could affect all platforms.
Fixed a problem where individual resource descriptors were misaligned within the internal buffer, causing alignment faults on IA64 platforms.
commit 52fc0b026e99b5d5d585095148d997d5634bbc25
Author: Bob Moore <[email protected]> Date: Mon Oct 2 00:00:00 2006 -0400
[ACPI] ACPICA 20060210
Removed a couple of extraneous ACPI_ERROR messages that appeared during normal execution. These became apparent after the conversion from ACPI_DEBUG_PRINT.
Fixed a problem where the CreateField operator could hang if the BitIndex or NumBits parameter referred to a named object. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5359
Fixed a problem where a DeRefOf operation on a buffer object incorrectly failed with an exception. This also fixes a couple of related RefOf and DeRefOf issues. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5360
http://bugzilla.kernel.org/show_bug.cgi?id=5387
http://bugzilla.kernel.org/show_bug.cgi?id=5392
Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead of AE_STRING_LIMIT on an out-of-bounds Index() operation. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5480
Implemented a memory cleanup at the end of the execution of each iteration of an AML While() loop, preventing the accumulation of outstanding objects. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5427
Eliminated a chunk of duplicate code in the object resolution code. From Valery Podrezov.
http://bugzilla.kernel.org/show_bug.cgi?id=5336
Fixed several warnings during the 64-bit code generation.
commit 46358614ed5b031797522f1020e989c959a8d8a6
Author: Len Brown <[email protected]> Date: Fri Mar 31 02:16:19 2006 -0500
Revert "[PATCH] ACPI: fix vendor resource length computation"
fixed in a different way by a subsequent ACPICA patch
This reverts 35b73ceb9a7d10c81bd9e79e8485f7079ef2b40e commit.
commit 6665bda76461308868bd1e52caf627f4cb29ed32
Author: Adrian Bunk <[email protected]> Date: Sat Mar 11 10:12:00 2006 -0500
[ACPI] drivers/acpi/video.c: fix error path NULL pointer dereference
The Coverity checker spotted this bug in
acpi_video_device_lcd_query_levels().
commit fdc136ccd3332938e989439c025c363f8479f3e6
Author: Dave Jones <[email protected]> Date: Wed Mar 8 22:12:00 2006 -0500
[ACPI] fix possible acpi thermal leak in failure path
Coverity: #601
commit a1f9e65e2085e0a87f28a4d5a8ae43b32c087f24
Author: Len Brown <[email protected]> Date: Wed Jan 25 23:47:36 2006 -0500
[ACPI] document cmdline acpi_os_name=
This can sometimes be used to work around broken BIOS. Use "Microsoft Windows" to take the same path through the BIOS as Windows98 would.
The default is "Microsoft Windows NT", which is what NT and later versions of Windows use, and is the most tested path through most BIOS.
Set it to anything else, including "Linux", at your own risk, as it seems that virtually no BIOS has been tested with anything but the two options above.
Note that this uses the legacy _OS interface, so we don't expect this to ever change.
commit 1fee94034917aa711fcbd4ebf4c36f7ebd9fa7d6
Author: Irwan Djajadi <[email protected]> Date: Fri Jan 20 15:28:00 2006 -0500
[ACPI] drivers/acpi/hotkey.c: check kmalloc return value
commit 0eacee585a89ce5827b572a73a024931506bef48
Author: Len Brown <[email protected]> Date: Fri Mar 31 00:37:23 2006 -0500
ACPI: enable BIOS warning
http://bugzilla.kernel.org/show_bug.cgi?id=5452
commit 9cfda2c94df61c9f859b474abe774c65a4464d0a
Author: Andi Kleen <[email protected]> Date: Mon Mar 27 02:24:32 2006 -0500
[ACPI] fix "nolapic" flag in ACPI mode
commit d52bb94d56676acd9bdac8e097257a87b4b1b2e1
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
Enable P-state software coordination via _PDC
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit c52851b60cc0aaaf974ff0e49989fb698220447d
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for speedstep-centrino
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit 09b4d1ee881c8593bfad2a42f838d85070365c3e
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for acpi-cpufreq
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit 3b2d99429e3386b6e2ac949fc72486509c8bbe36
Author: Venkatesh Pallipadi <[email protected]> Date: Wed Dec 14 15:05:00 2005 -0500
P-state software coordination for ACPI core
http://bugzilla.kernel.org/show_bug.cgi?id=5737
commit ffd642e748c867a7339b57225b8bf8b9a0dcd9c5
Author: David Shaohua Li <[email protected]> Date: Wed Feb 8 17:35:00 2006 -0500
[ACPI] enable SMP C-states on x86_64
http://bugzilla.kernel.org/show_bug.cgi?id=5653
commit f9ea7fd8be9827791f407ca1191ff70ec25eb2d9
Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Print error message if remove/install notify handler fails
commit b60e49b2383db0334bef1f0d9cdad9bec2336050
Author: Thomas Renninger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros
commit 1ca218d3bd6acca0922a349cb76e3244d27ebfba
Author: Thomas Renniger <[email protected]> Date: Fri Jun 2 15:58:00 2006 -0400
[ACPI] Enable ACPI error messages w/o CONFIG_ACPI_DEBUG