[PATCH v3 01/13] PCI: apple: Set only available ports up

Marc Zyngier maz at kernel.org
Sun Apr 13 13:00:23 PDT 2025


On Sun, 13 Apr 2025 17:57:35 +0100,
Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org> wrote:
> 
> On Tue, Apr 01, 2025 at 10:17:01AM +0100, Marc Zyngier wrote:
> > From: Janne Grunau <j at jannau.net>
> > 
> > Iterating over disabled ports results in of_irq_parse_raw() parsing
> > the wrong "interrupt-map" entries, as it takes the status of the node
> 
> 'as it doesn't take account'?
> 
> > into account.

No, I really mean it in the positive form. of_irq_parse_raw() checks
of_device_is_available(), and gets really confused if walking from a
disabled port. You end up with the interrupt for the next *available*
port, and everything goes pear shaped from then onwards.

So IMO "as it takes into account" describes pretty accurately the
situation.

	M.

-- 
Jazz isn't dead. It just smells funny.



More information about the linux-arm-kernel mailing list