Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1683146

Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers

From Hanjun Guo <guohanjun@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers
Date 2017-07-07 14:00 +0200
Message-ID <u0A5r-3x2-5@gated-at.bofh.it> (permalink)
References <u0x7A-1qN-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] irqdomain: Allow ACPI device nodes to be used as irqdomain identifiers Marc Zyngier <marc.zyngier@arm.com> - 2017-07-07 10:50 +0200
  Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as  irqdomain identifiers John Garry <john.garry@huawei.com> - 2017-07-07 11:30 +0200
  [tip:irq/urgent] irqdomain: Allow ACPI device nodes to be used as  irqdomain identifiers tip-bot for Marc Zyngier <tipbot@zytor.com> - 2017-07-07 12:20 +0200
  Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as  irqdomain identifiers Hanjun Guo <guohanjun@huawei.com> - 2017-07-07 14:00 +0200

csiph-web