[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <586A4155.3090905@linaro.org>
Date: Mon, 02 Jan 2017 20:02:29 +0800
From: Hanjun Guo <hanjun.guo@...aro.org>
To: "Rafael J. Wysocki" <rafael@...nel.org>,
Hanjun Guo <guohanjun@...wei.com>
CC: Marc Zyngier <marc.zyngier@....com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Greg KH <gregkh@...uxfoundation.org>,
Tomasz Nowicki <tn@...ihalf.com>, Ma Jun <majun258@...wei.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Agustin Vega-Frias <agustinv@...eaurora.org>,
Sinan Kaya <okaya@...eaurora.org>,
Charles Garcia-Tobin <charles.garcia-tobin@....com>,
huxinwei@...wei.com, yimin@...wei.com, linuxarm@...wei.com,
Jon Masters <jcm@...hat.com>
Subject: Re: [PATCH v5 09/14] ACPI: platform: setup MSI domain for ACPI based
platform device
On 01/01/2017 04:45 AM, Rafael J. Wysocki wrote:
> On Fri, Dec 30, 2016 at 11:50 AM, Hanjun Guo <guohanjun@...wei.com> wrote:
[...]
>>
>> So how about just add the code as below?
>
> Works for me.
OK, will send out the updated patch set soon.
>
>> diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
>> index 11e63dd..37a8dfe 100644
>> --- a/drivers/acpi/glue.c
>> +++ b/drivers/acpi/glue.c
>> @@ -316,7 +316,8 @@ static int acpi_platform_notify(struct device *dev)
>> if (!adev)
>> goto out;
>>
>> + if (dev->bus == &platform_bus_type)
>> + acpi_configure_pmsi_domain(dev);
>>
>> if (type && type->setup)
>> type->setup(dev);
Thanks for your comments.
Hanjun
Powered by blists - more mailing lists