From: Tommy Kelly <linux@tkel.ly>
To: Niklas Cassel <cassel@kernel.org>
Cc: linux-ide@vger.kernel.org, Damien Le Moal <dlemoal@kernel.org>,
Tejun Heo <htejun@gmail.com>, Jeff Garzik <jeff@garzik.org>,
John Garry <john.g.garry@oracle.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH 0/3] ata: fix deferred QC handling for port multipliers
Date: Sat, 2 May 2026 17:59:12 -0700 [thread overview]
Message-ID: <88ea5d12-520b-4022-9faa-3ea879a8bfb6@tkel.ly> (raw)
In-Reply-To: <20260501125410.1204490-5-cassel@kernel.org>
On 5/1/26 05:54, Niklas Cassel wrote:
> Hello all,
>
> Tommy Kelly reported a regression with PMP that use CBS:
> https://lore.kernel.org/linux-ide/ce09cc21-a8e9-4845-b205-35411e22fba9@tkel.ly/
>
> Tommy, it would be nice if you could apply this series and see if it solves
> your problem. Right now the series is compile tested only.
>
>
> Niklas Cassel (3):
> ata: libata-pmp: fix ata_pmp_qc_defer_cmd_switch()
> ata: libata-scsi: do not use the deferred QC feature on PMPs with CBS
> ata: libata-scsi: do not needlessly defer commands when using PMP with
> FBS
>
> drivers/ata/libata-core.c | 16 +++++++---
> drivers/ata/libata-eh.c | 8 ++---
> drivers/ata/libata-pmp.c | 13 +++++---
> drivers/ata/libata-scsi.c | 66 ++++++++++++++++++++++-----------------
> include/linux/libata.h | 6 ++--
> 5 files changed, 64 insertions(+), 45 deletions(-)
>
Hi Niklas,
Yes, this patch series fixed the regression for me with a CBS Port Multiplier.
Here are the commits I tested with:
> (HEAD -> fedora-7.0-libata) ata: libata-scsi: do not needlessly defer commands when using PMP with FBS
> ata: libata-scsi: do not use the deferred QC feature on PMPs with CBS
> ata: libata-pmp: fix ata_pmp_qc_defer_cmd_switch()
> ata: ahci: fail probe if BAR too small for claimed ports
> ata: libahci: use ahci_nr_ports() helper
> ata: pata_parport: switch to dynamic root device
> Merge remote-tracking branch 'libata/for-7.1' into fedora-7.0-libata
> (tag: kernel-7.0.3-0, kernel-ark/fedora-7.0, fedora-7.0) [redhat] kernel-7.0.3-0
> Merge Linux v7.0.3
> (tag: v7.0.3, kernel-ark/linux-7.0.y, linux-7.0.y) Linux 7.0.3
And here's some logs showing ata_id (non-NCQ) resolving immediately.
After, I'm able to boot and mount and use the filesystem no problem.
No errors and no timeouts.
> Mar 12 17:00:10 localhost kernel: ahci-dwc fc800000.sata: port 0 is not capable of FBS
> May 02 17:12:39 (udev-worker)[874]: sdd: Starting 'ata_id --export /dev/sdd'
> May 02 17:12:39 (udev-worker)[874]: sdd: 'ata_id --export /dev/sdd'(out) 'ID_ATA=1'
> May 02 17:12:39 (udev-worker)[874]: sdd: Process 'ata_id --export /dev/sdd' succeeded.
> $ cat /sys/block/sd*/device/queue_depth
> 32
> 32
> 32
> 32
> 32
I will also apply the FBS devicetree change (5918bf2) and test with that too.
Thank you for your work on this!
- Tommy
next prev parent reply other threads:[~2026-05-03 1:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 12:54 [PATCH 0/3] ata: fix deferred QC handling for port multipliers Niklas Cassel
2026-05-01 12:54 ` [PATCH 1/3] ata: libata-pmp: fix ata_pmp_qc_defer_cmd_switch() Niklas Cassel
2026-05-01 12:54 ` [PATCH 2/3] ata: libata-scsi: do not use the deferred QC feature on PMPs with CBS Niklas Cassel
2026-05-01 12:54 ` [PATCH 3/3] ata: libata-scsi: do not needlessly defer commands when using PMP with FBS Niklas Cassel
2026-05-01 14:19 ` [PATCH 0/3] ata: fix deferred QC handling for port multipliers John Garry
2026-05-01 18:42 ` Niklas Cassel
2026-05-04 7:27 ` John Garry
2026-05-08 19:23 ` Niklas Cassel
2026-05-03 0:59 ` Tommy Kelly [this message]
2026-05-06 0:13 ` Tommy Kelly
2026-05-06 8:45 ` Heiko Stuebner
2026-05-06 15:00 ` Niklas Cassel
2026-05-06 14:52 ` 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=88ea5d12-520b-4022-9faa-3ea879a8bfb6@tkel.ly \
--to=linux@tkel.ly \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=htejun@gmail.com \
--cc=jeff@garzik.org \
--cc=john.g.garry@oracle.com \
--cc=linux-ide@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/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