Re: [PATCH RESEND 0/5] ata: fix platform driver probe, removal and locking issues
From: Damien Le Moal
Date: Sat Nov 14 2026 - 21:05:21 EST
On 11/14/26 03:03, shao.mingyin@xxxxxxxxxx wrote:
> The ATA platform drivers in this series have independent defects in
> their probe, removal or locking paths. They share the same shape:
> state established in probe is not checked, torn down or serialized
> consistently.
>
> Patch 1 fixes recursive locking in the IXP4xx CF PIO callback, which
> can hang the first data transfer, including IDENTIFY during probe. Patch 2
> returns the host activation error from the Buddha probe path instead of
> reporting a successful bind. Patch 3 makes the QorIQ and Seattle
> drivers inherit ahci_platform_ops so that host teardown runs host_stop.
> Patch 4 stops only the Gemini SATA bridges that started successfully.
> Patch 5 serializes the controller-wide SGPIO update in the Seattle LED
> callback.
>
> Each patch touches one driver, except patch 3, which covers the QorIQ
> and Seattle AHCI platform drivers. The patches are independent and any
> subset can be applied; the order lists the more severe failures first.
>
> All five patches carry QEMU A/B test descriptions after the --- line.
For the series:
Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>
--
Damien Le Moal
Western Digital Research