summaryrefslogtreecommitdiffstats
path: root/hw/acpi/Kconfig
diff options
context:
space:
mode:
authorSamuel Ortiz2019-09-18 15:06:25 +0200
committerMichael S. Tsirkin2019-10-05 23:12:08 +0200
commitebb62075021a93847682ce67986b9373cbcdc34f (patch)
treea0483533b18879706f8fccf1819e5b010c062386 /hw/acpi/Kconfig
parenthw/acpi: Do not create memory hotplug method when handler is not defined (diff)
downloadqemu-ebb62075021a93847682ce67986b9373cbcdc34f.tar.gz
qemu-ebb62075021a93847682ce67986b9373cbcdc34f.tar.xz
qemu-ebb62075021a93847682ce67986b9373cbcdc34f.zip
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>
Diffstat (limited to 'hw/acpi/Kconfig')
-rw-r--r--hw/acpi/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig
index 7c59cf900b..12e3f1e86e 100644
--- a/hw/acpi/Kconfig
+++ b/hw/acpi/Kconfig
@@ -31,3 +31,7 @@ config ACPI_VMGENID
bool
default y
depends on PC
+
+config ACPI_HW_REDUCED
+ bool
+ depends on ACPI