Re: [PATCH 0/2] thermal: int340x: processor_thermal: Add new PCI MMIO based thermal driver

From: You-Sheng Yang
Date: Tue Jul 06 2021 - 04:28:59 EST


Verified this initialize [8086:461d] correctly. An additional thermal
zone TCPU_PCI added.

Tested-by: You-Sheng Yang <vicamo.yang@xxxxxxxxxxxxx>

On 5/26/21 4:48 AM, Srinivas Pandruvada wrote:
> This series adds a new thermal driver, which uses PCI MMIO for temperature and trips. To reuse
> the code the first patch just reorganizes the existing code.
>
> This series needs the following patch to cleanly apply:
> [PATCH 1/2] thermal: int340x: processor_thermal: Export mailbox interface
> sent on 16th May, 21.
>
> Srinivas Pandruvada (2):
> thermal: int340x: processor_thermal: Split enumeration and processing
> part
> thermal: int340x: processor_thermal: Add PCI MMIO based thermal driver
>
> .../thermal/intel/int340x_thermal/Makefile | 3 +
> .../intel/int340x_thermal/int3401_thermal.c | 82 ++++
> .../processor_thermal_device.c | 289 ++------------
> .../processor_thermal_device.h | 9 +-
> .../processor_thermal_device_pci.c | 371 ++++++++++++++++++
> .../processor_thermal_device_pci_legacy.c | 163 ++++++++
> 6 files changed, 658 insertions(+), 259 deletions(-)
> create mode 100644 drivers/thermal/intel/int340x_thermal/int3401_thermal.c
> create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
> create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci_legacy.c
>