]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/acpi/ich9: Add compat prop to keep HPC bit set for 6.1 machine type
authorJulia Suvorova <jusual@redhat.com>
Fri, 12 Nov 2021 11:08:54 +0000 (06:08 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Nov 2021 14:44:46 +0000 (09:44 -0500)
commitc318bef76206c2ecb6016e8e68c4ac6ff9a4c8cb
treec4c518d3272a33f0d971415c7f6c44174ae8a87e
parent2aa1842d6d79dcd1b84c58eeb44591a99a9e56df
hw/acpi/ich9: Add compat prop to keep HPC bit set for 6.1 machine type

To solve issues [1-2] the Hot Plug Capable bit in PCIe Slots will be
turned on, while the switch to ACPI Hot-plug will be done in the
DSDT table.

Introducing 'x-keep-native-hpc' property disables the HPC bit only
in 6.1 and as a result keeps the forced 'reserve-io' on
pcie-root-ports in 6.1 too.

[1] https://gitlab.com/qemu-project/qemu/-/issues/641
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2006409

Signed-off-by: Julia Suvorova <jusual@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20211112110857.3116853-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/ich9.c
hw/i386/pc.c
hw/i386/pc_q35.c
include/hw/acpi/ich9.h