Enables per cpu thermal trips without needing to duplicate the trips or cooling maps for each thermal zone by moving them into a separate file, then using the C preprocessor to generate the unique labels required for each thermal zone. This allows for easy expansion to other thermal zones as required with minimal work.
Patch also tweaks thermal trips slightly to better utilise cooling performance. A15's more progressively throttle to improve average clockspeed while keeping temps typically under 90C for active cooling with a heavy load. A7's are throttled later as their thermal contribution is low so keeping them clocked up improves efficiency on long workloads with their speed only reduced once thermals really require it to ensure thermal safety.
Enables per cpu thermal trips without needing to duplicate the trips or cooling maps for each thermal zone by moving them into a separate file, then using the C preprocessor to generate the unique labels required for each thermal zone. This allows for easy expansion to other thermal zones as required with minimal work.
Patch also tweaks thermal trips slightly to better utilise cooling performance. A15's more progressively throttle to improve average clockspeed while keeping temps typically under 90C for active cooling with a heavy load. A7's are throttled later as their thermal contribution is low so keeping them clocked up improves efficiency on long workloads with their speed only reduced once thermals really require it to ensure thermal safety.