Re: [PATCH v2] ata: libata-core: Ignore forced transfer modes the host does not support

From: Niklas Cassel

Date: Mon Oct 19 2026 - 08:30:01 EST


On Thu, 15 Oct 2026 22:49:35 +0300, Rand Deeb wrote:
> The libata.force parameter can force a transfer mode (pio0-6, mwdma0-4,
> udma0-7) for a port or device. ata_force_xfermask() applies it in
> ata_do_set_mode() right after ata_dev_xfermask() has limited the device
> masks to what the host supports. It replaces those masks with the forced
> mode without checking the host masks, so a mode the controller does not
> support is passed to the driver's ->set_piomode() or ->set_dmamode().
>
> [...]

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

[1/1] ata: libata-core: Ignore forced transfer modes the host does not support
https://git.kernel.org/libata/linux/c/abbb03d0

Kind regards,
Niklas