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

Niklas Cassel cassel at kernel.org
Mon Oct 19 15:28:48 MSK 2026


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




More information about the lvc-project mailing list