Re: [PATCH v1 2/2] arm64: dts: qcom: Enable TSENS support for QCS615 SoC
From: Dmitry Baryshkov
Date: Mon Apr 14 2025 - 06:20:06 EST
On Mon, Apr 14, 2025 at 01:58:12PM +0530, Gaurav Kohli wrote:
> thanks for review!
>
> On 4/12/2025 5:13 AM, Konrad Dybcio wrote:
> > On 4/10/25 4:00 PM, Gaurav Kohli wrote:
> > > Add TSENS and thermal devicetree node for QCS615 SoC.
> > >
> > > Signed-off-by: Gaurav Kohli <quic_gkohli@xxxxxxxxxxx>
> > > ---
> >
> > > + cpuss-0-thermal {
> > > + thermal-sensors = <&tsens0 1>;
> > > +
> > > + trips {
> > > +
> > > + trip-point0 {
> > > + temperature = <115000>;
> > > + hysteresis = <5000>;
> > > + type = "passive";
> > > + };
> > > +
> > > + trip-point1 {
> > > + temperature = <118000>;
> > > + hysteresis = <5000>;
> > > + type = "passive";
> > > + };
> >
> > Please drop the passive trip point for the *CPU* tzones, see
> >
>
> we are using trip-point 0 for cpu idle injection mitigation which i will add
> in subsequent patches, if you are fine i will add cpu idle injection cooling
> map in this series only ?
I'd second Konrad here. Please drop them now and add them in the patch
adding CPUidle injection cooling. Otherwise they are a perfect target
for anybody to clean them away.
> > commit 06eadce936971dd11279e53b6dfb151804137836
> > ("arm64: dts: qcom: x1e80100: Drop unused passive thermal trip points for CPU")
> >
> > and add a single critical point instead, see
> >
> As critical shutdown is already supported by hardware, so we are not
> defining here.
What about letting Linux to know about it and perform a slightly
graceful shutdown?
> > commit 03f2b8eed73418269a158ccebad5d8d8f2f6daa1
> > ("arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown")
> >
> > Konrad
>
--
With best wishes
Dmitry