Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: Tommy Kelly <linux@tkel.ly>
Cc: dlemoal@kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH v2 0/2] ATA port deferred qc fixes
Date: Wed, 22 Apr 2026 17:18:13 +0200	[thread overview]
Message-ID: <aejmtaOfEva8uqak@ryzen> (raw)
In-Reply-To: <ce09cc21-a8e9-4845-b205-35411e22fba9@tkel.ly>

On Thu, Apr 02, 2026 at 02:22:49AM -0700, Tommy Kelly wrote:
> The device/driver/subsystem tree looks like rk3568-dwc-ahci -> scsi -> sda.
> The platform does not (yet) support FIS-Based Switching (FBS), so it is
> using Command-Based Switching (CBS). FBS support may land in Linux 7.1.

I still do not have access to a PMP.
Damien said he might give me access to one.

FWIW, since you are using rk368, I saw that:

commit 5918bf2a17f4689abfb94d341c5240088f8bd16e
Author: Heiko Stuebner <heiko@sntech.de>
Date:   Sun Feb 1 20:18:01 2026 +0100

    arm64: dts: rockchip: Add port subnodes to RK356x SATA controllers


Has now landed in Linus's tree, which adds PMP FBS support for this platform.


What we know:
1) There is a design flaw in the current deferral code which will make
   PMP FBS defer commands to all drives when sending a non-NCQ command.
   (Basically giving the FBS the same performance as CBS).

2) There is a bug that you found that seems to cause indefinite requeues on
   PMP CBS. This manifests as:
systemd[1]: dev-sdc.device: Job dev-sdc.device/start timed out.
systemd[1]: Timed out waiting for device dev-sdc.device - /dev/sdc.

   We don't know if this bug also affects PMP FBS or not.
   Out of curiousity, do you still see this bug if running with the above
   patch cherry-picked or not?


Kind regards,
Niklas

      parent reply	other threads:[~2026-04-22 15:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-20 22:14 [PATCH v2 0/2] ATA port deferred qc fixes Damien Le Moal
2026-02-20 22:14 ` [PATCH v2 1/2] ata: libata-eh: correctly handle deferred qc timeouts Damien Le Moal
2026-02-23 12:09   ` Hannes Reinecke
2026-02-23 17:48   ` Igor Pylypiv
2026-03-05 17:59   ` Guenter Roeck
2026-03-05 23:27     ` Niklas Cassel
2026-03-06  0:11       ` Damien Le Moal
2026-03-06  0:59         ` Damien Le Moal
2026-03-06  8:23           ` Niklas Cassel
2026-03-06  0:14       ` Guenter Roeck
2026-03-06  0:21         ` Damien Le Moal
2026-03-06  0:41           ` Guenter Roeck
2026-03-05 23:59     ` Damien Le Moal
2026-03-06  0:32       ` Guenter Roeck
2026-03-06  0:50         ` Damien Le Moal
2026-03-06  1:31           ` Guenter Roeck
2026-03-06  8:24           ` Niklas Cassel
2026-02-20 22:14 ` [PATCH v2 2/2] ata: libata-core: fix cancellation of a port deferred qc work Damien Le Moal
2026-02-23 12:09   ` Hannes Reinecke
2026-02-23 17:49   ` Igor Pylypiv
2026-02-24  0:39 ` [PATCH v2 0/2] ATA port deferred qc fixes Damien Le Moal
2026-04-02  9:22 ` Tommy Kelly
2026-04-05  6:45   ` Damien Le Moal
2026-04-12 18:22   ` Niklas Cassel
2026-04-17  4:38     ` Tommy Kelly
2026-04-17 15:19       ` Niklas Cassel
2026-04-22 15:18   ` Niklas Cassel [this message]

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=aejmtaOfEva8uqak@ryzen \
    --to=cassel@kernel.org \
    --cc=dlemoal@kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux@tkel.ly \
    /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