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

Fedor Pchelkin pchelkin at ispras.ru
Tue Oct 20 17:35:17 MSK 2026


On Thu, 15. Oct 22:49, 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().

Прошу сообщить, на решение какой задачи направлен данный патч.  В спринте [1]
не нахожу чего-то подходящего.

[1]: https://gitlab.linuxtesting.ru/lvc/lvc-expert-group/-/blob/master/sprints/104-Sprint_2026-09-25/17-confident.md



More information about the lvc-project mailing list