I see there are 4 thermal sensors the current LEDE build is able to read:
/sys/devices/virtual/thermal/thermal_zone$i/temp
Does anyone know how these 4 map back to the physical hardware of the R7800? I am making an assumption that 2 of them would be for the two radios and the other 2 might be for CPU and memory or CPU core0 and core1.
On experiment I tried was to stress the CPU and see if 2 of the readings got notably higher than the others but it seems that they all increased. After 20 min of cpu stress, I get elevated temps across the board (between 7 and 13 degrees).
If I measure them with the governor set to 'performance' with no load and both radios off:
# cut -c1-2 /sys/devices/virtual/thermal/thermal_zone*/temp
46
45
46
41
And then if I run stress and let it sit for 20 min:
# stress -v -c 2
stress: info: [12346] dispatching hogs: 2 cpu, 0 io, 0 vm, 0 hdd
stress: dbug: [12346] using backoff sleep of 6000us
stress: dbug: [12346] --> hogcpu worker 2 [12347] forked
stress: dbug: [12346] using backoff sleep of 3000us
stress: dbug: [12346] --> hogcpu worker 1 [12348] forked
<<< physically sit and wait for 20 min >>>
# cut -c1-2 /sys/devices/virtual/thermal/thermal_zone*/temp
53
52
59
52
So after 20 min of stress:
temp0 +7
temp1 +7
temp2 +13
temp3 +11
Now I stopped stress (ctrl+c) and after 10 seconds:
# cut -c1-2 /sys/devices/virtual/thermal/thermal_zone*/temp
50
48
50
43
Temps now:
temp0 +4
temp1 +4
temp2 +3
temp3 +2
I don't know what conclusions if any we can draw from these data. All sensors are near by the CPU? Temp2 and temp3 are physically near each other?