Re: [RFC PATCH v2 05/11] ACPI: platform: setup MSI domain for ACPI based platform device

2016-09-19 Thread Hanjun Guo
On 2016/9/15 23:18, Marc Zyngier wrote: On 15/09/16 15:05, Hanjun Guo wrote: Hi Marc, [...] diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 6482d47..ea01a37 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -24,6 +24,7 @@ #include #include #incl

Re: [RFC PATCH v2 05/11] ACPI: platform: setup MSI domain for ACPI based platform device

2016-09-15 Thread Marc Zyngier
On 15/09/16 15:05, Hanjun Guo wrote: > Hi Marc, > > Thanks for your review, reply inline. > > On 09/14/2016 11:45 PM, Marc Zyngier wrote: >> On 14/09/16 15:21, Hanjun Guo wrote: >>> From: Hanjun Guo >>> >>> With the platform msi domain created, we can set up the msi domain >>> for a platform dev

Re: [RFC PATCH v2 05/11] ACPI: platform: setup MSI domain for ACPI based platform device

2016-09-15 Thread Hanjun Guo
Hi Marc, Thanks for your review, reply inline. On 09/14/2016 11:45 PM, Marc Zyngier wrote: On 14/09/16 15:21, Hanjun Guo wrote: From: Hanjun Guo With the platform msi domain created, we can set up the msi domain for a platform device when it's probed. This patch introduces acpi_configure_ms

Re: [RFC PATCH v2 05/11] ACPI: platform: setup MSI domain for ACPI based platform device

2016-09-14 Thread Marc Zyngier
On 14/09/16 15:21, Hanjun Guo wrote: > From: Hanjun Guo > > With the platform msi domain created, we can set up the msi domain > for a platform device when it's probed. > > This patch introduces acpi_configure_msi_domain(), which retrieves > the domain from iort and set it to platform device. >

[RFC PATCH v2 05/11] ACPI: platform: setup MSI domain for ACPI based platform device

2016-09-14 Thread Hanjun Guo
From: Hanjun Guo With the platform msi domain created, we can set up the msi domain for a platform device when it's probed. This patch introduces acpi_configure_msi_domain(), which retrieves the domain from iort and set it to platform device. As some platform devices such as an irqchip needs th