42b1b9d7db
On pegasos2 which has ACPI as part of VT8231 south bridge the board firmware writes PM control register by accessing the second byte so addr will be 1. This wasn't handled correctly and the write went to addr 0 instead. Remove the acpi_pm1_cnt_write() function which is used only once and does not take addr into account and handle non-zero address in acpi_pm_cnt_{read|write}. This fixes ACPI shutdown with pegasos2 firmware. The issue below is possibly related to the same memory core bug. Link: https://gitlab.com/qemu-project/qemu/-/issues/360 Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <20230607200125.A9988746377@zero.eik.bme.hu> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
acpi_interface.c | ||
acpi-cpu-hotplug-stub.c | ||
acpi-mem-hotplug-stub.c | ||
acpi-nvdimm-stub.c | ||
acpi-pci-hotplug-stub.c | ||
acpi-qmp-cmds.c | ||
acpi-stub.c | ||
acpi-x86-stub.c | ||
aml-build-stub.c | ||
aml-build.c | ||
bios-linker-loader.c | ||
core.c | ||
cpu_hotplug.c | ||
cpu.c | ||
cxl-stub.c | ||
cxl.c | ||
erst.c | ||
generic_event_device.c | ||
ghes-stub.c | ||
ghes.c | ||
hmat.c | ||
hmat.h | ||
ich9_tco.c | ||
ich9.c | ||
ipmi-stub.c | ||
ipmi.c | ||
Kconfig | ||
memory_hotplug.c | ||
meson.build | ||
nvdimm.c | ||
pci-bridge-stub.c | ||
pci-bridge.c | ||
pci.c | ||
pcihp.c | ||
piix4.c | ||
tpm.c | ||
trace-events | ||
trace.h | ||
utils.c | ||
viot.c | ||
viot.h | ||
vmgenid.c |