Skip to content

Fix for platform profile issues on USB-C-only models

Armin Wolf lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2platform/x86: bitland-mifs-wmi: Detect failed function callsDocumentation/wmi/devices/bitland-mifs-wmi.rst drivers/platform/x86/bitland-mifs-wmi.c+110 -910 replies
2/2platform/x86: bitland-mifs-wmi: Treat WMI_FN_SYSTEM_AC_TYPE as optionalDocumentation/wmi/devices/bitland-mifs-wmi.rst drivers/platform/x86/bitland-mifs-wmi.c+7 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchMartiya Aryan Mehr
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Fix for platform profile issues on USB-C-only models

After looking thru the ACPI tables of various people having issues with the bitland-mifs-wmi driver, i came to the following conclusions:

1. There seem to be multiple flavors of the Mifs interface, distinguishable by small changes inside their WMI MOF definitions

2. The buffer format used to communicate with the ACPI-WMI firmware operates differently than previously thought.

This patch series addresses the second point I am aware that there exist multiple outstanding patch series that partially overlap with this one. All of those patch series still rely on the incorrect buffer format currently being used by the driver, so i suggest that this patch series be used as a new base for future patches.

All patches have been tested by a user on his Redmi Book Pro 16 2024.

Armin Wolf (2):
platform/x86: bitland-mifs-wmi: Detect failed function calls platform/x86: bitland-mifs-wmi: Treat WMI_FN_SYSTEM_AC_TYPE as
optional

 .../wmi/devices/bitland-mifs-wmi.rst          |  64 +++++---
 drivers/platform/x86/bitland-mifs-wmi.c       | 146 +++++++++---------
 2 files changed, 117 insertions(+), 93 deletions(-)
Signature · 1 line
2.39.5