[xen stable-4.9] x86/shutdown: use ACPI reboot method for Dell PowerEdge R540

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen stable-4.9] x86/shutdown: use ACPI reboot method for Dell PowerEdge R540

patchbot
commit 870fcbfe080f0304adf03364e1d579ef16da4bac
Author:     Ross Lagerwall <[hidden email]>
AuthorDate: Mon Oct 8 14:45:28 2018 +0200
Commit:     Jan Beulich <[hidden email]>
CommitDate: Mon Oct 8 14:45:28 2018 +0200

    x86/shutdown: use ACPI reboot method for Dell PowerEdge R540
   
    When EFI booting the Dell PowerEdge R540 it consistently wanders into
    the weeds and gets an invalid opcode in the EFI ResetSystem call. This
    is the same bug which affects the PowerEdge R740 so fix it in the same
    way: quirk this hardware to use the ACPI reboot method instead.
   
    BIOS Information
        Vendor: Dell Inc.
        Version: 1.3.7
        Release Date: 02/09/2018
    System Information
        Manufacturer: Dell Inc.
        Product Name: PowerEdge R540
   
    Signed-off-by: Ross Lagerwall <[hidden email]>
    Acked-by: Jan Beulich <[hidden email]>
    master commit: 328ca55b7bd47e1324b75cce2a6c461308ecf93d
    master date: 2018-06-28 09:29:13 +0200
---
 xen/arch/x86/shutdown.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c
index 77e26e841d..3b2640966a 100644
--- a/xen/arch/x86/shutdown.c
+++ b/xen/arch/x86/shutdown.c
@@ -477,6 +477,15 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = {
             DMI_MATCH(DMI_PRODUCT_NAME, "Latitude E6520"),
         },
     },
+    {    /* Handle problems with rebooting on Dell PowerEdge R540. */
+        .callback = override_reboot,
+        .driver_data = (void *)(long)BOOT_ACPI,
+        .ident = "Dell PowerEdge R540",
+        .matches = {
+            DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+            DMI_MATCH(DMI_PRODUCT_NAME, "PowerEdge R540"),
+        },
+    },
     {    /* Handle problems with rebooting on Dell PowerEdge R740. */
         .callback = override_reboot,
         .driver_data = (void *)(long)BOOT_ACPI,
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.9

_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog