mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114
@ 2026-11-06 20:31 Patrick Fischer via B4 Relay
  2026-11-06 20:31 ` [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension Patrick Fischer via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Patrick Fischer via B4 Relay @ 2026-11-06 20:31 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter
  Cc: Svyatoslav Ryhel, Mikko Perttunen, linux-pm, linux-tegra,
	linux-kernel, stable, Patrick Fischer

On the NVIDIA Tegra Note 7 (Tegra114) all four SOC_THERM zones read 0 C
with mainline, in idle and under load, so throttling and thermtrip have
no effect on this SoC. There are two separate causes:

1. tegra_calc_shared_calib() sign-extends the whole fuse word instead of
   the SHIFT_CP field. On Tegra114, where SHIFT_CP is not in the low
   bits, this distorts the calibration of every sensor.

2. The hardware calculates THERMA * capture in 24 bits and discards the
   result above 2^24 (TCALC_OVER set, TEMP_VALID cleared). With the
   calibration in 0.5 C units a Tegra114 sensor is only valid for
   T < (2048 + THERMB) / 2, which is far below the thermtrip
   temperature. Patch 2 switches Tegra114 to 1 C units, as the
   downstream driver does. The fuse calibration stays in 0.5 C units,
   as discussed in the review of the Tegra114 series [1].

Patch 1 is Svyatoslav's fix, unchanged apart from the Fixes and stable
tags and a sentence on why the other SoCs are not affected. Without
patch 2 it gives three zones that work only up to about 45-53 C on this
device.

Zone temperatures on a Tegra Note 7 (P1640) in C, idle / after 60 s of
load on all four cores:

               mainline   patch 1      patches 1+2
  cpu           0 / 0     41.5 / 55.5*   43 / 63
  gpu           0 / 0      0   / 0       39 / 55
  pllx          0 / 0     44   / 52.5*   43 / 62
  mem           0 / 0     39   / 50.5    39 / 53
  thermistor      -       34   / 39      34 / 42

  * the sensors behind the zone were already invalid, the zone stayed
    below the real temperature

"thermistor" is the board thermistor on the PMIC GPADC, as a
reference. With both patches all eight sensors stay valid and thermtrip,
throttle and trip thresholds are programmed as 102, 100 and 90 C.

Tested with v7.3 on the Tegra Note 7 P1640 (me) and P1988 (Svyatoslav,
all four zones work; tags to follow from him on the list). The series
is unchanged on top of thermal/linux-next, but only build tested there.
Thermtrip and the hardware throttle were not provoked on purpose, the
highest temperature seen was 98 C. Suspend/resume was not tested.

The series is independent of "thermal/drivers/tegra/soctherm: Program
throttrip with hot trip temperature" [2], which is still pending; they
apply in either order.

Tool use (see Documentation/process/generated-content.rst): patch 2,
its changelog and this cover letter were prepared with an LLM coding
assistant (Claude Code). It evaluated the SOC_THERM register dumps from
the device, recalculated the calibration from the fuse values, wrote
the code change and drafted the texts from my measurements and
instructions. I reviewed the change and ran all tests on the device.
Patch 1 is Svyatoslav's own work.

[1] https://lore.kernel.org/all/22816196.EfDdHjke4D@senjougahara/
[2] https://lore.kernel.org/all/20261020-upstream-soctherm-throttrip-v1-1-c67f8a02ec3b@tsv-stahl-riesa.de/

---
Patrick Fischer (1):
      thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114

Svyatoslav Ryhel (1):
      thermal: tegra: soctherm-fuse: Fix shifted_cp extension

 drivers/thermal/tegra/soctherm-fuse.c     | 17 +++++++++++++----
 drivers/thermal/tegra/soctherm.c          | 21 +++++++++++++--------
 drivers/thermal/tegra/soctherm.h          |  6 ++++++
 drivers/thermal/tegra/tegra114-soctherm.c |  4 +++-
 4 files changed, 35 insertions(+), 13 deletions(-)
---
base-commit: 32cb06b34701827db0ff34244d84fc74e40ca350
change-id: 20261023-upstream-soctherm-t114-9591c6b779d6

Best regards,
--  
Patrick Fischer <admin@tsv-stahl-riesa.de>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension
  2026-11-06 20:31 [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114 Patrick Fischer via B4 Relay
@ 2026-11-06 20:31 ` Patrick Fischer via B4 Relay
  2026-11-26  8:13   ` Mikko Perttunen
  2026-11-06 20:31 ` [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114 Patrick Fischer via B4 Relay
  2026-11-22 10:21 ` [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures " Patrick Fischer
  2 siblings, 1 reply; 7+ messages in thread
From: Patrick Fischer via B4 Relay @ 2026-11-06 20:31 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter
  Cc: Svyatoslav Ryhel, Mikko Perttunen, linux-pm, linux-tegra,
	linux-kernel, stable, Patrick Fischer

From: Svyatoslav Ryhel <clamor95@gmail.com>

The shifted_cp value in tegra_calc_shared_calib() should be passed to
sign_extend32() similarly to how shifted_ft is handled. This omission
caused malfunctions in the GPU and memory thermal zones, which was
observed on the Tegratab.

Tegra124, Tegra132 and Tegra210 are not affected: SHIFT_CP is in the
low six bits of their fuse word, so sign-extending the whole word gives
the same result. Only Tegra114 has SHIFT_CP in bits [15:10].

Fixes: 48fc33b95159 ("thermal/drivers/tegra/soctherm-fuse: Prepare calibration for Tegra114 support")
Cc: stable@vger.kernel.org
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Patrick Fischer <admin@tsv-stahl-riesa.de>
---
 drivers/thermal/tegra/soctherm-fuse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/tegra/soctherm-fuse.c b/drivers/thermal/tegra/soctherm-fuse.c
index 8d37cd8c9122..2de1d0cb676e 100644
--- a/drivers/thermal/tegra/soctherm-fuse.c
+++ b/drivers/thermal/tegra/soctherm-fuse.c
@@ -102,7 +102,7 @@ int tegra_calc_shared_calib(const struct tegra_soctherm_fuse *tfuse,
 
 	shifted_cp = (val & tfuse->fuse_shift_cp_mask) >>
 		     tfuse->fuse_shift_cp_shift;
-	shifted_cp = sign_extend32(val, 5);
+	shifted_cp = sign_extend32(shifted_cp, 5);
 
 	shared->actual_temp_cp = 2 * NOMINAL_CALIB_CP + shifted_cp;
 	shared->actual_temp_ft = 2 * tfuse->nominal_calib_ft + shifted_ft;

-- 
2.56.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114
  2026-11-06 20:31 [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114 Patrick Fischer via B4 Relay
  2026-11-06 20:31 ` [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension Patrick Fischer via B4 Relay
@ 2026-11-06 20:31 ` Patrick Fischer via B4 Relay
  2026-11-07 10:17   ` Svyatoslav Ryhel
  2026-11-26 10:27   ` Mikko Perttunen
  2026-11-22 10:21 ` [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures " Patrick Fischer
  2 siblings, 2 replies; 7+ messages in thread
From: Patrick Fischer via B4 Relay @ 2026-11-06 20:31 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter
  Cc: Svyatoslav Ryhel, Mikko Perttunen, linux-pm, linux-tegra,
	linux-kernel, stable, Patrick Fischer

From: Patrick Fischer <admin@tsv-stahl-riesa.de>

SOC_THERM calculates each sensor temperature in units of 0.5 C as
THERMA * capture / 2^13 + THERMB. On Tegra114 the intermediate product
THERMA * capture has to stay below 2^24. Above that the hardware sets
TCALC_OVER in SENSOR_CONFIG0, clears TEMP_VALID in SENSOR_STATUS1 and
the sensor drops out of its group. On a Tegra Note 7, 80 out of 80
samples matched this rule: TEMP_VALID was set exactly when
THERMA * capture < 2^24 (largest valid product 16747731, smallest
invalid one 16877718).

The fuse calibration itself is fine. As Mikko pointed out in the review
of the Tegra114 series, the fuse corrections are in 0.5 C units on
Tegra114 just as on Tegra124 and Tegra210, and
2 * NOMINAL_CALIB_XX + shifted_xx is correct. This patch keeps it that
way. The problem is the range: with T in C,
THERMA * capture = (2 * T - THERMB) * 2^13, so a sensor only gives a
valid result for T < (2048 + THERMB) / 2. On Tegra114 THERMB is close
to -2000 (between -2117 and -1812 on the chip tested), which leaves
almost no headroom. On that chip the sensors were valid only up to
45 C (cpu2), 53 C (pllx) and 32 C (gpu), and cpu0, cpu1 and cpu3 not
even at room temperature. The gpu zone therefore always reads 0 C, the
cpu zone stops following the CPU at about 45 C, and neither the
throttle levels nor thermtrip ever see the temperatures they are
programmed for.

NVIDIA's downstream driver runs Tegra114 in "lower precision" mode for
this reason (tegra11_soctherm.c: "We must use lower precision (0) due
to cp_fuse corrections"): the sensors count in 1 C units, the readback
is scaled by two and all thresholds are in 2 C steps.

Do the same with a lower_precision flag in the SoC data:

- keep the fuse calibration in 0.5 C units and halve THERMA and THERMB
  only in the final rounding step, so THERMA * capture stays around
  2^23 and the sensors report the same temperatures at half the
  resolution,
- double the readback in translate_temp(),
- use a threshold grain of 2000 so that thermtrip, the throttle levels
  and the trip interrupts are programmed in 2 C steps.

The use_lower_precision option in v3 of the Tegra114 series and the
downstream driver halve the calibration temperatures before the
calculation instead, which applies fuse_corr_beta at twice its weight.
Here the result is exactly the current calibration divided by two. The
PLLX hotspot offsets are left as they are, as in the downstream driver.
Tegra124, Tegra132 and Tegra210 are unchanged.

Tested on an NVIDIA Tegra Note 7 (P1640) together with the shifted_cp
fix: THERMA * capture now stays between 7.7 and 9.2 million, and all
eight sensors report TEMP_VALID in idle and after 60 s of load on all
four cores at 1.12 GHz. The zones read cpu 43, gpu 39, pllx 43, mem
39 C in idle (board thermistor 34 C) and cpu 63, gpu 55, pllx 62, mem
53 C under load. Before, the gpu zone read 0 C and the cpu zone stopped
at about 45 C. The thermtrip, throttle and trip thresholds are
programmed as 51, 50 and 45, i.e. 102, 100 and 90 C.

Fixes: 9d522a877b6f ("thermal/drivers/tegra: Add Tegra114 specific SOCTHERM driver")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/22816196.EfDdHjke4D@senjougahara/
Signed-off-by: Patrick Fischer <admin@tsv-stahl-riesa.de>
---
 drivers/thermal/tegra/soctherm-fuse.c     | 15 ++++++++++++---
 drivers/thermal/tegra/soctherm.c          | 21 +++++++++++++--------
 drivers/thermal/tegra/soctherm.h          |  6 ++++++
 drivers/thermal/tegra/tegra114-soctherm.c |  4 +++-
 4 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/drivers/thermal/tegra/soctherm-fuse.c b/drivers/thermal/tegra/soctherm-fuse.c
index 2de1d0cb676e..bba563961da7 100644
--- a/drivers/thermal/tegra/soctherm-fuse.c
+++ b/drivers/thermal/tegra/soctherm-fuse.c
@@ -118,7 +118,7 @@ int tegra_calc_tsensor_calib(const struct tegra_tsensor *sensor,
 	u32 val, calib;
 	s32 actual_tsensor_ft, actual_tsensor_cp;
 	s32 delta_sens, delta_temp;
-	s32 mult, div;
+	s32 mult, div, coeff;
 	s16 therma, thermb;
 	s64 temp;
 	int err;
@@ -147,11 +147,20 @@ int tegra_calc_tsensor_calib(const struct tegra_tsensor *sensor,
 		((s64)actual_tsensor_cp * shared->actual_temp_ft);
 	thermb = div64_s64_precise(temp, delta_sens);
 
+	/*
+	 * With lower precision the sensors count in 1 C units, which keeps
+	 * THERMA * capture within the 24 bits the hardware calculates with.
+	 * Halve both coefficients in the final rounding step.
+	 */
+	coeff = CALIB_COEFFICIENT;
+	if (shared->lower_precision)
+		coeff *= 2;
+
 	temp = (s64)therma * sensor->fuse_corr_alpha;
-	therma = div64_s64_precise(temp, CALIB_COEFFICIENT);
+	therma = div64_s64_precise(temp, coeff);
 
 	temp = (s64)thermb * sensor->fuse_corr_alpha + sensor->fuse_corr_beta;
-	thermb = div64_s64_precise(temp, CALIB_COEFFICIENT);
+	thermb = div64_s64_precise(temp, coeff);
 
 	calib = ((u16)therma << SENSOR_CONFIG2_THERMA_SHIFT) |
 		((u16)thermb << SENSOR_CONFIG2_THERMB_SHIFT);
diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c
index f74acf13b24d..0f6e5455ebb4 100644
--- a/drivers/thermal/tegra/soctherm.c
+++ b/drivers/thermal/tegra/soctherm.c
@@ -413,9 +413,10 @@ static void enable_tsensor(struct tegra_soctherm *tegra, unsigned int i)
  *   TTTTTTTT H______N
  * where T's contain the temperature in Celsius,
  * H denotes an addition of 0.5 Celsius and N denotes negation
- * of the final value.
+ * of the final value. With lower precision all of this is in
+ * units of 2 Celsius.
  */
-static int translate_temp(u16 val)
+static int translate_temp(const struct tegra_soctherm *ts, u16 val)
 {
 	int t;
 
@@ -424,6 +425,8 @@ static int translate_temp(u16 val)
 		t += 500;
 	if (val & READBACK_NEGATE)
 		t *= -1;
+	if (ts->soc->lower_precision)
+		t *= 2;
 
 	return t;
 }
@@ -435,7 +438,7 @@ static int tegra_thermctl_get_temp(struct thermal_zone_device *tz, int *out_temp
 
 	val = readl(zone->reg);
 	val = REG_GET_MASK(val, zone->sg->sensor_temp_mask);
-	*out_temp = translate_temp(val);
+	*out_temp = translate_temp(zone->ts, val);
 
 	return 0;
 }
@@ -1287,7 +1290,7 @@ static int regs_show(struct seq_file *s, void *data)
 		state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK);
 		seq_printf(s, "Temp(%d/", state);
 		state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK);
-		seq_printf(s, "%d) ", translate_temp(state));
+		seq_printf(s, "%d) ", translate_temp(ts, state));
 
 		r = readl(ts->regs + tsensors[i].base + SENSOR_STATUS0);
 		state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK);
@@ -1325,14 +1328,14 @@ static int regs_show(struct seq_file *s, void *data)
 
 	r = readl(ts->regs + SENSOR_TEMP1);
 	state = REG_GET_MASK(r, SENSOR_TEMP1_CPU_TEMP_MASK);
-	seq_printf(s, "Temperatures: CPU(%d) ", translate_temp(state));
+	seq_printf(s, "Temperatures: CPU(%d) ", translate_temp(ts, state));
 	state = REG_GET_MASK(r, SENSOR_TEMP1_GPU_TEMP_MASK);
-	seq_printf(s, " GPU(%d) ", translate_temp(state));
+	seq_printf(s, " GPU(%d) ", translate_temp(ts, state));
 	r = readl(ts->regs + SENSOR_TEMP2);
 	state = REG_GET_MASK(r, SENSOR_TEMP2_PLLX_TEMP_MASK);
-	seq_printf(s, " PLLX(%d) ", translate_temp(state));
+	seq_printf(s, " PLLX(%d) ", translate_temp(ts, state));
 	state = REG_GET_MASK(r, SENSOR_TEMP2_MEM_TEMP_MASK);
-	seq_printf(s, " MEM(%d)\n", translate_temp(state));
+	seq_printf(s, " MEM(%d)\n", translate_temp(ts, state));
 
 	for (i = 0; i < ts->soc->num_ttgs; i++) {
 		seq_printf(s, "%s:\n", ttgs[i]->name);
@@ -2159,6 +2162,8 @@ static int tegra_soctherm_probe(struct platform_device *pdev)
 	if (err)
 		return err;
 
+	shared_calib.lower_precision = soc->lower_precision;
+
 	/* calculate tsensor calibration data */
 	for (i = 0; i < soc->num_tsensors; ++i) {
 		err = tegra_calc_tsensor_calib(&soc->tsensors[i],
diff --git a/drivers/thermal/tegra/soctherm.h b/drivers/thermal/tegra/soctherm.h
index aa4af9268b05..67d4ca149e59 100644
--- a/drivers/thermal/tegra/soctherm.h
+++ b/drivers/thermal/tegra/soctherm.h
@@ -122,6 +122,7 @@ struct tegra_soctherm_fuse {
 struct tsensor_shared_calib {
 	u32 base_cp, base_ft;
 	u32 actual_temp_cp, actual_temp_ft;
+	bool lower_precision;
 };
 
 struct tegra_soctherm_soc {
@@ -133,6 +134,11 @@ struct tegra_soctherm_soc {
 	const int thresh_grain;
 	const unsigned int bptt;
 	const bool use_ccroc;
+	/*
+	 * Sensors count in 1 C instead of 0.5 C units: the readback and
+	 * the thresholds are in 2 C steps then.
+	 */
+	const bool lower_precision;
 	struct tsensor_group_thermtrips *thermtrips;
 };
 
diff --git a/drivers/thermal/tegra/tegra114-soctherm.c b/drivers/thermal/tegra/tegra114-soctherm.c
index 688104f28052..0a30103c3f74 100644
--- a/drivers/thermal/tegra/tegra114-soctherm.c
+++ b/drivers/thermal/tegra/tegra114-soctherm.c
@@ -23,7 +23,8 @@
 #define TEGRA114_THERMCTL_LVL0_UP_THRESH_MASK	(0xff << 17)
 #define TEGRA114_THERMCTL_LVL0_DN_THRESH_MASK	(0xff << 9)
 
-#define TEGRA114_THRESH_GRAIN			1000
+/* thresholds are in 2 C steps because of the lower precision */
+#define TEGRA114_THRESH_GRAIN			2000
 #define TEGRA114_BPTT				8
 
 static const struct tegra_tsensor_configuration tegra114_tsensor_config = {
@@ -206,4 +207,5 @@ const struct tegra_soctherm_soc tegra114_soctherm = {
 	.thresh_grain = TEGRA114_THRESH_GRAIN,
 	.bptt = TEGRA114_BPTT,
 	.use_ccroc = false,
+	.lower_precision = true,
 };

-- 
2.56.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114
  2026-11-06 20:31 ` [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114 Patrick Fischer via B4 Relay
@ 2026-11-07 10:17   ` Svyatoslav Ryhel
  2026-11-26 10:27   ` Mikko Perttunen
  1 sibling, 0 replies; 7+ messages in thread
From: Svyatoslav Ryhel @ 2026-11-07 10:17 UTC (permalink / raw)
  To: admin
  Cc: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter, Mikko Perttunen, linux-pm,
	linux-tegra, linux-kernel, stable

пт, 6 лист. 2026 р. о 22:32 Patrick Fischer via B4 Relay
<devnull+admin.tsv-stahl-riesa.de@kernel.org> пише:
>
> From: Patrick Fischer <admin@tsv-stahl-riesa.de>
>
> SOC_THERM calculates each sensor temperature in units of 0.5 C as
> THERMA * capture / 2^13 + THERMB. On Tegra114 the intermediate product
> THERMA * capture has to stay below 2^24. Above that the hardware sets
> TCALC_OVER in SENSOR_CONFIG0, clears TEMP_VALID in SENSOR_STATUS1 and
> the sensor drops out of its group. On a Tegra Note 7, 80 out of 80
> samples matched this rule: TEMP_VALID was set exactly when
> THERMA * capture < 2^24 (largest valid product 16747731, smallest
> invalid one 16877718).
>
> The fuse calibration itself is fine. As Mikko pointed out in the review
> of the Tegra114 series, the fuse corrections are in 0.5 C units on
> Tegra114 just as on Tegra124 and Tegra210, and
> 2 * NOMINAL_CALIB_XX + shifted_xx is correct. This patch keeps it that
> way. The problem is the range: with T in C,
> THERMA * capture = (2 * T - THERMB) * 2^13, so a sensor only gives a
> valid result for T < (2048 + THERMB) / 2. On Tegra114 THERMB is close
> to -2000 (between -2117 and -1812 on the chip tested), which leaves
> almost no headroom. On that chip the sensors were valid only up to
> 45 C (cpu2), 53 C (pllx) and 32 C (gpu), and cpu0, cpu1 and cpu3 not
> even at room temperature. The gpu zone therefore always reads 0 C, the
> cpu zone stops following the CPU at about 45 C, and neither the
> throttle levels nor thermtrip ever see the temperatures they are
> programmed for.
>
> NVIDIA's downstream driver runs Tegra114 in "lower precision" mode for
> this reason (tegra11_soctherm.c: "We must use lower precision (0) due
> to cp_fuse corrections"): the sensors count in 1 C units, the readback
> is scaled by two and all thresholds are in 2 C steps.
>
> Do the same with a lower_precision flag in the SoC data:
>
> - keep the fuse calibration in 0.5 C units and halve THERMA and THERMB
>   only in the final rounding step, so THERMA * capture stays around
>   2^23 and the sensors report the same temperatures at half the
>   resolution,
> - double the readback in translate_temp(),
> - use a threshold grain of 2000 so that thermtrip, the throttle levels
>   and the trip interrupts are programmed in 2 C steps.
>
> The use_lower_precision option in v3 of the Tegra114 series and the
> downstream driver halve the calibration temperatures before the
> calculation instead, which applies fuse_corr_beta at twice its weight.
> Here the result is exactly the current calibration divided by two. The
> PLLX hotspot offsets are left as they are, as in the downstream driver.
> Tegra124, Tegra132 and Tegra210 are unchanged.
>
> Tested on an NVIDIA Tegra Note 7 (P1640) together with the shifted_cp
> fix: THERMA * capture now stays between 7.7 and 9.2 million, and all
> eight sensors report TEMP_VALID in idle and after 60 s of load on all
> four cores at 1.12 GHz. The zones read cpu 43, gpu 39, pllx 43, mem
> 39 C in idle (board thermistor 34 C) and cpu 63, gpu 55, pllx 62, mem
> 53 C under load. Before, the gpu zone read 0 C and the cpu zone stopped
> at about 45 C. The thermtrip, throttle and trip thresholds are
> programmed as 51, 50 and 45, i.e. 102, 100 and 90 C.
>
> Fixes: 9d522a877b6f ("thermal/drivers/tegra: Add Tegra114 specific SOCTHERM driver")
> Cc: stable@vger.kernel.org
> Link: https://lore.kernel.org/all/22816196.EfDdHjke4D@senjougahara/
> Signed-off-by: Patrick Fischer <admin@tsv-stahl-riesa.de>
> ---
>  drivers/thermal/tegra/soctherm-fuse.c     | 15 ++++++++++++---
>  drivers/thermal/tegra/soctherm.c          | 21 +++++++++++++--------
>  drivers/thermal/tegra/soctherm.h          |  6 ++++++
>  drivers/thermal/tegra/tegra114-soctherm.c |  4 +++-
>  4 files changed, 34 insertions(+), 12 deletions(-)
>

Tested-by: Svyatoslav Ryhel <clamor95@gmail.com> # Tegratab (P1988)
and ASUS TF701T

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114
  2026-11-06 20:31 [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114 Patrick Fischer via B4 Relay
  2026-11-06 20:31 ` [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension Patrick Fischer via B4 Relay
  2026-11-06 20:31 ` [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114 Patrick Fischer via B4 Relay
@ 2026-11-22 10:21 ` Patrick Fischer
  2 siblings, 0 replies; 7+ messages in thread
From: Patrick Fischer @ 2026-11-22 10:21 UTC (permalink / raw)
  To: Daniel Lezcano
  Cc: Rafael J. Wysocki, Lukasz Luba, Jonathan Hunter, Thierry Reding,
	Zhang Rui, Svyatoslav Ryhel, Mikko Perttunen, linux-pm,
	linux-tegra, linux-kernel, stable

Am 06.11.26 um 21:31 schrieb Patrick Fischer via B4 Relay:
> On the NVIDIA Tegra Note 7 (Tegra114) all four SOC_THERM zones read 0 C
> with mainline, in idle and under load, so throttling and thermtrip have
> no effect on this SoC. There are two separate causes:
> 
> 1. tegra_calc_shared_calib() sign-extends the whole fuse word instead of
>    the SHIFT_CP field. On Tegra114, where SHIFT_CP is not in the low
>    bits, this distorts the calibration of every sensor.
> 
> 2. The hardware calculates THERMA * capture in 24 bits and discards the
>    result above 2^24 (TCALC_OVER set, TEMP_VALID cleared). With the
>    calibration in 0.5 C units a Tegra114 sensor is only valid for
>    T < (2048 + THERMB) / 2, which is far below the thermtrip
>    temperature. Patch 2 switches Tegra114 to 1 C units, as the
>    downstream driver does. The fuse calibration stays in 0.5 C units,
>    as discussed in the review of the Tegra114 series [1].
> 
> Patch 1 is Svyatoslav's fix, unchanged apart from the Fixes and stable
> tags and a sentence on why the other SoCs are not affected. Without
> patch 2 it gives three zones that work only up to about 45-53 C on this
> device.
> 
> Zone temperatures on a Tegra Note 7 (P1640) in C, idle / after 60 s of
> load on all four cores:
> 
>                mainline   patch 1      patches 1+2
>   cpu           0 / 0     41.5 / 55.5*   43 / 63
>   gpu           0 / 0      0   / 0       39 / 55
>   pllx          0 / 0     44   / 52.5*   43 / 62
>   mem           0 / 0     39   / 50.5    39 / 53
>   thermistor      -       34   / 39      34 / 42
> 
>   * the sensors behind the zone were already invalid, the zone stayed
>     below the real temperature
> 
> "thermistor" is the board thermistor on the PMIC GPADC, as a
> reference. With both patches all eight sensors stay valid and thermtrip,
> throttle and trip thresholds are programmed as 102, 100 and 90 C.
> 
> Tested with v7.3 on the Tegra Note 7 P1640 (me) and P1988 (Svyatoslav,
> all four zones work; tags to follow from him on the list). The series
> is unchanged on top of thermal/linux-next, but only build tested there.
> Thermtrip and the hardware throttle were not provoked on purpose, the
> highest temperature seen was 98 C. Suspend/resume was not tested.
> 
> The series is independent of "thermal/drivers/tegra/soctherm: Program
> throttrip with hot trip temperature" [2], which is still pending; they
> apply in either order.
> 
> Tool use (see Documentation/process/generated-content.rst): patch 2,
> its changelog and this cover letter were prepared with an LLM coding
> assistant (Claude Code). It evaluated the SOC_THERM register dumps from
> the device, recalculated the calibration from the fuse values, wrote
> the code change and drafted the texts from my measurements and
> instructions. I reviewed the change and ran all tests on the device.
> Patch 1 is Svyatoslav's own work.
> 
> [1] https://lore.kernel.org/all/22816196.EfDdHjke4D@senjougahara/
> [2] https://lore.kernel.org/all/20261020-upstream-soctherm-throttrip-v1-1-c67f8a02ec3b@tsv-stahl-riesa.de/
> 
> ---
> Patrick Fischer (1):
>       thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114
> 
> Svyatoslav Ryhel (1):
>       thermal: tegra: soctherm-fuse: Fix shifted_cp extension
> 
>  drivers/thermal/tegra/soctherm-fuse.c     | 17 +++++++++++++----
>  drivers/thermal/tegra/soctherm.c          | 21 +++++++++++++--------
>  drivers/thermal/tegra/soctherm.h          |  6 ++++++
>  drivers/thermal/tegra/tegra114-soctherm.c |  4 +++-
>  4 files changed, 35 insertions(+), 13 deletions(-)
> ---
> base-commit: 32cb06b34701827db0ff34244d84fc74e40ca350
> change-id: 20261023-upstream-soctherm-t114-9591c6b779d6
> 
> Best regards,
> --  
> Patrick Fischer <admin@tsv-stahl-riesa.de>

Hi Daniel,

gentle ping on this series. Without both patches the SOC_THERM
sensors on Tegra114 read wrong or invalid values, so thermal
throttling does not work there. Svyatoslav has tested it on two
devices, and it still applies cleanly to 7.4-rc3. Please let me know
if anything needs to change.

Thanks,
Patrick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension
  2026-11-06 20:31 ` [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension Patrick Fischer via B4 Relay
@ 2026-11-26  8:13   ` Mikko Perttunen
  0 siblings, 0 replies; 7+ messages in thread
From: Mikko Perttunen @ 2026-11-26  8:13 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter, stable
  Cc: Svyatoslav Ryhel, linux-pm, linux-tegra, linux-kernel, stable,
	Patrick Fischer, admin

On Saturday, November 7, 2026 5:31 AM Patrick Fischer via B4 Relay wrote:
> From: Svyatoslav Ryhel <clamor95@gmail.com>
> 
> The shifted_cp value in tegra_calc_shared_calib() should be passed to
> sign_extend32() similarly to how shifted_ft is handled. This omission
> caused malfunctions in the GPU and memory thermal zones, which was
> observed on the Tegratab.
> 
> Tegra124, Tegra132 and Tegra210 are not affected: SHIFT_CP is in the
> low six bits of their fuse word, so sign-extending the whole word gives
> the same result. Only Tegra114 has SHIFT_CP in bits [15:10].
> 
> Fixes: 48fc33b95159 ("thermal/drivers/tegra/soctherm-fuse: Prepare calibration for Tegra114 support")
> Cc: stable@vger.kernel.org
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> Signed-off-by: Patrick Fischer <admin@tsv-stahl-riesa.de>
> ---
>  drivers/thermal/tegra/soctherm-fuse.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/tegra/soctherm-fuse.c b/drivers/thermal/tegra/soctherm-fuse.c
> index 8d37cd8c9122..2de1d0cb676e 100644
> --- a/drivers/thermal/tegra/soctherm-fuse.c
> +++ b/drivers/thermal/tegra/soctherm-fuse.c
> @@ -102,7 +102,7 @@ int tegra_calc_shared_calib(const struct tegra_soctherm_fuse *tfuse,
>  
>  	shifted_cp = (val & tfuse->fuse_shift_cp_mask) >>
>  		     tfuse->fuse_shift_cp_shift;
> -	shifted_cp = sign_extend32(val, 5);
> +	shifted_cp = sign_extend32(shifted_cp, 5);
>  
>  	shared->actual_temp_cp = 2 * NOMINAL_CALIB_CP + shifted_cp;
>  	shared->actual_temp_ft = 2 * tfuse->nominal_calib_ft + shifted_ft;
> 
> -- 
> 2.56.0
> 
> 
> 

Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114
  2026-11-06 20:31 ` [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114 Patrick Fischer via B4 Relay
  2026-11-07 10:17   ` Svyatoslav Ryhel
@ 2026-11-26 10:27   ` Mikko Perttunen
  1 sibling, 0 replies; 7+ messages in thread
From: Mikko Perttunen @ 2026-11-26 10:27 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Thierry Reding, Jonathan Hunter, stable
  Cc: Svyatoslav Ryhel, linux-pm, linux-tegra, linux-kernel, stable,
	Patrick Fischer, admin

On Saturday, November 7, 2026 5:31 AM Patrick Fischer via B4 Relay wrote:
> From: Patrick Fischer <admin@tsv-stahl-riesa.de>
> 
> SOC_THERM calculates each sensor temperature in units of 0.5 C as
> THERMA * capture / 2^13 + THERMB. On Tegra114 the intermediate product
> THERMA * capture has to stay below 2^24. Above that the hardware sets
> TCALC_OVER in SENSOR_CONFIG0, clears TEMP_VALID in SENSOR_STATUS1 and
> the sensor drops out of its group. On a Tegra Note 7, 80 out of 80
> samples matched this rule: TEMP_VALID was set exactly when
> THERMA * capture < 2^24 (largest valid product 16747731, smallest
> invalid one 16877718).
> 
> The fuse calibration itself is fine. As Mikko pointed out in the review
> of the Tegra114 series, the fuse corrections are in 0.5 C units on
> Tegra114 just as on Tegra124 and Tegra210, and
> 2 * NOMINAL_CALIB_XX + shifted_xx is correct. This patch keeps it that
> way. The problem is the range: with T in C,
> THERMA * capture = (2 * T - THERMB) * 2^13, so a sensor only gives a
> valid result for T < (2048 + THERMB) / 2. On Tegra114 THERMB is close
> to -2000 (between -2117 and -1812 on the chip tested), which leaves
> almost no headroom. On that chip the sensors were valid only up to
> 45 C (cpu2), 53 C (pllx) and 32 C (gpu), and cpu0, cpu1 and cpu3 not
> even at room temperature. The gpu zone therefore always reads 0 C, the
> cpu zone stops following the CPU at about 45 C, and neither the
> throttle levels nor thermtrip ever see the temperatures they are
> programmed for.
> 
> NVIDIA's downstream driver runs Tegra114 in "lower precision" mode for
> this reason (tegra11_soctherm.c: "We must use lower precision (0) due
> to cp_fuse corrections"): the sensors count in 1 C units, the readback
> is scaled by two and all thresholds are in 2 C steps.
> 
> Do the same with a lower_precision flag in the SoC data:
> 
> - keep the fuse calibration in 0.5 C units and halve THERMA and THERMB
>   only in the final rounding step, so THERMA * capture stays around
>   2^23 and the sensors report the same temperatures at half the
>   resolution,
> - double the readback in translate_temp(),
> - use a threshold grain of 2000 so that thermtrip, the throttle levels
>   and the trip interrupts are programmed in 2 C steps.
> 
> The use_lower_precision option in v3 of the Tegra114 series and the
> downstream driver halve the calibration temperatures before the
> calculation instead, which applies fuse_corr_beta at twice its weight.
> Here the result is exactly the current calibration divided by two. The
> PLLX hotspot offsets are left as they are, as in the downstream driver.
> Tegra124, Tegra132 and Tegra210 are unchanged.

It looks like this was fixed at some point in downstream, not all 
published kernels have the issue.

> 
> Tested on an NVIDIA Tegra Note 7 (P1640) together with the shifted_cp
> fix: THERMA * capture now stays between 7.7 and 9.2 million, and all
> eight sensors report TEMP_VALID in idle and after 60 s of load on all
> four cores at 1.12 GHz. The zones read cpu 43, gpu 39, pllx 43, mem
> 39 C in idle (board thermistor 34 C) and cpu 63, gpu 55, pllx 62, mem
> 53 C under load. Before, the gpu zone read 0 C and the cpu zone stopped
> at about 45 C. The thermtrip, throttle and trip thresholds are
> programmed as 51, 50 and 45, i.e. 102, 100 and 90 C.

This commit message is too long and hard to follow. Here is what I would 
suggest:

The SOC_THERM hardware calculates each sensor temperature in units of 
0.5 C as 'THERMA * capture / 2^13 + THERMB'. On Tegra114 the 
intermediate product 'THERMA * capture' has to fit into 24 bits; if not, 
TEMP_VALID is not set for the sensor.

With the fuse values on the tested devices, this leaves very little 
range given the current logic for calculating THERMA and THERMB, topping 
out at values below room temperature and 53C depending on sensor.

Fix the issue by introducing a lower precision mode where THERMA and 
THERMB are halved before programming them into the hardware, and 
correspondingly doubling the temperature values read from hardware. 
TEGRA114_THRESH_GRAIN is also doubled so conversion of temperatures into 
hardware threshold values divides by two. This is the same approach as 
used by the downstream kernel.

Tested on an NVIDIA Tegra Note 7 (P1640).

--

Please adjust future commit messages accordingly. In terms of code, 
everything looks good to me.

Cheers
Mikko

> 
> Fixes: 9d522a877b6f ("thermal/drivers/tegra: Add Tegra114 specific SOCTHERM driver")
> Cc: stable@vger.kernel.org
> Link: https://lore.kernel.org/all/22816196.EfDdHjke4D@senjougahara/
> Signed-off-by: Patrick Fischer <admin@tsv-stahl-riesa.de>
> ---
>  drivers/thermal/tegra/soctherm-fuse.c     | 15 ++++++++++++---
>  drivers/thermal/tegra/soctherm.c          | 21 +++++++++++++--------
>  drivers/thermal/tegra/soctherm.h          |  6 ++++++
>  drivers/thermal/tegra/tegra114-soctherm.c |  4 +++-
>  4 files changed, 34 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/thermal/tegra/soctherm-fuse.c b/drivers/thermal/tegra/soctherm-fuse.c
> index 2de1d0cb676e..bba563961da7 100644
> --- a/drivers/thermal/tegra/soctherm-fuse.c
> +++ b/drivers/thermal/tegra/soctherm-fuse.c
> @@ -118,7 +118,7 @@ int tegra_calc_tsensor_calib(const struct tegra_tsensor *sensor,
>  	u32 val, calib;
>  	s32 actual_tsensor_ft, actual_tsensor_cp;
>  	s32 delta_sens, delta_temp;
> -	s32 mult, div;
> +	s32 mult, div, coeff;
>  	s16 therma, thermb;
>  	s64 temp;
>  	int err;
> @@ -147,11 +147,20 @@ int tegra_calc_tsensor_calib(const struct tegra_tsensor *sensor,
>  		((s64)actual_tsensor_cp * shared->actual_temp_ft);
>  	thermb = div64_s64_precise(temp, delta_sens);
>  
> +	/*
> +	 * With lower precision the sensors count in 1 C units, which keeps
> +	 * THERMA * capture within the 24 bits the hardware calculates with.
> +	 * Halve both coefficients in the final rounding step.
> +	 */
> +	coeff = CALIB_COEFFICIENT;
> +	if (shared->lower_precision)
> +		coeff *= 2;
> +
>  	temp = (s64)therma * sensor->fuse_corr_alpha;
> -	therma = div64_s64_precise(temp, CALIB_COEFFICIENT);
> +	therma = div64_s64_precise(temp, coeff);
>  
>  	temp = (s64)thermb * sensor->fuse_corr_alpha + sensor->fuse_corr_beta;
> -	thermb = div64_s64_precise(temp, CALIB_COEFFICIENT);
> +	thermb = div64_s64_precise(temp, coeff);
>  
>  	calib = ((u16)therma << SENSOR_CONFIG2_THERMA_SHIFT) |
>  		((u16)thermb << SENSOR_CONFIG2_THERMB_SHIFT);
> diff --git a/drivers/thermal/tegra/soctherm.c b/drivers/thermal/tegra/soctherm.c
> index f74acf13b24d..0f6e5455ebb4 100644
> --- a/drivers/thermal/tegra/soctherm.c
> +++ b/drivers/thermal/tegra/soctherm.c
> @@ -413,9 +413,10 @@ static void enable_tsensor(struct tegra_soctherm *tegra, unsigned int i)
>   *   TTTTTTTT H______N
>   * where T's contain the temperature in Celsius,
>   * H denotes an addition of 0.5 Celsius and N denotes negation
> - * of the final value.
> + * of the final value. With lower precision all of this is in
> + * units of 2 Celsius.
>   */
> -static int translate_temp(u16 val)
> +static int translate_temp(const struct tegra_soctherm *ts, u16 val)
>  {
>  	int t;
>  
> @@ -424,6 +425,8 @@ static int translate_temp(u16 val)
>  		t += 500;
>  	if (val & READBACK_NEGATE)
>  		t *= -1;
> +	if (ts->soc->lower_precision)
> +		t *= 2;
>  
>  	return t;
>  }
> @@ -435,7 +438,7 @@ static int tegra_thermctl_get_temp(struct thermal_zone_device *tz, int *out_temp
>  
>  	val = readl(zone->reg);
>  	val = REG_GET_MASK(val, zone->sg->sensor_temp_mask);
> -	*out_temp = translate_temp(val);
> +	*out_temp = translate_temp(zone->ts, val);
>  
>  	return 0;
>  }
> @@ -1287,7 +1290,7 @@ static int regs_show(struct seq_file *s, void *data)
>  		state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_VALID_MASK);
>  		seq_printf(s, "Temp(%d/", state);
>  		state = REG_GET_MASK(r, SENSOR_STATUS1_TEMP_MASK);
> -		seq_printf(s, "%d) ", translate_temp(state));
> +		seq_printf(s, "%d) ", translate_temp(ts, state));
>  
>  		r = readl(ts->regs + tsensors[i].base + SENSOR_STATUS0);
>  		state = REG_GET_MASK(r, SENSOR_STATUS0_VALID_MASK);
> @@ -1325,14 +1328,14 @@ static int regs_show(struct seq_file *s, void *data)
>  
>  	r = readl(ts->regs + SENSOR_TEMP1);
>  	state = REG_GET_MASK(r, SENSOR_TEMP1_CPU_TEMP_MASK);
> -	seq_printf(s, "Temperatures: CPU(%d) ", translate_temp(state));
> +	seq_printf(s, "Temperatures: CPU(%d) ", translate_temp(ts, state));
>  	state = REG_GET_MASK(r, SENSOR_TEMP1_GPU_TEMP_MASK);
> -	seq_printf(s, " GPU(%d) ", translate_temp(state));
> +	seq_printf(s, " GPU(%d) ", translate_temp(ts, state));
>  	r = readl(ts->regs + SENSOR_TEMP2);
>  	state = REG_GET_MASK(r, SENSOR_TEMP2_PLLX_TEMP_MASK);
> -	seq_printf(s, " PLLX(%d) ", translate_temp(state));
> +	seq_printf(s, " PLLX(%d) ", translate_temp(ts, state));
>  	state = REG_GET_MASK(r, SENSOR_TEMP2_MEM_TEMP_MASK);
> -	seq_printf(s, " MEM(%d)\n", translate_temp(state));
> +	seq_printf(s, " MEM(%d)\n", translate_temp(ts, state));
>  
>  	for (i = 0; i < ts->soc->num_ttgs; i++) {
>  		seq_printf(s, "%s:\n", ttgs[i]->name);
> @@ -2159,6 +2162,8 @@ static int tegra_soctherm_probe(struct platform_device *pdev)
>  	if (err)
>  		return err;
>  
> +	shared_calib.lower_precision = soc->lower_precision;
> +
>  	/* calculate tsensor calibration data */
>  	for (i = 0; i < soc->num_tsensors; ++i) {
>  		err = tegra_calc_tsensor_calib(&soc->tsensors[i],
> diff --git a/drivers/thermal/tegra/soctherm.h b/drivers/thermal/tegra/soctherm.h
> index aa4af9268b05..67d4ca149e59 100644
> --- a/drivers/thermal/tegra/soctherm.h
> +++ b/drivers/thermal/tegra/soctherm.h
> @@ -122,6 +122,7 @@ struct tegra_soctherm_fuse {
>  struct tsensor_shared_calib {
>  	u32 base_cp, base_ft;
>  	u32 actual_temp_cp, actual_temp_ft;
> +	bool lower_precision;
>  };
>  
>  struct tegra_soctherm_soc {
> @@ -133,6 +134,11 @@ struct tegra_soctherm_soc {
>  	const int thresh_grain;
>  	const unsigned int bptt;
>  	const bool use_ccroc;
> +	/*
> +	 * Sensors count in 1 C instead of 0.5 C units: the readback and
> +	 * the thresholds are in 2 C steps then.
> +	 */
> +	const bool lower_precision;
>  	struct tsensor_group_thermtrips *thermtrips;
>  };
>  
> diff --git a/drivers/thermal/tegra/tegra114-soctherm.c b/drivers/thermal/tegra/tegra114-soctherm.c
> index 688104f28052..0a30103c3f74 100644
> --- a/drivers/thermal/tegra/tegra114-soctherm.c
> +++ b/drivers/thermal/tegra/tegra114-soctherm.c
> @@ -23,7 +23,8 @@
>  #define TEGRA114_THERMCTL_LVL0_UP_THRESH_MASK	(0xff << 17)
>  #define TEGRA114_THERMCTL_LVL0_DN_THRESH_MASK	(0xff << 9)
>  
> -#define TEGRA114_THRESH_GRAIN			1000
> +/* thresholds are in 2 C steps because of the lower precision */
> +#define TEGRA114_THRESH_GRAIN			2000
>  #define TEGRA114_BPTT				8
>  
>  static const struct tegra_tsensor_configuration tegra114_tsensor_config = {
> @@ -206,4 +207,5 @@ const struct tegra_soctherm_soc tegra114_soctherm = {
>  	.thresh_grain = TEGRA114_THRESH_GRAIN,
>  	.bptt = TEGRA114_BPTT,
>  	.use_ccroc = false,
> +	.lower_precision = true,
>  };
> 
> -- 
> 2.56.0
> 
> 
> 





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-26 10:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 20:31 [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures on Tegra114 Patrick Fischer via B4 Relay
2026-11-06 20:31 ` [PATCH 1/2] thermal: tegra: soctherm-fuse: Fix shifted_cp extension Patrick Fischer via B4 Relay
2026-11-26  8:13   ` Mikko Perttunen
2026-11-06 20:31 ` [PATCH 2/2] thermal/drivers/tegra: Avoid SOC_THERM calculation overflow on Tegra114 Patrick Fischer via B4 Relay
2026-11-07 10:17   ` Svyatoslav Ryhel
2026-11-26 10:27   ` Mikko Perttunen
2026-11-22 10:21 ` [PATCH 0/2] thermal: tegra: Fix SOC_THERM temperatures " Patrick Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®