Linux Gets New Thermal Driver Code Ahead of Alder Lake
Among the Intel int340x thermal work for Linux 5.14 is the introduction of a new processor_thermal PCI MMIO-based driver. This PCI driver registers a thermal zone and the temperatures and trip points are using PCI MMIO rather than ACPI methods for communication. This PCI MMIO thermal driver is set so far just to be used for upcoming Alder Lake SoCs and isn't used by already supported int340x-using hardware.
Also for this next kernel the Intel int340x code exports more attributes via sysfs. The current DDR memory data rate is exposed as a new "ddr_data_rate" attribute on sysfs for those wondering if the DDR speed is being set lower for thermal reasons.
The other new attribute on sysfs for int340x is "rfi_restriction" for showing or setting the Radio Frequency Interference (RFI) protection state. This is part of Intel's recent work around radio frequency interference mitigation on Linux.
The Intel thermal work and other new code in this subsystem can be found via this pull request. The work though hasn't landed as it looks like the thermal code will be re-submitted but without the NVIDIA Tegra changes due to build breakage.