Re: [PATCH v4] ata: libahci: re-enable FBS after error handling on a port multiplier

From: Niklas Cassel

Date: Mon Oct 12 2026 - 07:20:49 EST


On Mon, 12 Oct 2026 12:39:17 +0200, Kyrylo Biryuk wrote:
> ahci_do_softreset() disables FBS before resetting a device behind a port
> multiplier, as required by AHCI 1.2 section 9.3.9, and re-enables it only
> when that softreset succeeds. If it fails, for example because a
> hot-plugged drive is still spinning up ("softreset failed (device not
> ready)"), EH escalates to a hardreset of the PMP link, and nothing turns
> FBS back on: only ahci_pmp_attach() does, which runs at the next boot.
> The port keeps working with command-based switching until then.
>
> [...]

Applied to libata/linux.git (for-7.4), thanks!

[1/1] ata: libahci: re-enable FBS after error handling on a port multiplier
https://git.kernel.org/libata/linux/c/21d333ab

Kind regards,
Niklas