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-next>] [day] [month] [year] [list]
Message-ID: <20251201105144.539450-1-alexander.stein@ew.tq-group.com>
Date: Mon,  1 Dec 2025 11:51:39 +0100
From: Alexander Stein <alexander.stein@...tq-group.com>
To: Shawn Guo <shawnguo@...nel.org>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Paul Walmsley <pjw@...nel.org>,
	Samuel Holland <samuel.holland@...ive.com>
Cc: Alexander Stein <alexander.stein@...tq-group.com>,
	linux-arm-kernel@...ts.infradead.org,
	devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	linux-riscv@...ts.infradead.org
Subject: [RFC PATCH 0/3] ls-extirq platform device conversion

Hi,

this RFC tried to address the problem that sometimes at time of probing the
parent IRQ domain is not yet ready. This results in the error message:
> irq-ls-extirq: Cannot find parent domain
> OF: of_irq_init: Failed to init /soc/syscon@...0000/interrupt-controller@14
>  ((____ptrval____)), parent 0000000000000000

Probe deferral is only possible having a platform device so the driver is
converted accordingly. It is inspired by commit 8ec99b033147e
("irqchip/sifive-plic: Convert PLIC driver into a platform driver").

Because the interrupt-controller@...0014 is a child of a syscon node, it is
not probed after platform device conversion. So it has to be moved outside.
This DT change has to be done for all layerscape SoC .dtsi
This is an incompatible change and I don't really know how to address that for
now. I've done it for LS1088A as a proof-of-concept for now.

Comments if this is the way to go or a different approach is more suitable
are very much welcome.

Best regards,
Alexander

Alexander Stein (3):
  irqchip/ls-extirq: Convert to platform driver
  irqchip/ls-extirq: Use managed resources
  arm64: dts: ls1088a: Move extirq outside of syscon

 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 42 +++++------
 drivers/irqchip/irq-ls-extirq.c               | 75 +++++++++----------
 2 files changed, 56 insertions(+), 61 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ