Platform-driver-x86 archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] platform/x86: wmi: ACPI improvements
@ 2023-12-18 19:24 Armin Wolf
  2023-12-18 19:24 ` [PATCH v2 1/6] platform/x86: wmi: Remove unused variable in address space handler Armin Wolf
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Armin Wolf @ 2023-12-18 19:24 UTC (permalink / raw
  To: hdegoede, ilpo.jarvinen; +Cc: platform-driver-x86, linux-kernel

This patch series improves the ACPI handling inside the ACPI WMI driver.
The first patch removes an unused variable, while the second patch
changes the order in which the ACPI handlers are removed on shutdown.
The third patch simplifies the error handling during probe by using
devres to manage devie resources, while the next two patches decouple
the ACPI notify handler from the wmi_block_list. The last patch
simplifies yet another ACPI-related function.

All patches have been tested on a Dell Inspiron 3505 and appear to work.

Changes since v1:
- fix ACPI handler devres order

Armin Wolf (6):
  platform/x86: wmi: Remove unused variable in address space handler
  platform/x86: wmi: Remove ACPI handlers after WMI devices
  platform/x86: wmi: Use devres for resource handling
  platform/x86: wmi: Create WMI bus device first
  platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list
  platform/x86: wmi: Simplify get_subobj_info()

 drivers/platform/x86/wmi.c | 143 ++++++++++++++++++-------------------
 1 file changed, 71 insertions(+), 72 deletions(-)

--
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH v2 0/6] platform/x86: wmi: ACPI improvements
@ 2023-12-18 19:55 Armin Wolf
  2023-12-18 19:55 ` [PATCH v2 5/6] platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list Armin Wolf
  0 siblings, 1 reply; 9+ messages in thread
From: Armin Wolf @ 2023-12-18 19:55 UTC (permalink / raw
  To: hdegoede, ilpo.jarvinen; +Cc: platform-driver-x86, linux-kernel

This patch series improves the ACPI handling inside the ACPI WMI driver.
The first patch removes an unused variable, while the second patch
changes the order in which the ACPI handlers are removed on shutdown.
The third patch simplifies the error handling during probe by using
devres to manage devie resources, while the next two patches decouple
the ACPI notify handler from the wmi_block_list. The last patch
simplifies yet another ACPI-related function.

All patches have been tested on a Dell Inspiron 3505 and appear to work.

Changes since v1:
- fix ACPI handler devres ordering

Armin Wolf (6):
  platform/x86: wmi: Remove unused variable in address space handler
  platform/x86: wmi: Remove ACPI handlers after WMI devices
  platform/x86: wmi: Use devres for resource handling
  platform/x86: wmi: Create WMI bus device first
  platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list
  platform/x86: wmi: Simplify get_subobj_info()

 drivers/platform/x86/wmi.c | 143 ++++++++++++++++++-------------------
 1 file changed, 71 insertions(+), 72 deletions(-)

--
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-12-19 15:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-18 19:24 [PATCH v2 0/6] platform/x86: wmi: ACPI improvements Armin Wolf
2023-12-18 19:24 ` [PATCH v2 1/6] platform/x86: wmi: Remove unused variable in address space handler Armin Wolf
2023-12-18 19:24 ` [PATCH v2 2/6] platform/x86: wmi: Remove ACPI handlers after WMI devices Armin Wolf
2023-12-18 19:24 ` [PATCH v2 3/6] platform/x86: wmi: Use devres for resource handling Armin Wolf
2023-12-18 19:24 ` [PATCH v2 4/6] platform/x86: wmi: Create WMI bus device first Armin Wolf
2023-12-18 19:24 ` [PATCH v2 5/6] platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list Armin Wolf
2023-12-18 19:24 ` [PATCH v2 6/6] platform/x86: wmi: Simplify get_subobj_info() Armin Wolf
2023-12-19 15:35 ` [PATCH v2 0/6] platform/x86: wmi: ACPI improvements Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2023-12-18 19:55 Armin Wolf
2023-12-18 19:55 ` [PATCH v2 5/6] platform/x86: wmi: Decouple ACPI notify handler from wmi_block_list Armin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).