After the introduction of generic PCIe root port and PCIe-PCI bridge, we will also have SHPC controller on ARM, and we don't support ACPI hot plug, so just enable SHPC native hot plug.
Igor also spotted the store operation outside of bit and/or is not necessary, so simply the code at first. v6: - Fix "make check" errors by updating tests/data/acpi/virt/DSDT*. v5: - Refine commit message of patch 1/2 v4: - Improve the code indention. Cc: Shannon Zhao <shannon.zha...@gmail.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Cc: "Michael S. Tsirkin" <m...@redhat.com> Cc: Igor Mammedov <imamm...@redhat.com> Heyi Guo (2): hw/arm/acpi: simplify AML bit and/or statement hw/arm/acpi: enable SHPC native hot plug hw/arm/virt-acpi-build.c | 21 +++++++++++++-------- tests/data/acpi/virt/DSDT | Bin 18470 -> 18462 bytes tests/data/acpi/virt/DSDT.memhp | Bin 19807 -> 19799 bytes tests/data/acpi/virt/DSDT.numamem | Bin 18470 -> 18462 bytes 4 files changed, 13 insertions(+), 8 deletions(-) -- 2.19.1