Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAFAD4EF152 for ; Wed, 14 Oct 2026 10:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791972121; cv=none; b=IjgOU0z6yQjAzBQWFshWMuVM4gEYNqWgy8/fTWIFY9WaKLHJBfvnB96Qftpx45JiZg95W/uChwNK6otlh5WgXxXvV91SEmwjjsyoL9NZpZH+IFaaAzVHXV3OZVRdkA4zxQ6/OP53RsYbuXn05P435fVYP54thUuzgx9h9YK3vxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791972121; c=relaxed/simple; bh=bxAABMcATBGCVbIdLI2E3IV2T/5FveIz1lB1kdv5BSI=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=hFZ9csuPypKQwjWgpP2Bdg0JoMzmruU86OOoiHSY6Es1EzUirAjNlSOc8iJL+HrnIYsp4kCjmQAu0djCkpy5kBysOvev4QuH4GCnNtBoWkaZ/L5sOujzuDPKaxhi3+Y8cxqgBaS65xIdGvqbobz52yTBWulAKPOVWum4lJUpyUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=XtRtTzbr; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=W/tnWRY8; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="XtRtTzbr"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="W/tnWRY8" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69E8mVPR3000890 for ; Wed, 14 Oct 2026 10:01:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= sPkOAvHjGguK+u1bhI+1A6KtcM2Hij2aa37XKD4T2YE=; b=XtRtTzbreLbENmD4 w9nXdbO9+ui3nKl9oY0BLYee5c0YjQhis4AHR5mDZjszR844X7av0SCOJ0JiebSN cj2uDa9JoFT4XZEEI3q0mp8Zn6FJw2h4P3o+YIt8BKVj+S/6wlK7GC81Zw9kB17z 2D3bc3zpMPhDXdHhWrtJeTX0ma16AzREevUBcPO+7YcnCOPfQkm2w6uMJostm/v/ COTWRZbM0mdvs9XtLz/CjPEG6jPQ8IR0arPxTaOxX500uhNoCLm65ItV6aTe93n2 Pjj133XIbfbRcX105R1GCek4kOAOCOeJcDGyrudOxjDQ/y+arROsXbpw2wOaBtjO tPxB5g== Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4h9sbeucvt-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 14 Oct 2026 10:01:58 +0000 (GMT) Received: by mail-ua1-f71.google.com with SMTP id a1e0cc1a2514c-98c46da4b04so3326343241.0 for ; Wed, 14 Oct 2026 03:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1791972118; x=1792576918; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:subject:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=sPkOAvHjGguK+u1bhI+1A6KtcM2Hij2aa37XKD4T2YE=; b=W/tnWRY8tdKuwCddu1XtkH6g/Qk1QDwBCYNxI5vLe4RymIg/P4HrGmJf0S9XomwU0g U2PAFMNpvBXR5UTO+0hHLFzpCHDr9yLY8Io6Yb9LAgn4UjCK1k52XW/57T9nA2q/wRie zil8qlCPNXwQImtmCj6P2E2SSvGLHkhsnNrmj/+ViVMHDDY7DuiiYT2zDX/swE0ywzvg dbb5I+4D8C411VMbmmXrmZDBapvOz+YdiqAQyA4pXvM244ypTQpEQfcJClx6nQggq85r BdzCPAovyyQ9oOCYylLEXby1vsY9/CIf3mTG/4ixhrI9RqPfox4lHXcYbRuCex2MsSXJ d/XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791972118; x=1792576918; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:subject:from:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sPkOAvHjGguK+u1bhI+1A6KtcM2Hij2aa37XKD4T2YE=; b=23BwQkowqsPXJZKJOPRomITtGDvc8N0pohNn/s/zu/84uf9s4vyilbbnE6JmDGRX2A sAOq9gWsPgHO1GuHoTf5h/4N3gmx5rB3b3qrzUhfzk4NnwZA+feGjEgM7UBtoxm4QJUd kW9omkJSHNqxImdJuhg4xdjwPz2TeC3rBv4SHGksw85aSMipy6GpCJrMpieWhTIkZcNw S9+xW0RmPP8lYvgKWbxKgBsGndP7H1oYJdVszTI1T+PLCJ7jmiqM2EWWPrDLg45Ss16C bcQZFh8pVN3970MFVPRR0VCnVKnd8d/w8X4ocNKCrzO5hx1t9EkDi6Bmu9GaypDK49VJ JfHg== X-Forwarded-Encrypted: i=1; AKwUvBxyBOtd04cSMOyQA+O/v4XMMxkz3jCjqu2g7VmNQFxbE8Rp9I2VjBhO7sojGD+Gzmb7TdA6B7hB0YB9@vger.kernel.org X-Gm-Message-State: AFq9FYK/XrfFABXlvQj5mlgddbAEhFtahCs425U2bq2LBpnSHdGzkkZ1 5NpVKz4dNNau+ELoic67EHPMhKoc4DBBa7O5nutpoINKcaCUKs1Otfo9COE4YJRC2FyYgg6FHq+ j766FX5pttS+M8cCPAwseOYu1vuEq7Gwfmwr2Rm6Qay0GFjXD/38S/H/pPcjeK12y X-Gm-Gg: AYBFou2FUnnaolojy7n4d+m7YYNJGYZVzAbCt+Pae6VTfkkDr3y6vhLbyK2KRqQmYm8 u4dkD4ph+KxAU1WCeII0IhjQP8rFqdCMywtF4vDiVtvLvg4f+zH0fvIwIzgBOvBfJR3WHDPuxns 8Kaw5Cyy9/u0ui6ly4mDLyo48R19Iy0lPyGkS5YPW2MpYUtd3jH+7bOEkwaRNMTqYUrw1OrQIFK 1Gt7OKpKuP6/lTDnqEIeiIQcZgOAqIQbZVhtl1fkRuF09p5Gdx+Gqvgg3j165rLnO9jFK8qiv1y 9kHGpMmKx4vh0KyxvsrIBe0skmOGqOm9nNSchPlDjxm5HiSTULlJdWzT7bT53B7rMimuK11m8fF hMwvdnCQ147i5+PDy/z7xu0qA3UpcZgK0+sSU8Gqt8Cv8UM16o+M0hPowPQNW4MTRLBwc9yWk3g CDWChEB0l6+sJFhMRGNnDl+GY91ByU6+JkL3PNtwpNckOMqW4dX1Mi6LnNNysQEM/gsw== X-Received: by 2002:a05:6122:414e:b0:5c9:a60b:e5a5 with SMTP id 71dfb90a1353d-5e91f4d187amr5598552e0c.16.1791972117757; Wed, 14 Oct 2026 03:01:57 -0700 (PDT) X-Received: by 2002:a05:6122:414e:b0:5c9:a60b:e5a5 with SMTP id 71dfb90a1353d-5e91f4d187amr5598522e0c.16.1791972117285; Wed, 14 Oct 2026 03:01:57 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c31a9ae59f9sm683926066b.80.2026.10.14.03.01.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Oct 2026 03:01:56 -0700 (PDT) Message-ID: Date: Wed, 14 Oct 2026 12:01:55 +0200 Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: johannes.goede@oss.qualcomm.com Subject: Re: [PATCH] ACPI: battery: Re-read battery information in the complete callback To: =?UTF-8?Q?Ali_Ahmet_Memi=C5=9F?= , "Rafael J. Wysocki" Cc: Len Brown , Armin Wolf , Charis Stratakis , linux-acpi@vger.kernel.org, linux-pm@vger.kernel.org, regressions@lists.linux.dev, Mark Pearson , linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <37N_jFulf7n-Z55NfKfE71C_wVPxYvZ0xD_iRUg2fXu7TypDiF5PStQ6siSfVBih6fThg5WoPes8U5ZQpfVm_teMFcUGXFxz2DdMbfSWuws=@proton.me> <20261012225141.13683-1-aliamemis@disroot.org> <044e9df4-1399-4ceb-80f8-f7cfe031d04f@oss.qualcomm.com> <20261013210609.8117-1-aliamemis@disroot.org> Content-Language: en-US, nl In-Reply-To: <20261013210609.8117-1-aliamemis@disroot.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: rUy9EzWPv42VC7dHS1MA2PcsAg51jyJ6 X-Proofpoint-GUID: rUy9EzWPv42VC7dHS1MA2PcsAg51jyJ6 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE0MDAzOSBTYWx0ZWRfX/o6TPaUV9Wah wIRGdePg/v4ALeTv8ALPN6r+RtzqOgga0Y6p+sAaym+1J0tWj21gTcv9o/tD0PSNrlFgpcxh3/H nW7sb8tr47dYOQo1hfenPwcRPv1PpZ7zPxmTmbczSNL4SQoeRjbKeWa2/X+Zrb1GYwMfWtFQOg8 a0XRmmtknjE0jYsjyEh19TLfPCI1lzIkdTzMqknVyuDd+gJcKYzA8JZNLnrrJMqnUez+8hZP49j S2hCwepPL4Q1IuR+lwHsnSDitw3Wu1kHJGPWMjq5rgUaMsJSxC7V5Y9uRtvZeriXoM8B0t3R0ZV YfJ1HL7hMa3LQEB0l5+yzm0NQ4SmQWPJo1Bft3ILlrD4gHVKJce7b3LYvn5BDfFYn+mklw6xTkh hna40X9ig9lGAAZRVI0Tsam0O1OoZIIdlGRN84BT+1UG5BpSpp4KCO0r37sBcDHFGXnAObfdR/9 d5B4OI+LpRw5yRrmr1A== X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE0MDAzOSBTYWx0ZWRfX5KjtQGwxy5Sb gI1lJSwGZfpcSiYnIDrglVcFczzhbLWKVN7LBKK8DqgtMxylh1A2hC8kmC8c14vJHJtdWocqsXo z/OLNhRDTh3M20U9ls931Y3HCzwUMC4= X-Authority-Analysis: v=2.4 cv=U7AHnuru c=1 sm=1 tr=0 ts=6acf5316 cx=c_pps a=KB4UBwrhAZV1kjiGHFQexw==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=VKiBM6ZALRNij_qUCYgA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=o1xkdb1NAhiiM49bd1HK:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-13_01,2026-10-09_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 priorityscore=1501 malwarescore=0 lowpriorityscore=0 adultscore=0 impostorscore=0 bulkscore=0 phishscore=0 suspectscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610140039 Hi, On 13-Oct-26 23:05, Ali Ahmet Memiş wrote: > On Tue, Oct 13, 2026 at 07:20:55PM +0200, Rafael J. Wysocki (Intel) wrote: >> Also, we don't actually know how many "bad" cases there are and so far >> we have identified a few. > > I wrote a script that extracts the ACPI tables from all 208 BIOS > packages in Lenovo's ThinkPad catalog (370 models) and flags methods > that switch the EC page selector (HIID) without BATM while other methods > use it under BATM, and checked the flagged ones by hand. Two BIOSes do > it both with \GTST from _TMP: P1 Gen2 / X1 Extreme Gen2 and P53 / P73. > Apart from those, NVPS on T450 / T450s does it from the NVIDIA GPS > _DSM, which only the out-of-tree NVIDIA driver evaluates. This doesn't > cover races like the UCSI one in bko221065. > > FWIW, the exclusive variant is done. With it the emulated \GTST breaks > neither _BIX after resume nor _BST at run time (0 of 5 and 0 of 1074), > and with only the _TMP side converted both still break (5 of 5 and 421 > of 424). As I just agreed in my reply to Rafael, it looks like we want to go with the exclusive variant for now. Can you post a patch series for the code you've for this now ? Note I guess you're using LLM to help you with this, that is fine, but can you please manually shorten the commit messages of the patches a bit if they were written by LLM? OR instruct it to write "short and concise" commit messages? LLM's tend to write overly verbose commit messages. Note a good commit message is important, but lets try to keep them compact. And the same for the cover-letter. Regards, Hans