]> Git Repo - qemu.git/commit
hw/acpi: Add ACPI Generic Event Device Support
authorSamuel Ortiz <[email protected]>
Wed, 18 Sep 2019 13:06:25 +0000 (14:06 +0100)
committerMichael S. Tsirkin <[email protected]>
Sat, 5 Oct 2019 21:12:08 +0000 (17:12 -0400)
commitebb62075021a93847682ce67986b9373cbcdc34f
treea0483533b18879706f8fccf1819e5b010c062386
parent22338fea781cd26618b775afec068bc7238ff5c6
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 <[email protected]>
Signed-off-by: Sebastien Boeuf <[email protected]>
Signed-off-by: Shameer Kolothum <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Message-Id: <20190918130633[email protected]>
Acked-by: Peter Maydell <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
hw/acpi/Kconfig
hw/acpi/Makefile.objs
hw/acpi/generic_event_device.c [new file with mode: 0644]
include/hw/acpi/generic_event_device.h [new file with mode: 0644]
This page took 0.027346 seconds and 4 git commands to generate.