[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86/PCI: update ACPI Check to include SGI Ux3



commit 8746f06cbeef6ff1b0e9f413a222ebf00718b3f9
Author:     Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
AuthorDate: Tue Aug 2 17:52:44 2016 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Aug 2 17:52:44 2016 +0200

    x86/PCI: update ACPI Check to include SGI Ux3
    
    These systems use variations of SGI3* for ID string.
    
    Instead of adding abother set of strings do what Linux did
    in commit 526018bc and look at first three letters.
    
    Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/arch/x86/x86_64/acpi_mmcfg.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/xen/arch/x86/x86_64/acpi_mmcfg.c b/xen/arch/x86/x86_64/acpi_mmcfg.c
index f01ad70..3ce85c9 100644
--- a/xen/arch/x86/x86_64/acpi_mmcfg.c
+++ b/xen/arch/x86/x86_64/acpi_mmcfg.c
@@ -55,8 +55,7 @@ static int __init acpi_mcfg_check_entry(struct 
acpi_table_mcfg *mcfg,
     if (cfg->address < 0xFFFFFFFF)
         return 0;
 
-    if (!strcmp(mcfg->header.oem_id, "SGI") ||
-        !strcmp(mcfg->header.oem_id, "SGI2"))
+    if (!strncmp(mcfg->header.oem_id, "SGI", 3))
         return 0;
 
     if (mcfg->header.revision >= 1 &&
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.