Skip to content

Preparations for fixing WMI reprobing issue

Armin Wolf lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v16 patches 4 repliesSuperseded

Changes since v2 from the cover letter

- Drop already merged first patch
- break the paragraphs of the second patch with an empty line

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5platform/x86: wmi: Decouple probe deferring from wmi_block_listdrivers/platform/x86/wmi.c+26 -130 replies
2/5platform/x86: wmi: Fix refcounting of WMI devices in legacy functionsdrivers/platform/x86/wmi.c+107 -600 replies
3/5platform/x86: wmi: Fix probe failure when failing to register WMI devicesdrivers/platform/x86/wmi.c+8 -80 replies
4/5platform/x86: wmi: Fix opening of char devicedrivers/platform/x86/wmi.c+6 -140 replies
5/5platform/x86: wmi: Decouple WMI device removal from wmi_block_listdrivers/platform/x86/wmi.c+14 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] Preparations for fixing WMI reprobing issue

This patch series contains preparations for fixing the WMI reprobing issue discussed here:

https://lkml.kernel.org/[email protected]

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, a Lenovo E51-80, a Acer Aspire E1-731 and a Asus PRIME B650-Plus motherboard and appear to work, but additional feedback especially on the third patch is appreciated.

Changes since v2:
- Drop already merged first patch
- break the paragraphs of the second patch with an empty line

Armin Wolf (5):
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

 drivers/platform/x86/wmi.c | 263 ++++++++++++++++++++++---------------
 1 file changed, 157 insertions(+), 106 deletions(-)

--
2.39.2