mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Damien Le Moal <dlemoal@kernel.org>, Rand Deeb <rand.sec96@gmail.com>
Cc: deeb.rand@confident.ru, linux-ide@vger.kernel.org,
	 linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org,
	 shda@confident.ru
Subject: Re: [PATCH v2] ata: libata-core: Ignore forced transfer modes the host does not support
Date: Mon, 19 Oct 2026 14:28:48 +0200	[thread overview]
Message-ID: <179241292859.1142303.12975000399554875054.b4-ty@kernel.org> (raw)
In-Reply-To: <20261015194935.1497-1-rand.sec96@gmail.com>

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


  reply	other threads:[~2026-10-19 12:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15 19:49 Rand Deeb
2026-10-19 12:28 ` Niklas Cassel [this message]
2026-10-22  7:55 ` Damien Le Moal
2026-10-22  8:11   ` Niklas Cassel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179241292859.1142303.12975000399554875054.b4-ty@kernel.org \
    --to=cassel@kernel.org \
    --cc=deeb.rand@confident.ru \
    --cc=dlemoal@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lvc-project@linuxtesting.org \
    --cc=rand.sec96@gmail.com \
    --cc=shda@confident.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®