summaryrefslogtreecommitdiff
path: root/tools/lib/python/__init__.py
diff options
context:
space:
mode:
authorAli Ahmet Memiş <aliamemis@disroot.org>2026-10-18 15:23:48 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-10-22 19:05:28 +0200
commitf91c2cd6dbcedf52e227b2eea8d7b99ecbac7552 (patch)
tree25477fbfa2e13282894efc62f6b204f7de668237 /tools/lib/python/__init__.py
parentc4aae727beb23a736c15b8d53e219da29d791065 (diff)
platform/x86: ideapad-laptop: Evaluate ACPI methods exclusively
On some Lenovo IdeaPad and Yoga models, the battery _BIX takes the EC AML mutex and then calls the serialized RDER through RDIF, while GBMD calls RDER first and then takes the EC mutex. When the two run interleaved they deadlock until the mutex acquisition in RDER times out, and GBMD returns garbage that is reported as both charge types being enabled. Evaluate all methods with the exclusive helpers, so that GBMD never runs interleaved with the battery methods. Link: https://bugzilla.kernel.org/show_bug.cgi?id=221065 Link: https://lore.kernel.org/all/58586fa666f09c209f9d7fe8c692a8bdda6d4410.camel@rong.moe/ Signed-off-by: Ali Ahmet Memiş <aliamemis@disroot.org> Reviewed-by: Rong Zhang <i@rong.moe> Cc: All applicable <stable@vger.kernel.org> # 80892972ff23 ACPI: utils: Add exclusive AML evaluation helpers Link: https://patch.msgid.link/20261018122348.679126-1-aliamemis@disroot.org Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/lib/python/__init__.py')
0 files changed, 0 insertions, 0 deletions