Skip to content

Commit

Permalink
[Intel][WDT] Adding devices to probe TCO
Browse files Browse the repository at this point in the history
* Jasper Lake SMBus (`0x4da3`)
* Sunrise Point-LP SMBus (`0x9d23`)
* Comet Lake PCH-LP SMBus (`0x02a3`)
  • Loading branch information
cyring committed Aug 11, 2024
1 parent 293e0f9 commit b5a20e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x86_64/corefreq-api.h
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,8 @@ typedef struct
#define DID_INTEL_X58_HUB_CORE 0x342e
#define DID_INTEL_X58_HUB_CTRL 0x3423
#define DID_INTEL_IIO_CORE_REG 0x3728
/* Source: Intel Corporation Jasper Lake SMBus */
#define DID_INTEL_JSL_SMBUS 0x4da3
/* Source: /include/linux/pci_ids.h */
#define DID_INTEL_SNB_IMC_HA0 0x3ca0
/* Source: 2nd Generation Intel Core Processor Family Vol2 */
Expand Down Expand Up @@ -1392,6 +1394,8 @@ typedef struct
#define DID_INTEL_KABYLAKE_U_IMC_HAQ 0x5914
#define DID_INTEL_KABYLAKE_S_IMC_HAQ 0x591f
#define DID_INTEL_KABYLAKE_X_IMC_HAQ 0x5906
/* Source: Hewlett-Packard Company - Sunrise Point-LP SMBus */
#define DID_INTEL_SPT_LP_SMBUS 0x9d23
/* Source: 8th Generation Intel Processor for S-Platforms Datasheet Vol2 */
#define DID_INTEL_COFFEELAKE_S_IMC_HAQ 0x3e1f
#define DID_INTEL_COFFEELAKE_S_IMC_HAS 0x3ec2
Expand All @@ -1412,6 +1416,8 @@ typedef struct
#define DID_INTEL_WHISKEYLAKE_U_IMC_HAD 0x3e35
#define DID_INTEL_WHISKEYLAKE_U_IMC_HAQ 0x3e34
#define DID_INTEL_CANNONLAKE_U_IMC_HB 0x5a04
/* Source: Comet Lake PCH-LP SMBus Host Controller */
#define DID_INTEL_CML_PCH_LP_SMBUS 0x02a3
/* Source: Intel 400 Series Chipset Family On-Package Platform Controller Hub */
#define DID_INTEL_COMETLAKE_S_IMC_6C 0x9b53
#define DID_INTEL_COMETLAKE_S_IMC_10C 0x9b54
Expand Down
12 changes: 12 additions & 0 deletions x86_64/corefreqk.c
Original file line number Diff line number Diff line change
Expand Up @@ -10374,6 +10374,18 @@ static void Intel_Watchdog(CORE_RO *Core)
.driver_data = (kernel_ulong_t) ICH_TCO
},
{
PCI_VDEVICE(INTEL, DID_INTEL_JSL_SMBUS),
.driver_data = (kernel_ulong_t) TCOBASE
},
{
PCI_VDEVICE(INTEL, DID_INTEL_SPT_LP_SMBUS),
.driver_data = (kernel_ulong_t) TCOBASE
},
{
PCI_VDEVICE(INTEL, DID_INTEL_CML_PCH_LP_SMBUS),
.driver_data = (kernel_ulong_t) TCOBASE
},
{
PCI_VDEVICE(INTEL, DID_INTEL_TGL_PCH_LP_SMBUS),
.driver_data = (kernel_ulong_t) TCOBASE
},
Expand Down

0 comments on commit b5a20e8

Please sign in to comment.