* [PATCH] platform/x86: intel_pmc_ipc: Add APL PMC PCI Id
@ 2017-02-13 10:41 Rajneesh Bhardwaj
2017-02-13 22:28 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Rajneesh Bhardwaj @ 2017-02-13 10:41 UTC (permalink / raw)
To: platform-driver-x86
Cc: dvhart, andriy.shevchenko, qipeng.zha, linux-kernel, 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.
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
---
drivers/platform/x86/intel_pmc_ipc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
index 0bf51d5..ff665b9 100644
--- a/drivers/platform/x86/intel_pmc_ipc.c
+++ b/drivers/platform/x86/intel_pmc_ipc.c
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] platform/x86: intel_pmc_ipc: Add APL PMC PCI Id
2017-02-13 10:41 [PATCH] platform/x86: intel_pmc_ipc: Add APL PMC PCI Id Rajneesh Bhardwaj
@ 2017-02-13 22:28 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2017-02-13 22:28 UTC (permalink / raw)
To: Rajneesh Bhardwaj
Cc: Platform Driver, dvhart, Andy Shevchenko, Zha Qipeng, linux-kernel
On Mon, Feb 13, 2017 at 12:41 PM, Rajneesh Bhardwaj
<rajneesh.bhardwaj@intel.com> wrote:
> 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.
>
> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
> ---
> drivers/platform/x86/intel_pmc_ipc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
> index 0bf51d5..ff665b9 100644
> --- a/drivers/platform/x86/intel_pmc_ipc.c
> +++ b/drivers/platform/x86/intel_pmc_ipc.c
> @@ -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
>
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-13 22:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-13 10:41 [PATCH] platform/x86: intel_pmc_ipc: Add APL PMC PCI Id Rajneesh Bhardwaj
2017-02-13 22:28 ` Andy Shevchenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.