Re: [PATCH] ata: sata_mv: accept 1 or 2 resources in platform probe

Damien Le Moal <[email protected]> Sat, 18 Jul 2026 10:38:17 +0900
Newsgroups org.kernel.vger.linux-ide,org.kernel.vger.linux-kernel
Organization Western Digital Research
Message-ID <[email protected]>
On 7/13/26 07:31, Rosen Penev wrote:
> Board files in arch/arm/plat-orion, arch/arm/mach-dove,
> arch/arm/mach-mv78xx0 and arch/arm/mach-orion5x still register the
> "sata_mv" device with two resources (IORESOURCE_MEM plus IORESOURCE_IRQ).
> Those devices are rejected with -EINVAL, so SATA no longer probes on
> legacy Marvell Orion/Kirkwood-style boards.
> 
> Accept both 1 resource (DT, IRQ fetched via platform_get_irq()) and 2
> resources (legacy, IRQ supplied as a second resource) so both probing
> paths work.
> 
> Fixes: b3b2bec9646e ("ata: sata_mv: Fixes expected number of resources now IRQs are gone")
> Assisted-by: opencode:big-pickle
> Signed-off-by: Rosen Penev <[email protected]>

Applied to for-7.2-fixes. Thanks!


-- 
Damien Le Moal
Western Digital Research