qemu-patch-raspberry4/hw/acpi
Igor Mammedov 4828b10bda pc: memhp: do not emit inserting event for coldplugged DIMMs
currently acpi_memory_plug_cb() sets is_inserting for
cold- and hot-plugged DIMMs as result ASL MHPD.MSCN()
method issues device check even for every coldplugged
DIMM. There isn't much harm in it but if we try to
unplug such DIMM, OSPM will issue device check
intstead of device eject event. So OSPM won't eject
memory module as expected and it will try to eject it
only when another memory device is hot-(un)plugged.

As a fix do not set 'is_inserting' event and do not
issue SCI for cold-plugged DIMMs as they are
enumerated and activated by OSPM during guest's boot.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-10-29 11:05:24 +02:00
..
acpi_interface.c acpi: introduce TYPE_ACPI_DEVICE_IF interface 2014-06-19 18:44:22 +03:00
aml-build.c acpi: add implementation of aml_while() term 2015-06-03 18:19:16 +02:00
bios-linker-loader.c bios linker: validate pointer within table 2015-02-26 12:42:15 +01:00
core.c acpi: mark PMTIMER as unlocked 2015-07-01 15:45:51 +02:00
cpu_hotplug.c acpi: add acpi_send_gpe_event() to rise sci for hotplug 2015-06-03 18:19:16 +02:00
ich9.c hw/acpi/ich9: clean up stale comment about KVM not supporting SMM 2015-07-27 22:44:47 +03:00
Makefile.objs ich9: add TCO interface emulation 2015-07-07 13:12:22 +03:00
memory_hotplug.c pc: memhp: do not emit inserting event for coldplugged DIMMs 2015-10-29 11:05:24 +02:00
pcihp.c acpi: add acpi_send_gpe_event() to rise sci for hotplug 2015-06-03 18:19:16 +02:00
piix4.c pc_piix: rename kvm_enabled to smm_enabled 2015-07-06 17:59:44 +02:00
tco.c ich9: implement strap SPKR pin logic 2015-07-08 10:09:55 +03:00