lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 7 Jul 2017 19:49:18 +0800
From:   Hanjun Guo <guohanjun@...wei.com>
To:     Marc Zyngier <marc.zyngier@....com>, <linux-kernel@...r.kernel.org>
CC:     Thomas Gleixner <tglx@...utronix.de>,
        Hanjun Guo <hanjun.guo@...aro.org>,
        Agustin Vega-Frias <agustinv@...eaurora.org>,
        Ma Jun <majun258@...wei.com>,
        John Garry <john.garry@...wei.com>
Subject: Re: [PATCH] irqdomain: Allow ACPI device nodes to be used as
 irqdomain identifiers

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@...wei.com>
> Signed-off-by: Marc Zyngier <marc.zyngier@....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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ