[0/6] Preparations for fixing WMI reprobing issue

Message ID 20231007233933.72121-1-W_Armin@gmx.de
Headers
Series Preparations for fixing WMI reprobing issue |

Message

Armin Wolf Oct. 7, 2023, 11:39 p.m. UTC
  This patch series contains preparations for fixing the WMI reprobing
issue discussed here:

https://lkml.kernel.org/1252c8fb-8d5f-98ad-b24a-5fabec2e1c8b@gmx.de

It mainly aims to decouple some parts of the WMI subsystem from the
wmi_block_list, which is going to get replaced in the future. It also
fixes some issues, like a probe failure when failing to register WMI
devices and a potential issue when opening the wmi char device.

The changes where tested on a Dell Inspiron 3505 and appear to work,
but additional feedback especially on the third patch is appreciated.

Armin Wolf (6):
  platform/x86: wmi: Update MAINTAINERS entry
  platform/x86: wmi: Decouple probe deferring from wmi_block_list
  platform/x86: wmi: Fix refcounting of WMI devices in legacy functions
  platform/x86: wmi: Fix probe failure when failing to register WMI
    devices
  platform/x86: wmi: Fix opening of char device
  platform/x86: wmi: Decouple WMI device removal from wmi_block_list

 MAINTAINERS                |   3 +-
 drivers/platform/x86/wmi.c | 263 ++++++++++++++++++++++---------------
 2 files changed, 159 insertions(+), 107 deletions(-)

--
2.39.2