[PowerPC] [PASEMI] Issue with the identification of ATA drives after the of/irq updates 2024-05-29

Christian Zigotzky
2024-06-30T10:22:39Z

Hello,

There is an issue with the identification of ATA drives with our P.A.
Semi Nemo boards [1] after the
commit "of/irq: Factor out parsing of interrupt-map parent phandle+args
from of_irq_parse_raw()" [2].

Error messages:

ata2.00: failed to IDENTIFY (I/O error, err_mask=0x4)
ata2.00: qc timeout after 10000 mssecs (cmd 0xec)

Screenshots [3]

I bisected yesterday [4] and "of/irq: Factor out parsing of
interrupt-map parent phandle+args from of_irq_parse_raw()" [2] is the
first bad commit.

Then I created a patch for reverting this first bad commit. I also
reverted the changes in drivers/of/property.c. [5]

The patched kernel boots with successful detection of the ATA devices.

Please check the of/irq updates.

Thanks,
Christian

[1] https://en.wikipedia.org/wiki/AmigaOne_X1000
[2]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.10-rc5&id=935df1bd40d43c4ee91838c42a20e9af751885cc
[3]
- https://i.ibb.co/WcH8g4K/20240626-095132.jpg
- https://i.ibb.co/K7KnDxx/panic2.jpg
- https://i.ibb.co/frnbJfb/panic3.jpg

[4] https://forum.hyperion-entertainment.com/viewtopic.php?p=58585#p58585
[5]