Message ID | 20240723132451.3488326-1-Shyam-sundar.S-k@amd.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Ilpo Järvinen |
Headers | show |
Series | [1/2] platform/x86/amd/pmf: Add new ACPI ID AMDI0107 | expand |
On Tue, 23 Jul 2024, Shyam Sundar S K wrote: > Add new ACPI ID AMDI0107 used by upcoming AMD platform to the PMF > supported list of devices. > > Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> > --- This patch 1 applied to review-ilpo (the other is still pending with an outstanding comment/question).
On 7/30/2024 18:08, Ilpo Järvinen wrote: > On Tue, 23 Jul 2024, Shyam Sundar S K wrote: > >> Add new ACPI ID AMDI0107 used by upcoming AMD platform to the PMF >> supported list of devices. >> >> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> >> --- > > This patch 1 applied to review-ilpo (the other is still pending with an > outstanding comment/question). > Thank you Ilpo. I have looked at your remarks on patch 2/2. Shall send a new revision in some time. Thanks, Shyam
diff --git a/drivers/platform/x86/amd/pmf/core.c b/drivers/platform/x86/amd/pmf/core.c index 2d6e2558863c..8f1f719befa3 100644 --- a/drivers/platform/x86/amd/pmf/core.c +++ b/drivers/platform/x86/amd/pmf/core.c @@ -41,6 +41,7 @@ #define AMD_CPU_ID_RMB 0x14b5 #define AMD_CPU_ID_PS 0x14e8 #define PCI_DEVICE_ID_AMD_1AH_M20H_ROOT 0x1507 +#define PCI_DEVICE_ID_AMD_1AH_M60H_ROOT 0x1122 #define PMF_MSG_DELAY_MIN_US 50 #define RESPONSE_REGISTER_LOOP_MAX 20000 @@ -249,6 +250,7 @@ static const struct pci_device_id pmf_pci_ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_RMB) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_CPU_ID_PS) }, { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M20H_ROOT) }, + { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_1AH_M60H_ROOT) }, { } }; @@ -382,6 +384,7 @@ static const struct acpi_device_id amd_pmf_acpi_ids[] = { {"AMDI0102", 0}, {"AMDI0103", 0}, {"AMDI0105", 0}, + {"AMDI0107", 0}, { } }; MODULE_DEVICE_TABLE(acpi, amd_pmf_acpi_ids);
Add new ACPI ID AMDI0107 used by upcoming AMD platform to the PMF supported list of devices. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> --- drivers/platform/x86/amd/pmf/core.c | 3 +++ 1 file changed, 3 insertions(+)