ACPI AML helper conversion
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest27 patches 10 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
6 of 27 patches have a Reviewed-by or Acked-by.
| Patch | Mika Westerberg | Mathias Nyman | Jonathan Woithe | Jiri Kosina | Benjamin Tissoires | Daniel Vetter |
|---|---|---|---|---|---|---|
| 1/27 | ||||||
| 2/27 | A-b | A-b | ||||
| 3/27 | ||||||
| 4/27 | A-b | |||||
| 5/27 | ||||||
| 6/27 | ||||||
| 7/27 | ||||||
| 8/27 | ||||||
| 9/27 | ||||||
| 10/27 | ||||||
| 11/27 | A-b | |||||
| 12/27 | ||||||
| 13/27 | ||||||
| 14/27 | ||||||
| 15/27 | A-b | |||||
| 16/27 | ||||||
| 17/27 | ||||||
| 18/27 | ||||||
| 19/27 | ||||||
| 20/27 | ||||||
| 21/27 | ||||||
| 22/27 | ||||||
| 23/27 | A-b | A-b | ||||
| 24/27 | A-b | |||||
| 25/27 | ||||||
| 26/27 | ||||||
| 27/27 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH 00/27] ACPI AML helper conversion
Hi, all,
ACPI has some fine grained helpers for evaluating AML, which can be used to simplify the code a lot.
And there are a couple of new helpers introduced recently, say, acpi_has_method/acpi_execute_simple_method, etc.
This patch set does some cleanup and converts the code to use the AML helpers when possible.
Patch 01/27 ~ Patch 09/27:
converts acpi_evaluate_object() to acpi_execute_simple_method() Patch 10/27 ~ Patch 20/27:
converts acpi_get_handle() to acpi_has_method()
Patch 21/27 ~ Patch 27/27:
converts acpi_evaluate_object() to acpi_evaluate_integer()
Given that there is no functional change in this patch set, and most of the patches are not able for me to test as they are platform driver changes, I just did build test and reboot with acpi_processor, i915 driver loaded on an Lenovo Ultrabook, and everything works well.
Drivers that I've compiled in my build test,CONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_DOCK=yCONFIG_X86_PCC_CPUFREQ=yCONFIG_GPIO_ACPI=yCONFIG_DRM_I915=mCONFIG_DRM_NOUVEAU=m
ONFIG_I2C_HID=mCONFIG_HOTPLUG_PCI=yCONFIG_EEEPC_LAPTOP=yCONFIG_FUJITSU_LAPTOP=yCONFIG_INTEL_RST=mCONFIG_INTEL_SMARTCONNECT=yCONFIG_INTEL_MENLOW=yCONFIG_SONY_LAPTOP=yCONFIG_TOPSTAR_LAPTOP=yCONFIG_ACPI_TOSHIBA=yCONFIG_ACPI_WMI=yCONFIG_PNPACPI=y
Any comments are welcome. :)
thanks,
rui
------------------------------------------------------------------------
arch/x86/platform/olpc/olpc-xo15-sci.c | 9 +-------- drivers/acpi/acpi_processor.c | 6 +++--- drivers/acpi/dock.c | 6 ++---- drivers/cpufreq/pcc-cpufreq.c | 5 ++--- drivers/gpio/gpiolib-acpi.c | 11 ++--------- drivers/gpu/drm/i915/intel_acpi.c | 5 ++--- drivers/gpu/drm/nouveau/nouveau_acpi.c | 6 ++---- drivers/hid/i2c-hid/i2c-hid.c | 16 ++++------------ drivers/pci/hotplug/acpi_pcihp.c | 7 ++----- drivers/pci/pci-acpi.c | 3 +-- drivers/platform/x86/eeepc-laptop.c | 8 +------- drivers/platform/x86/fujitsu-laptop.c | 42 +++++++++--------------------------------- drivers/platform/x86/intel-rst.c | 48 ++++++++---------------------------------------- drivers/platform/x86/intel-smartconnect.c | 27 ++++----------------------- drivers/platform/x86/intel_menlow.c | 7 ++----- drivers/platform/x86/sony-laptop.c | 28 +++++++++------------------- drivers/platform/x86/topstar-laptop.c | 8 ++------ drivers/platform/x86/toshiba_acpi.c | 44 ++++++++++++-------------------------------- drivers/platform/x86/wmi.c | 30 ++++++++---------------------- drivers/pnp/pnpacpi/core.c | 10 +++------- 20 files changed, 79 insertions(+), 247 deletions(-)