Skip to content

ACPI: Serialize EC queries, UCSI and ideapad methods

Ali Ahmet Memiş acpica-devel linux-acpi linux-usb lkml platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI: utils: Add acpi_evaluate_dsm_exclusive()drivers/acpi/utils.c include/acpi/acpi_bus.h include/linux/acpi.h+47 -180 replies
2/4ACPI: EC: Evaluate _Qxx methods exclusivelydrivers/acpi/ec.c+6 -10 replies
3/4usb: typec: ucsi: acpi: Evaluate _DSM exclusivelydrivers/usb/typec/ucsi/ucsi_acpi.c+6 -20 replies
4/4platform/x86: ideapad-laptop: Evaluate ACPI methods exclusivelydrivers/platform/x86/lenovo/ideapad-laptop.c+17 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] ACPI: Serialize EC queries, UCSI and ideapad methods

This goes on top of [1] and uses its exclusive helpers for the other users of the shared EC mutex in bko221065: the _Qxx methods, the UCSI _DSM and the ideapad-laptop methods, as discussed in [2].

Patches 3 and 4 depend on patch 1 and on [1], so it is probably easiest to take the whole set through the ACPI tree.

The ideapad part is only build-tested, so it would be great if someone with one of the bko221065 machines could try both series together.

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

Ali Ahmet Memiş (4):
ACPI: utils: Add acpi_evaluate_dsm_exclusive()
ACPI: EC: Evaluate _Qxx methods exclusively
usb: typec: ucsi: acpi: Evaluate _DSM exclusively platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively

 drivers/acpi/ec.c                            |  7 ++-
 drivers/acpi/utils.c                         | 54 +++++++++++++-------
 drivers/platform/x86/lenovo/ideapad-laptop.c | 21 ++++++--
 drivers/usb/typec/ucsi/ucsi_acpi.c           |  8 ++-
 include/acpi/acpi_bus.h                      |  3 ++
 include/linux/acpi.h                         |  8 +++
 6 files changed, 76 insertions(+), 25 deletions(-)

base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
prerequisite-patch-id: 4bd123d6caded06beb9a977d502370df046f82aa
prerequisite-patch-id: 19de145660fffa3651defed4e6d536cb78418940
prerequisite-patch-id: 01d8992be9ebc2b28dd3986fe06269eb2fe959f5

Signature · 1 line
2.55.0