From: Hanjun Guo <guohanjun@huawei.com>
To: Marc Zyngier <marc.zyngier@arm.com>, <linux-kernel@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Hanjun Guo <hanjun.guo@linaro.org>,
Agustin Vega-Frias <agustinv@codeaurora.org>,
Ma Jun <majun258@huawei.com>, John Garry <john.garry@huawei.com>
Subject: Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers
Date: Fri, 7 Jul 2017 19:49:18 +0800 [thread overview]
Message-ID: <595F753E.9090903@huawei.com> (raw)
In-Reply-To: <20170707083959.10349-1-marc.zyngier@arm.com>
On 2017/7/7 16:39, Marc Zyngier wrote:
> A number of irqchip implementations are (ab)using the irqdomain
> allocator by passing a fwnode that is neither a FWNODE_OF or
> a FWNODE_IRQCHIP.
>
> This is pretty bad, but it also feels pretty crap to force these
> drivers to allocate their own irqchip_fwid when they already have
> a proper fwnode.
>
> Instead, let's teach the irqdomain allocator about ACPI device
> nodes, and add some lovely name generation code... Tested on
> an arm64 D05 system.
>
> Reported-by: John Garry <john.garry@huawei.com>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> ---
> kernel/irq/irqdomain.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
Thomas already queued this patch, but I did a test on D03
and it works.
Thanks
Hanjun
prev parent reply other threads:[~2017-07-07 11:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 8:39 [PATCH] irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers Marc Zyngier
2017-07-07 9:25 ` John Garry
2017-07-07 10:16 ` [tip:irq/urgent] " tip-bot for Marc Zyngier
2017-07-07 11:49 ` Hanjun Guo [this message]
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=595F753E.9090903@huawei.com \
--to=guohanjun@huawei.com \
--cc=agustinv@codeaurora.org \
--cc=hanjun.guo@linaro.org \
--cc=john.garry@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=majun258@huawei.com \
--cc=marc.zyngier@arm.com \
--cc=tglx@linutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox