mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
thermal: int340x: processor_thermal: Add Ice Lake support
Add new PCI id for Ice lake processor thermal device. Also enabled the RAPL mmio interface. The MMIO offsets match Skylake. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
parent
fdf4f2fb8e
commit
c669675b56
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,9 @@
|
||||||
/* GeminiLake thermal reporting device */
|
/* GeminiLake thermal reporting device */
|
||||||
#define PCI_DEVICE_ID_PROC_GLK_THERMAL 0x318C
|
#define PCI_DEVICE_ID_PROC_GLK_THERMAL 0x318C
|
||||||
|
|
||||||
|
/* IceLake thermal reporting device */
|
||||||
|
#define PCI_DEVICE_ID_PROC_ICL_THERMAL 0x8a03
|
||||||
|
|
||||||
#define DRV_NAME "proc_thermal"
|
#define DRV_NAME "proc_thermal"
|
||||||
|
|
||||||
struct power_config {
|
struct power_config {
|
||||||
|
@ -719,6 +722,8 @@ static const struct pci_device_id proc_thermal_pci_ids[] = {
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_CNL_THERMAL)},
|
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_CNL_THERMAL)},
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_CFL_THERMAL)},
|
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_CFL_THERMAL)},
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_GLK_THERMAL)},
|
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_GLK_THERMAL)},
|
||||||
|
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_PROC_ICL_THERMAL),
|
||||||
|
.driver_data = (kernel_ulong_t)&rapl_mmio_hsw, },
|
||||||
{ 0, },
|
{ 0, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue