platform/x86: intel_pmc_ipc: Add APL PMC PCI Id
PATCH 1/1 platform/x86: intel_pmc_ipc: Add APL PMC PCI Id
This patch adds the PCI Device id for Power Management Controller on Intel Apollo Lake platforms.
Intel PMC IPC Driver loads as a platform driver on Apollo Lake platforms since Intel BIOS hides the PCI Configuration space for 0:13:1 and re-enumerates it as ACPI device (INT34D2). The correct PCI Device ID should be added if some platform firmware choses to enumerate the device via PCI space.
--- drivers/platform/x86/intel_pmc_ipc.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/intel_pmc_ipc.c +1 -0
@@ -389,6 +389,7 @@ static void ipc_pci_remove(struct pci_dev *pdev)static const struct pci_device_id ipc_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x0a94 ),0 }, {PCI_VDEVICE (INTEL ,0x1a94 ),0 }, + {PCI_VDEVICE (INTEL ,0x5a94 ),0 }, {0 ,} };MODULE_DEVICE_TABLE (pci, ipc_pci_ids);
Signature · 1 line
1.9.1
Quoted 8 lines · Rajneesh Bhardwaj
This patch adds the PCI Device id for Power Management Controller on Intel Apollo Lake platforms.
Intel PMC IPC Driver loads as a platform driver on Apollo Lake platforms since Intel BIOS hides the PCI Configuration space for 0:13:1 and re-enumerates it as ACPI device (INT34D2). The correct PCI Device ID should be added if some platform firmware choses to enumerate the device via PCI space.
Thanks, applied to testing.
Quoted 21 lines
Signed-off-by Rajneesh Bhardwaj <[email protected]>--- drivers/platform/x86/intel_pmc_ipc.c | 1 + 1 file changed, 1 insertion(+)drivers/platform/x86/intel_pmc_ipc.c +1
-1@@ -389,6 +389,7 @@ static void ipc_pci_remove(struct pci_dev *pdev)static const struct pci_device_id ipc_pci_ids[] = { {PCI_VDEVICE (INTEL ,0x0a94 ),0 }, {PCI_VDEVICE (INTEL ,0x1a94 ),0 }, + {PCI_VDEVICE (INTEL ,0x5a94 ),0 }, {0 ,} };MODULE_DEVICE_TABLE (pci, ipc_pci_ids); --1.9.1
Signature · 2 lines
With Best Regards, Andy Shevchenko