Hello, Mr Zeng:
Igor has shared 2 useful documents. I would like to add more comments for TEMP_CRITICAL, TEMP_HOT, TEMP_ACTIVE.
In default thermal.c, they are defined as the follows:
#define TEMP_CRITICAL 373 /* 100 C*/
#define TEMP_HOT 363 /* 90 C*/
#define TEMP_ACTIVE 353 /* 80 C*/
When reaching TEMP_CRITICAL, cooling device will shut down the system. When reaching TEMP_HOT, cooling device will lower CPU frequency and notify
GPU to run at a lower frequency. When the temperature drops to TEMP_ACTIVE, cooling device will release all the cooling actions. From your description, your system starts to become slower, but not shutdown, it means system may reach TEMP_HOT and starts to slow down.
Above values can be adjusted according to SoC grade and system thermal design. For example, if you are using auto grade chip, the SoC working temperature is "-40 to + 125°C". Your thermal design is also good. You can consider to increase above values as TEMP_ACTIVE (100), TEMP_HOT (110), TEMP_CRITICAL(120) etc. But please gurantee the value should not exceed max temperature supported by SoC.