From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AAC4C51FCC1; Wed, 14 Oct 2026 13:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984442; cv=none; b=hL7h0n5SSFx/tenl9PqCYwJOI2VGClN8WCngejf9g/dWeMIqKSd0pIocUEi3sh8a1HsrhBIoODfDheowvDhj9WfyluGz1mSbbkSMy+iYV+qszhffo/LAtWFO3h0KEDfw+42EZwWbC4aCcS2nYv3wbbj1wvM/eLXQ5zO+JCb8I0Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791984442; c=relaxed/simple; bh=kLBILYQiFvPtL2kDoHfHry5uv/u57Z4w9gzfs3e/Ems=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=lEp0jOD9eioD6mP+60t+S16utIQf4DPlI539Rw9vuo6ptzlCW2cwoHc03yFcY/TfhHQMwu0lLTMkXiemdSgd3rIYTlYNMb1TebREoRA2a9jHDmSOvZSdyafX1G5U2LjTppt7CTwQ12wjTlWGCm7MuWBFFcRemjxrqE8yLDQPdTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=ClWNef+X; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="ClWNef+X" Received: from mail01.layka.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4E44681114; Wed, 14 Oct 2026 15:27:14 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id HH3WXvket3_T; Wed, 14 Oct 2026 15:27:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1791984433; bh=kLBILYQiFvPtL2kDoHfHry5uv/u57Z4w9gzfs3e/Ems=; h=From:To:Cc:Subject:Date; b=ClWNef+XA08Pn4ra1cY7Sktg7XiKTukWd7L0B/81UH/LPxSi5BFDOL8j0kwGhd8Rg 3yuq+SzDJQNeem7E8h1a6Ml/2kzGF9HSjyoG0BRMA/LD4cVaxlJcsrOQmvNU1ylcuu vZ8LdKG5nogOK47SOoo+an50ImPuHUsPEUEiSzPAhuiorVEIiRnlcnQvHFgWyvvZ0N 0nydOEtR+hLJlAyPMZX4nD0QDwVcdPJm2OTiIeoK7YumwhtEKcIiTzEdG1uVjfuRYx PVusNF6UEpXE7oLyL2gFzMXzD4dZfsH13cq3Q5ml/tx9m4rMN+bKqnFDK7nXJLQf3h NpjxfX7FnM0Og== From: =?UTF-8?q?Ali=20Ahmet=20Memi=C5=9F?= To: "Rafael J . Wysocki" Cc: Len Brown , Daniel Lezcano , Zhang Rui , Lukasz Luba , Armin Wolf , Hans de Goede , Rong Zhang , Charis Stratakis , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, acpica-devel@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] ACPI: Serialize battery methods and INT3403 _TMP Date: Wed, 14 Oct 2026 16:26:56 +0300 Message-ID: <20261014132703.93355-1-aliamemis@disroot.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As discussed in [1], add exclusive variants of acpi_evaluate_object() and acpi_evaluate_integer() and use them for the battery methods and INT3403 _TMP, which interleave badly on ThinkPad P1 Gen2 and P53. UCSI (bko221065) is not converted. There the contention is on a firmware AML mutex that _Qxx EC queries also take, which a wrapper around acpi_evaluate_object() cannot cover, and Rong's notification merging in 7.3 already reduces it on the battery side. [1] https://lore.kernel.org/all/CAJZ5v0gS4agVUkCO6M=VW4Wi2y1-s+k23bpzmX9aAZ0Rsv4z9Q@mail.gmail.com/ Ali Ahmet Memiş (3): ACPI: utils: Add exclusive AML evaluation helpers ACPI: battery: Evaluate battery methods exclusively thermal: intel: int340x: Evaluate _TMP exclusively drivers/acpi/battery.c | 17 +++--- drivers/acpi/utils.c | 56 +++++++++++++++++-- .../int340x_thermal/int340x_thermal_zone.c | 3 +- include/acpi/acpi_bus.h | 8 +++ 4 files changed, 71 insertions(+), 13 deletions(-) base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907 -- 2.55.0