diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2019-09-18 14:06:25 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-10-05 17:12:08 -0400 |
commit | ebb62075021a93847682ce67986b9373cbcdc34f (patch) | |
tree | a0483533b18879706f8fccf1819e5b010c062386 /hw/arm/palm.c | |
parent | 22338fea781cd26618b775afec068bc7238ff5c6 (diff) | |
download | qemu-ebb62075021a93847682ce67986b9373cbcdc34f.zip qemu-ebb62075021a93847682ce67986b9373cbcdc34f.tar.gz qemu-ebb62075021a93847682ce67986b9373cbcdc34f.tar.bz2 |
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/arm/palm.c')
0 files changed, 0 insertions, 0 deletions