Hi Igor, > -----Original Message----- > From: Igor Mammedov [mailto:[email protected]] > Sent: 18 March 2019 12:26 > To: Shameerali Kolothum Thodi <[email protected]> > Cc: [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; [email protected]; > [email protected]; Linuxarm <[email protected]>; xuwei (O) > <[email protected]> > Subject: Re: [PATCH v2 09/11] hw/acpi: Add ACPI Generic Event Device Support > > On Fri, 8 Mar 2019 11:42:16 +0000 > Shameer Kolothum <[email protected]> wrote: > > > From: Samuel Ortiz <[email protected]> > > > > The ACPI Generic Event Device (GED) is a hardware-reduced specific > > device that handles all platform events, including the hotplug ones. > > This patch generate the AML code that defines GEDs. > > Platforms need to specify their own GedEvent array to describe what kind > > of events they want to support through GED. The build_ged_aml routine > > takes a GedEvent array that maps a specific GED event to an IRQ number. > > Then we use that array to build both the _CRS and the _EVT section > > of the GED device. > > I'd this a part of "virtual ACPI device"
Just to confirm, you meant, instead of separate virt-acpi.c and ged.c, move the contents of this patch into "virtual ACPI device" implementation (something like hw/acpi/generic-event-device.c) ? Please let me know. Thanks, Shameer > > This is in preparation for making use of GED for ARM/virt > > platform and for now supports only memory hotplug. > > > > Signed-off-by: Samuel Ortiz <[email protected]> > > Signed-off-by: Sebastien Boeuf <[email protected]> > > Signed-off-by: Shameer Kolothum <[email protected]> > > --- > [...]
