qemu-patch-raspberry4/include/hw/acpi
Samuel Ortiz ebb6207502 hw/acpi: Add ACPI Generic Event Device Support
The ACPI Generic Event Device (GED) is a hardware-reduced specific
device[ACPI v6.1 Section 5.6.9] that handles all platform events,
including the hotplug ones. This patch generates the AML code that
defines GEDs.

Platforms need to specify their own GED Event bitmap to describe
what kind of events they want to support through GED.  Also this
uses a a single interrupt for the  GED device, relying on IO
memory region to communicate the type of device affected by the
interrupt. This way, we can support up to 32 events with a unique
interrupt.

This supports only memory hotplug for now.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20190918130633.4872-4-shameerali.kolothum.thodi@huawei.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
2019-10-05 17:12:08 -04:00
..
acpi-defs.h acpi: pci: use build_append_foo() API to construct MCFG 2019-05-29 18:00:57 -04:00
acpi.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
acpi_dev_interface.h Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
aml-build.h acpi: Add i2c serial bus CRS handling 2019-09-20 14:08:10 -05:00
bios-linker-loader.h vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00
cpu.h typo: apci->acpi 2019-01-30 10:16:58 +01:00
cpu_hotplug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
generic_event_device.h hw/acpi: Add ACPI Generic Event Device Support 2019-10-05 17:12:08 -04:00
ich9.h i386, acpi: check acpi_memory_hotplug capacity in pre_plug 2019-03-12 22:31:21 -04:00
ipmi.h ipmi: Fix SSIF ACPI handling to use the right CRS 2019-09-20 14:08:10 -05:00
memory_hotplug.h hw/acpi: Make ACPI IO address space configurable 2019-10-05 17:12:08 -04:00
pc-hotplug.h memhp: don't generate memory hotplug AML if it's not enabled/supported 2017-01-10 07:03:24 +02:00
pci.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
pcihp.h pci/pcihp: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
piix4.h hw/i386/acpi: Add object_resolve_type_unambiguous to improve modularity 2019-05-17 15:19:24 +02:00
tco.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
tpm.h acpi: build TPM Physical Presence interface 2019-01-17 21:10:57 -05:00
utils.h hw/acpi: extract acpi_add_rom_blob() 2019-06-16 16:16:52 -04:00
vmgenid.h Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00