On 25/04/2019 08:31, Amit Kucheria wrote: > Andy, patches 1 and 2 fix problems that already exist upstream. They > were not introduced by my series. On IRC, you wrote: "can you send me the same output against mainline (or linux-next) w/o my patches applied?" $ git show 58ad5ab73152 commit 58ad5ab731521a80a848033512467675de06b1f2 Merge: 596a434369f6 10518bb15940 Author: Andy Gross <agross@xxxxxxxxxx> Date: Tue Apr 9 23:08:50 2019 -0500 Merge branch 'arm64-thermal-for-5.2' into arm64-for-5.2 $ git revert -m 1 58ad5ab73152 Below, I only see an error when reading /sys/class/thermal/thermal_zone9/temp (/sys/class/thermal/thermal_zone9/type = pm8998) # for F in $(find /sys/class/thermal/thermal_zone?/ /sys/class/thermal/thermal_zone??/ -type f); do echo $F; cat $F; done /sys/class/thermal/thermal_zone0/uevent /sys/class/thermal/thermal_zone0/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone0/mode enabled /sys/class/thermal/thermal_zone0/power/runtime_active_time 0 /sys/class/thermal/thermal_zone0/power/runtime_status unsupported /sys/class/thermal/thermal_zone0/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone0/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone0/power/control auto /sys/class/thermal/thermal_zone0/available_policies step_wise /sys/class/thermal/thermal_zone0/policy step_wise /sys/class/thermal/thermal_zone0/trip_point_1_type critical /sys/class/thermal/thermal_zone0/k_d 0 /sys/class/thermal/thermal_zone0/sustainable_power 0 /sys/class/thermal/thermal_zone0/type cpu-thermal0 /sys/class/thermal/thermal_zone0/offset 0 /sys/class/thermal/thermal_zone0/slope 1 /sys/class/thermal/thermal_zone0/trip_point_0_type passive /sys/class/thermal/thermal_zone0/k_po 0 /sys/class/thermal/thermal_zone0/integral_cutoff 0 /sys/class/thermal/thermal_zone0/k_i 0 /sys/class/thermal/thermal_zone0/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone0/k_pu 0 /sys/class/thermal/thermal_zone0/temp 31000 /sys/class/thermal/thermal_zone0/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone0/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone1/uevent /sys/class/thermal/thermal_zone1/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone1/mode enabled /sys/class/thermal/thermal_zone1/power/runtime_active_time 0 /sys/class/thermal/thermal_zone1/power/runtime_status unsupported /sys/class/thermal/thermal_zone1/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone1/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone1/power/control auto /sys/class/thermal/thermal_zone1/available_policies step_wise /sys/class/thermal/thermal_zone1/policy step_wise /sys/class/thermal/thermal_zone1/trip_point_1_type critical /sys/class/thermal/thermal_zone1/k_d 0 /sys/class/thermal/thermal_zone1/sustainable_power 0 /sys/class/thermal/thermal_zone1/type cpu-thermal1 /sys/class/thermal/thermal_zone1/offset 0 /sys/class/thermal/thermal_zone1/slope 1 /sys/class/thermal/thermal_zone1/trip_point_0_type passive /sys/class/thermal/thermal_zone1/k_po 0 /sys/class/thermal/thermal_zone1/integral_cutoff 0 /sys/class/thermal/thermal_zone1/k_i 0 /sys/class/thermal/thermal_zone1/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone1/k_pu 0 /sys/class/thermal/thermal_zone1/temp 32000 /sys/class/thermal/thermal_zone1/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone1/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone2/uevent /sys/class/thermal/thermal_zone2/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone2/mode enabled /sys/class/thermal/thermal_zone2/power/runtime_active_time 0 /sys/class/thermal/thermal_zone2/power/runtime_status unsupported /sys/class/thermal/thermal_zone2/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone2/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone2/power/control auto /sys/class/thermal/thermal_zone2/available_policies step_wise /sys/class/thermal/thermal_zone2/policy step_wise /sys/class/thermal/thermal_zone2/trip_point_1_type critical /sys/class/thermal/thermal_zone2/k_d 0 /sys/class/thermal/thermal_zone2/sustainable_power 0 /sys/class/thermal/thermal_zone2/type cpu-thermal2 /sys/class/thermal/thermal_zone2/offset 0 /sys/class/thermal/thermal_zone2/slope 1 /sys/class/thermal/thermal_zone2/trip_point_0_type passive /sys/class/thermal/thermal_zone2/k_po 0 /sys/class/thermal/thermal_zone2/integral_cutoff 0 /sys/class/thermal/thermal_zone2/k_i 0 /sys/class/thermal/thermal_zone2/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone2/k_pu 0 /sys/class/thermal/thermal_zone2/temp 30700 /sys/class/thermal/thermal_zone2/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone2/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone3/uevent /sys/class/thermal/thermal_zone3/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone3/mode enabled /sys/class/thermal/thermal_zone3/power/runtime_active_time 0 /sys/class/thermal/thermal_zone3/power/runtime_status unsupported /sys/class/thermal/thermal_zone3/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone3/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone3/power/control auto /sys/class/thermal/thermal_zone3/available_policies step_wise /sys/class/thermal/thermal_zone3/policy step_wise /sys/class/thermal/thermal_zone3/trip_point_1_type critical /sys/class/thermal/thermal_zone3/k_d 0 /sys/class/thermal/thermal_zone3/sustainable_power 0 /sys/class/thermal/thermal_zone3/type cpu-thermal3 /sys/class/thermal/thermal_zone3/offset 0 /sys/class/thermal/thermal_zone3/slope 1 /sys/class/thermal/thermal_zone3/trip_point_0_type passive /sys/class/thermal/thermal_zone3/k_po 0 /sys/class/thermal/thermal_zone3/integral_cutoff 0 /sys/class/thermal/thermal_zone3/k_i 0 /sys/class/thermal/thermal_zone3/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone3/k_pu 0 /sys/class/thermal/thermal_zone3/temp 31000 /sys/class/thermal/thermal_zone3/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone3/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone4/uevent /sys/class/thermal/thermal_zone4/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone4/mode enabled /sys/class/thermal/thermal_zone4/power/runtime_active_time 0 /sys/class/thermal/thermal_zone4/power/runtime_status unsupported /sys/class/thermal/thermal_zone4/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone4/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone4/power/control auto /sys/class/thermal/thermal_zone4/available_policies step_wise /sys/class/thermal/thermal_zone4/policy step_wise /sys/class/thermal/thermal_zone4/trip_point_1_type critical /sys/class/thermal/thermal_zone4/k_d 0 /sys/class/thermal/thermal_zone4/sustainable_power 0 /sys/class/thermal/thermal_zone4/type cpu-thermal4 /sys/class/thermal/thermal_zone4/offset 0 /sys/class/thermal/thermal_zone4/slope 1 /sys/class/thermal/thermal_zone4/trip_point_0_type passive /sys/class/thermal/thermal_zone4/k_po 0 /sys/class/thermal/thermal_zone4/integral_cutoff 0 /sys/class/thermal/thermal_zone4/k_i 0 /sys/class/thermal/thermal_zone4/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone4/k_pu 0 /sys/class/thermal/thermal_zone4/temp 32000 /sys/class/thermal/thermal_zone4/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone4/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone5/uevent /sys/class/thermal/thermal_zone5/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone5/mode enabled /sys/class/thermal/thermal_zone5/power/runtime_active_time 0 /sys/class/thermal/thermal_zone5/power/runtime_status unsupported /sys/class/thermal/thermal_zone5/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone5/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone5/power/control auto /sys/class/thermal/thermal_zone5/available_policies step_wise /sys/class/thermal/thermal_zone5/policy step_wise /sys/class/thermal/thermal_zone5/trip_point_1_type critical /sys/class/thermal/thermal_zone5/k_d 0 /sys/class/thermal/thermal_zone5/sustainable_power 0 /sys/class/thermal/thermal_zone5/type cpu-thermal5 /sys/class/thermal/thermal_zone5/offset 0 /sys/class/thermal/thermal_zone5/slope 1 /sys/class/thermal/thermal_zone5/trip_point_0_type passive /sys/class/thermal/thermal_zone5/k_po 0 /sys/class/thermal/thermal_zone5/integral_cutoff 0 /sys/class/thermal/thermal_zone5/k_i 0 /sys/class/thermal/thermal_zone5/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone5/k_pu 0 /sys/class/thermal/thermal_zone5/temp 30400 /sys/class/thermal/thermal_zone5/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone5/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone6/uevent /sys/class/thermal/thermal_zone6/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone6/mode enabled /sys/class/thermal/thermal_zone6/power/runtime_active_time 0 /sys/class/thermal/thermal_zone6/power/runtime_status unsupported /sys/class/thermal/thermal_zone6/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone6/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone6/power/control auto /sys/class/thermal/thermal_zone6/available_policies step_wise /sys/class/thermal/thermal_zone6/policy step_wise /sys/class/thermal/thermal_zone6/trip_point_1_type critical /sys/class/thermal/thermal_zone6/k_d 0 /sys/class/thermal/thermal_zone6/sustainable_power 0 /sys/class/thermal/thermal_zone6/type cpu-thermal6 /sys/class/thermal/thermal_zone6/offset 0 /sys/class/thermal/thermal_zone6/slope 1 /sys/class/thermal/thermal_zone6/trip_point_0_type passive /sys/class/thermal/thermal_zone6/k_po 0 /sys/class/thermal/thermal_zone6/integral_cutoff 0 /sys/class/thermal/thermal_zone6/k_i 0 /sys/class/thermal/thermal_zone6/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone6/k_pu 0 /sys/class/thermal/thermal_zone6/temp 31200 /sys/class/thermal/thermal_zone6/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone6/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone7/uevent /sys/class/thermal/thermal_zone7/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone7/mode enabled /sys/class/thermal/thermal_zone7/power/runtime_active_time 0 /sys/class/thermal/thermal_zone7/power/runtime_status unsupported /sys/class/thermal/thermal_zone7/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone7/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone7/power/control auto /sys/class/thermal/thermal_zone7/available_policies step_wise /sys/class/thermal/thermal_zone7/policy step_wise /sys/class/thermal/thermal_zone7/trip_point_1_type critical /sys/class/thermal/thermal_zone7/k_d 0 /sys/class/thermal/thermal_zone7/sustainable_power 0 /sys/class/thermal/thermal_zone7/type cpu-thermal7 /sys/class/thermal/thermal_zone7/offset 0 /sys/class/thermal/thermal_zone7/slope 1 /sys/class/thermal/thermal_zone7/trip_point_0_type passive /sys/class/thermal/thermal_zone7/k_po 0 /sys/class/thermal/thermal_zone7/integral_cutoff 0 /sys/class/thermal/thermal_zone7/k_i 0 /sys/class/thermal/thermal_zone7/trip_point_1_temp 110000 /sys/class/thermal/thermal_zone7/k_pu 0 /sys/class/thermal/thermal_zone7/temp 30600 /sys/class/thermal/thermal_zone7/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone7/trip_point_0_temp 75000 /sys/class/thermal/thermal_zone8/uevent /sys/class/thermal/thermal_zone8/passive 0 /sys/class/thermal/thermal_zone8/mode enabled /sys/class/thermal/thermal_zone8/power/runtime_active_time 0 /sys/class/thermal/thermal_zone8/power/runtime_status unsupported /sys/class/thermal/thermal_zone8/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone8/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone8/power/control auto /sys/class/thermal/thermal_zone8/available_policies step_wise /sys/class/thermal/thermal_zone8/policy step_wise /sys/class/thermal/thermal_zone8/k_d 0 /sys/class/thermal/thermal_zone8/sustainable_power 0 /sys/class/thermal/thermal_zone8/type gpu-thermal /sys/class/thermal/thermal_zone8/offset 0 /sys/class/thermal/thermal_zone8/slope 1 /sys/class/thermal/thermal_zone8/k_po 0 /sys/class/thermal/thermal_zone8/integral_cutoff 0 /sys/class/thermal/thermal_zone8/k_i 0 /sys/class/thermal/thermal_zone8/k_pu 0 /sys/class/thermal/thermal_zone8/temp 30600 /sys/class/thermal/thermal_zone9/uevent /sys/class/thermal/thermal_zone9/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone9/mode disabled /sys/class/thermal/thermal_zone9/power/runtime_active_time 0 /sys/class/thermal/thermal_zone9/power/runtime_status unsupported /sys/class/thermal/thermal_zone9/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone9/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone9/power/control auto /sys/class/thermal/thermal_zone9/available_policies step_wise /sys/class/thermal/thermal_zone9/policy step_wise /sys/class/thermal/thermal_zone9/trip_point_1_type critical /sys/class/thermal/thermal_zone9/k_d 0 /sys/class/thermal/thermal_zone9/sustainable_power 0 /sys/class/thermal/thermal_zone9/type pm8998 /sys/class/thermal/thermal_zone9/offset 0 /sys/class/thermal/thermal_zone9/slope 1 /sys/class/thermal/thermal_zone9/trip_point_0_type passive /sys/class/thermal/thermal_zone9/k_po 0 /sys/class/thermal/thermal_zone9/integral_cutoff 0 /sys/class/thermal/thermal_zone9/k_i 0 /sys/class/thermal/thermal_zone9/trip_point_1_temp 125000 /sys/class/thermal/thermal_zone9/k_pu 0 /sys/class/thermal/thermal_zone9/temp cat: read error: Invalid argument /sys/class/thermal/thermal_zone9/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone9/trip_point_0_temp 105000 /sys/class/thermal/thermal_zone10/uevent /sys/class/thermal/thermal_zone10/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone10/passive 0 /sys/class/thermal/thermal_zone10/mode enabled /sys/class/thermal/thermal_zone10/power/runtime_active_time 0 /sys/class/thermal/thermal_zone10/power/runtime_status unsupported /sys/class/thermal/thermal_zone10/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone10/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone10/power/control auto /sys/class/thermal/thermal_zone10/available_policies step_wise /sys/class/thermal/thermal_zone10/policy step_wise /sys/class/thermal/thermal_zone10/k_d 0 /sys/class/thermal/thermal_zone10/sustainable_power 0 /sys/class/thermal/thermal_zone10/type battery-thermal /sys/class/thermal/thermal_zone10/offset 0 /sys/class/thermal/thermal_zone10/slope 1 /sys/class/thermal/thermal_zone10/trip_point_0_type critical /sys/class/thermal/thermal_zone10/k_po 0 /sys/class/thermal/thermal_zone10/integral_cutoff 0 /sys/class/thermal/thermal_zone10/k_i 0 /sys/class/thermal/thermal_zone10/k_pu 0 /sys/class/thermal/thermal_zone10/temp 32300 /sys/class/thermal/thermal_zone10/trip_point_0_temp 60000 /sys/class/thermal/thermal_zone11/uevent /sys/class/thermal/thermal_zone11/trip_point_0_hyst 2000 /sys/class/thermal/thermal_zone11/mode enabled /sys/class/thermal/thermal_zone11/power/runtime_active_time 0 /sys/class/thermal/thermal_zone11/power/runtime_status unsupported /sys/class/thermal/thermal_zone11/power/autosuspend_delay_ms cat: read error: Input/output error /sys/class/thermal/thermal_zone11/power/runtime_suspended_time 0 /sys/class/thermal/thermal_zone11/power/control auto /sys/class/thermal/thermal_zone11/available_policies step_wise /sys/class/thermal/thermal_zone11/policy step_wise /sys/class/thermal/thermal_zone11/trip_point_1_type critical /sys/class/thermal/thermal_zone11/k_d 0 /sys/class/thermal/thermal_zone11/sustainable_power 0 /sys/class/thermal/thermal_zone11/type skin-thermal /sys/class/thermal/thermal_zone11/offset 0 /sys/class/thermal/thermal_zone11/slope 1 /sys/class/thermal/thermal_zone11/trip_point_0_type passive /sys/class/thermal/thermal_zone11/k_po 0 /sys/class/thermal/thermal_zone11/integral_cutoff 0 /sys/class/thermal/thermal_zone11/k_i 0 /sys/class/thermal/thermal_zone11/trip_point_1_temp 70000 /sys/class/thermal/thermal_zone11/k_pu 0 /sys/class/thermal/thermal_zone11/temp 29900 /sys/class/thermal/thermal_zone11/trip_point_1_hyst 2000 /sys/class/thermal/thermal_zone11/trip_point_0_temp 44000