From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 07C212EEE6C for ; Mon, 31 Aug 2026 19:11:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788203514; cv=none; b=NrqBlbI6Jvlc1Wyp3CC8hd309Oy3S7PtzmWTyVlJmNEXw3DB0PPFxzDU/iiSWiXYAlKPZy+5CE1yHtF/SG1/Fe47A0DkL+/fQIXhAjc02wgoVkQLGpTOu09CD4yVhWeYLZQ6ZehcdHWscE5wpMmpKsNu+FbWY18gcCadFaCAY3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788203514; c=relaxed/simple; bh=FXXEx4MCYHMjoxsymbkUfncpijpehd9wrTIFJ4PF3ko=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bt1U5OA/2rqk61+Fw6jtXsXliXeQMDyEuleBbArcnMy1Evc1t31mkAK5rpswuzmvrWWtRkkMaMlQuRO+jp0kqsNZfvuZF9VVH1diSH/lauGiyD83owuiyhp9Bmfu42WOfp9uVPG+6aTbIBRSXhiS6uU1mlODZz7XPEgzwhD6FRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gopcgmuj; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gopcgmuj" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-49b8e527d63so495025e9.2 for ; Mon, 31 Aug 2026 12:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1788203511; x=1788808311; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=160ghW89x6vVgcdXm0ih8CF8apLHqLlHRmefcz3+9KE=; b=gopcgmujNuj9AK+jElL2BIRO/PFcQXLVhNE6qzB4y4gNE5hHBOuFjVrOU8gtJVfbtu uVshklIfiElQTkAD3YZ35xTFCHIdGlE/QqPqEKgZnlOlQLQ2Bah2xn3cRHCSTDbjpP+E CmPVxujrcGqt87MWNdTIeep3Rinyz/L38D9oJJht3fIhFkQF1I4vRBfytMwOf0mkG4jh tweKGG6g2Y8G0jsX+MQozPLz7VesGA6ftLiZ6yPgUUSLSSb9OffXDL4jbTswGSRJo+Td bVmt2ECTAqd3EkHQAn9H9Rq1xwrsJKJMtte6SB2UFoTMDBpiQZPtPHrVQozmEjCnRgUx XtOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788203511; x=1788808311; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=160ghW89x6vVgcdXm0ih8CF8apLHqLlHRmefcz3+9KE=; b=qPOjmMhIooL/Bytdh9EesFdcIUDBAXM8fprLt7GAZt/cBLC6PhAi4U7GyziOGV8Dkg J0d5/UEwYZJSfYiVaCdGapX2QHbvXi0H902EYhTluyyrmOuzkia2T8xMw7rGIrEuBCLY PCCLVVSEmUQxpvW03pC/Q826K74htxZc/B38tcWdSiW6Sfk6VcO2XujN7VgwuL2L4zoa CqQvbV3+tcvFHGw/DmLQegNPJCYDSOJ8JOx/603u0IGw2cfhOQd7+eKE64ycOKA6G51x V9WB0PyPRquznQ+k4ZYFQSOkTKJ4UgEregafUaTM0HHz4kzEplwJu61T+kAUDKCr9KRA /jUw== X-Forwarded-Encrypted: i=1; AHgh+RrJsizv9Ur+Ta4gRqQl9424LZhMF6sHCw+aAU1mztNVj6Zm2YaKK/6qia7q7gFvUA86cXLeIbx6r3c058M=@vger.kernel.org X-Gm-Message-State: AFuF++kCKxGJCP5jcbyjGjZlNIubk/GNDRHU6bhSkEJA1GiNXMBLMufA +BY9RRLpYOtToXupo0pin9yEXmWC9kT1YfVrVdgcn/E/aFY1qzxDIdhYgHOnd5OnohYCE40kOaV xlt7/KV4= X-Gm-Gg: AR+sD11lHxkzqENY2tHC0bD0xL4WY5MUAt4RY3KKyu1r2YeH5Ynm4T/D7uZS/D90Y8b hu4RgSN+OQ/EIiz/iVkyOzJy7GBhioF4CqxWVyUVY3DLaEQyOp5+almvcBHUriFHqe9A4uGFiXO NnsczRoyU0eGX7vd5BJXMYXMzFiggjUnq/URNxSD09Fn1SVBauHZpEPDadq1NsYkDdCq+UvZMkl oJScJz5ZuGlakhy2HmuoavTPOaDmLnU233k+UfRpR65WN0l9igHcIlevVrBxL2IR0W8CEC/FVq3 WSBbO2rJNk2158g/oTCVIg2F7X0hklxqvnqzDo7PdrBnBr3lBKzJwdeGAF4WXAZS7Dx+yhopvz0 8cz7GdsbsDb7N/rsbDhzOJSPSw1Zlz76LUHVcxnpyUEKSmWNqrhjqRHujqSu4ioskLDYzy4+fcs BEIBo7EyhAWpdFnSgR6kX/n+1C+atej2u8vqc/1xgxQz3x15PVG1U8zez4gZGmaU78p862S5OUs Q== X-Received: by 2002:a05:600c:354b:b0:495:4d88:e630 with SMTP id 5b1f17b1804b1-49b91c4fb4amr418655005e9.10.1788203511166; Mon, 31 Aug 2026 12:11:51 -0700 (PDT) Received: from linaro.org ([2a02:2454:ff24:7241:bd4d:644d:33b9:dc56]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482fbb28492sm23543129f8f.31.2026.08.31.12.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 12:11:50 -0700 (PDT) Date: Mon, 31 Aug 2026 21:11:45 +0200 From: Stephan Gerhold To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Pearson Subject: Re: [PATCH 2/3] arm64: dts: qcom: hamoa-crd: Add thermal control Message-ID: References: <20260830-hamoa-sys-therm-v1-0-27108c40fba5@oss.qualcomm.com> <20260830-hamoa-sys-therm-v1-2-27108c40fba5@oss.qualcomm.com> 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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Aug 31, 2026 at 01:14:06PM -0500, Bjorn Andersson wrote: > On Mon, Aug 31, 2026 at 06:11:14PM +0200, Stephan Gerhold wrote: > > On Mon, Aug 31, 2026 at 09:20:14AM -0500, Bjorn Andersson wrote: > > > On Mon, Aug 31, 2026 at 10:58:56AM +0200, Stephan Gerhold wrote: > > > > On Sun, Aug 30, 2026 at 09:02:03PM +0000, Bjorn Andersson wrote: > [...] > > I have been working on finishing up my corresponding patch for the T14s > > (which is something I can still test unlike the CRD). That one is > > unfortunately currently stuck because the SYS_THERMx mapping really is > > different from the CRD and even the schematics are not sufficient to > > understand where each sensor is located. The mapping seems to be > > different from the CRD, unfortunately. > > > > Yes, each design have their own sensor setup, but at least if we land > this we have a reference for the mechanism. > > Would certainly be nice to get the T14s pieces landed though. And I > would consider it to be perfectly fine to not fully replicate the > Windows/ACPI setup - since we don't have the additional layers. > Indeed. I tried contacting Mark Pearson a few weeks ago to get some more details (since he offered his help in [1]), but unfortunately he did not reply so far. I'll recheck the info I've already guessed so far and will see if this is sufficient to add some basic thermal throttling. [1]: https://lore.kernel.org/linux-arm-msm/ea0b329e-ab3e-4655-8f27-e7a74784302a@app.fastmail.com/ > I did peek at the Dell XPS13 DSDT and I see the same problem there. > > > The ACPI side is also extra tricky because it takes the thermal > > thresholds for the thermal zones through some lookup table in a random > > firmware memory region, which is also applied depending on the selected > > fan profile (for the T14s: "low power", "balanced", "performance"). > > I think we need to just treat the current ACPI situation as > "inspiration", do some measurements and provide something that seems to > work for DT/Linux. > > And if nothing else, it's going to be way better than what we have now > (i.e. nothing). > Agreed. Thanks, Stephan