Skip to content

Commit 6c87e33

Browse files
committed
thermal: intel: int340x: processor: Enable MMIO RAPL for Panther Lake
JIRA: https://issues.redhat.com/browse/RHEL-79162 commit 3cc83ae Author: Zhang Rui <rui.zhang@intel.com> Date: Tue Dec 3 15:58:01 2024 +0800 thermal: intel: int340x: processor: Enable MMIO RAPL for Panther Lake Enable MMIO RAPL support for PantherLake platform. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Link: https://patch.msgid.link/20241203075802.584741-3-rui.zhang@intel.com [ rjw: Subject edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Steve Best <sbest@redhat.com>
1 parent 55e8420 commit 6c87e33

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/thermal/intel/int340x_thermal/processor_thermal_device.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#define PCI_DEVICE_ID_INTEL_RPL_THERMAL 0xA71D
3131
#define PCI_DEVICE_ID_INTEL_SKL_THERMAL 0x1903
3232
#define PCI_DEVICE_ID_INTEL_TGL_THERMAL 0x9A03
33+
#define PCI_DEVICE_ID_INTEL_PTL_THERMAL 0xB01D
3334

3435
struct power_config {
3536
u32 index;

drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ static const struct pci_device_id proc_thermal_pci_ids[] = {
495495
PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_DLVR | PROC_THERMAL_FEATURE_WT_HINT) },
496496
{ PCI_DEVICE_DATA(INTEL, RPL_THERMAL, PROC_THERMAL_FEATURE_RAPL |
497497
PROC_THERMAL_FEATURE_FIVR | PROC_THERMAL_FEATURE_DVFS | PROC_THERMAL_FEATURE_WT_REQ) },
498+
{ PCI_DEVICE_DATA(INTEL, PTL_THERMAL, PROC_THERMAL_FEATURE_RAPL) },
498499
{ },
499500
};
500501

0 commit comments

Comments
 (0)