]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/acpi-build.c
hw/i386: allow SHPC for Q35 machine
[mirror_qemu.git] / hw / i386 / acpi-build.c
index 207310857739a9a8510297b25234309af043e701..76fa4555bf30c4adef09a3645bd87550919e95c2 100644 (file)
@@ -1818,9 +1818,9 @@ static Aml *build_q35_osc_method(void)
 
     /*
      * Always allow native PME, AER (no dependencies)
-     * Never allow SHPC (no SHPC controller in this system)
+     * Allow SHPC (PCI bridges can have SHPC controller)
      */
-    aml_append(if_ctx, aml_and(a_ctrl, aml_int(0x1D), a_ctrl));
+    aml_append(if_ctx, aml_and(a_ctrl, aml_int(0x1F), a_ctrl));
 
     if_ctx2 = aml_if(aml_lnot(aml_equal(aml_arg(1), aml_int(1))));
     /* Unknown revision */