All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
Cc: "peter.maydell@linaro.org" <peter.maydell@linaro.org>,
	"sameo@linux.intel.com" <sameo@linux.intel.com>,
	"shannon.zhaosl@gmail.com" <shannon.zhaosl@gmail.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Linuxarm <linuxarm@huawei.com>,
	"eric.auger@redhat.com" <eric.auger@redhat.com>,
	"qemu-arm@nongnu.org" <qemu-arm@nongnu.org>,
	"xuwei \(O\)" <xuwei5@huawei.com>,
	"sebastien.boeuf@intel.com" <sebastien.boeuf@intel.com>
Subject: Re: [Qemu-arm] [PATCH v2 09/11] hw/acpi: Add ACPI Generic Event Device Support
Date: Mon, 18 Mar 2019 18:00:09 +0100	[thread overview]
Message-ID: <20190318180009.5ee284ad@redhat.com> (raw)
In-Reply-To: <5FC3163CFD30C246ABAA99954A238FA839316F30@lhreml524-mbs.china.huawei.com>

On Mon, 18 Mar 2019 15:04:28 +0000
Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com> wrote:

> Hi Igor,
> 
> > -----Original Message-----
> > From: Igor Mammedov [mailto:imammedo@redhat.com]
> > Sent: 18 March 2019 12:26
> > To: Shameerali Kolothum Thodi <shameerali.kolothum.thodi@huawei.com>
> > Cc: qemu-devel@nongnu.org; qemu-arm@nongnu.org;
> > eric.auger@redhat.com; peter.maydell@linaro.org;
> > shannon.zhaosl@gmail.com; sameo@linux.intel.com;
> > sebastien.boeuf@intel.com; Linuxarm <linuxarm@huawei.com>; xuwei (O)
> > <xuwei5@huawei.com>
> > 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 <shameerali.kolothum.thodi@huawei.com> wrote:
> >   
> > > From: Samuel Ortiz <sameo@linux.intel.com>
> > >
> > > 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) ?
yep, and only moving bit making hw related routines form virt-acpi.c
a part of ged device model where they are called at appropriate times 
like initfn/realize or property setting time.

Then ACPI functions (not part of device but could be in the same file)
would fetch all necessary data from ged device and generate AML code from it.

> 
> 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 <sameo@linux.intel.com>
> > > Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
> > > Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> > > ---  
> > [...]  


  reply	other threads:[~2019-03-18 17:00 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-08 11:42 [Qemu-arm] [PATCH v2 00/11] ARM virt: ACPI memory hotplug support Shameer Kolothum
2019-03-08 11:42 ` [Qemu-devel] " Shameer Kolothum
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 01/11] hw/acpi: Move constant definitions to header files Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-08 16:09   ` [Qemu-arm] " Auger Eric
2019-03-08 16:09     ` [Qemu-devel] " Auger Eric
2019-03-08 17:16     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-08 17:16       ` [Qemu-devel] " Shameerali Kolothum Thodi
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 02/11] hw/acpi: Make ACPI IO address space configurable Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-08 16:13   ` [Qemu-arm] " Auger Eric
2019-03-08 16:13     ` [Qemu-devel] " Auger Eric
2019-03-08 11:42 ` [Qemu-devel] [PATCH v2 03/11] hw/acpi: Do not create memory hotplug method when handler is not defined Shameer Kolothum
2019-03-08 11:42   ` Shameer Kolothum
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 04/11] hw/arm/virt: Add virtual ACPI device Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 13:24   ` Auger Eric
2019-03-11 17:36     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-11 17:36       ` [Qemu-devel] " Shameerali Kolothum Thodi
2019-03-12 15:48   ` [Qemu-arm] " Igor Mammedov
2019-03-14 16:55     ` [Qemu-devel] " Shameerali Kolothum Thodi
2019-03-15  8:41       ` [Qemu-arm] " Igor Mammedov
2019-03-15 12:08         ` [Qemu-devel] " Shameerali Kolothum Thodi
2019-03-08 11:42 ` [Qemu-devel] [PATCH v2 05/11] hw/arm/virt: Add memory hotplug framework Shameer Kolothum
2019-03-08 11:42   ` Shameer Kolothum
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 06/11] hw/arm/virt: Add ACPI support for device memory cold-plug Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 13:32   ` Auger Eric
2019-03-11 17:37     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-11 17:37       ` [Qemu-devel] " Shameerali Kolothum Thodi
2019-03-11 17:58       ` [Qemu-arm] " Auger Eric
2019-03-11 17:58         ` [Qemu-devel] " Auger Eric
2019-03-12 14:34         ` [Qemu-arm] " Igor Mammedov
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 07/11] hw/arm/virt-acpi-build: Add PC-DIMM in SRAT Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 14:55   ` [Qemu-arm] " Igor Mammedov
2019-03-11 14:55     ` [Qemu-devel] " Igor Mammedov
2019-03-12  9:57     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-12 12:50       ` Igor Mammedov
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 08/11] hw/arm/boot: Expose the PC-DIMM nodes in the DT Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 14:58   ` [Qemu-arm] " Igor Mammedov
2019-03-11 14:58     ` [Qemu-devel] " Igor Mammedov
2019-03-12 15:13     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-12 15:38       ` [Qemu-arm] [Qemu-devel] " Auger Eric
2019-03-12 16:39         ` Shameerali Kolothum Thodi
2019-03-12 16:47           ` Auger Eric
2019-03-12 16:56             ` Shameerali Kolothum Thodi
2019-03-13 11:12               ` Auger Eric
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 09/11] hw/acpi: Add ACPI Generic Event Device Support Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 20:23   ` Auger Eric
2019-03-14 11:33     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-18 12:26   ` [Qemu-devel] " Igor Mammedov
2019-03-18 15:04     ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-18 17:00       ` Igor Mammedov [this message]
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 10/11] hw/arm/virt: Add GED device configuration and build aml Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-11 21:11   ` [Qemu-arm] " Auger Eric
2019-03-11 21:11     ` [Qemu-devel] " Auger Eric
2019-03-08 11:42 ` [Qemu-arm] [PATCH v2 11/11] hw/arm/virt: Add GED irq routing and Enable memory hotplug Shameer Kolothum
2019-03-08 11:42   ` [Qemu-devel] " Shameer Kolothum
2019-03-08 15:54 ` [Qemu-devel] [PATCH v2 00/11] ARM virt: ACPI memory hotplug support Auger Eric
2019-03-08 16:00   ` [Qemu-arm] " Shameerali Kolothum Thodi
2019-03-08 16:00     ` [Qemu-devel] " Shameerali Kolothum Thodi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190318180009.5ee284ad@redhat.com \
    --to=imammedo@redhat.com \
    --cc=eric.auger@redhat.com \
    --cc=linuxarm@huawei.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sameo@linux.intel.com \
    --cc=sebastien.boeuf@intel.com \
    --cc=shameerali.kolothum.thodi@huawei.com \
    --cc=shannon.zhaosl@gmail.com \
    --cc=xuwei5@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.