Skip to content

Commit e1eea3f

Browse files
spandruvadaandy-shev
authored andcommitted
platform/x86: ISST: Add new PCI device ids
Added new PCI device ids for supporting mailbox and MMIO interface for Sapphire Rapids. Signed-off-by: Srinivas Pandruvada <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent e2e9080 commit e1eea3f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

drivers/platform/x86/intel_speed_select_if/isst_if_common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
#define INTEL_RAPL_PRIO_DEVID_0 0x3451
1414
#define INTEL_CFG_MBOX_DEVID_0 0x3459
1515

16+
#define INTEL_RAPL_PRIO_DEVID_1 0x3251
17+
#define INTEL_CFG_MBOX_DEVID_1 0x3259
18+
1619
/*
1720
* Validate maximum commands in a single request.
1821
* This is enough to handle command to every core in one ioctl, or all

drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ static long isst_if_mbox_proc_cmd(u8 *cmd_ptr, int *write_only, int resume)
147147

148148
static const struct pci_device_id isst_if_mbox_ids[] = {
149149
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_CFG_MBOX_DEVID_0)},
150+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_CFG_MBOX_DEVID_1)},
150151
{ 0 },
151152
};
152153
MODULE_DEVICE_TABLE(pci, isst_if_mbox_ids);

drivers/platform/x86/intel_speed_select_if/isst_if_mmio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static long isst_if_mmio_rd_wr(u8 *cmd_ptr, int *write_only, int resume)
7272

7373
static const struct pci_device_id isst_if_ids[] = {
7474
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_RAPL_PRIO_DEVID_0)},
75+
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, INTEL_RAPL_PRIO_DEVID_1)},
7576
{ 0 },
7677
};
7778
MODULE_DEVICE_TABLE(pci, isst_if_ids);

0 commit comments

Comments
 (0)