Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: Niklas Cassel <cassel@kernel.org>, Tommy Kelly <linux@tkel.ly>
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: Wed, 06 May 2026 10:45:08 +0200	[thread overview]
Message-ID: <8711044.4vTCxPXJkl@phil> (raw)
In-Reply-To: <ec407a6d-2164-4252-90f0-0aebe8227290@tkel.ly>

Am Mittwoch, 6. Mai 2026, 02:13:41 Mitteleuropäische Sommerzeit schrieb Tommy Kelly:
> On 5/2/26 17:59, Tommy Kelly wrote:
> > 
> > I will also apply the FBS devicetree change (5918bf2) and test with that too.
> > 
> 
> Special thank you to Heiko for the FBS support!
> His patch setting PxCMD.FBSCP works: https://lore.kernel.org/all/20260201191804.41421-2-heiko@sntech.de/

well that is a pleasant surprise :-D .

I just needed the port node to hook y phy-supply into, and therefore
checked what capabilities were supported/which properties needed to go
in there ... but really glad it helps you too :-)

Heiko


> I compiled the FBS devicetree change into u-boot (which passes the fdt to linux),
> and running on unpatched linux 6.19.12,
> FBS works, and no regressions are present.
> Logs:
> 
> > Linux version 6.19.12-200.fc43.aarch64
> > ahci-dwc fc800000.sata: supply ahci not found, using dummy regulator
> > ahci-dwc fc800000.sata: supply phy not found, using dummy regulator
> > platform fc800000.sata:sata-port@0: supply target not found, using dummy regulator
> > ahci-dwc fc800000.sata: supply ahci not found, using dummy regulator
> > ahci-dwc fc800000.sata: supply phy not found, using dummy regulator
> > platform fc800000.sata:sata-port@0: supply target not found, using dummy regulator
> > ahci-dwc fc800000.sata: supply ahci not found, using dummy regulator
> > ahci-dwc fc800000.sata: supply phy not found, using dummy regulator
> > platform fc800000.sata:sata-port@0: supply target not found, using dummy regulator
> > ahci-dwc fc800000.sata: PMPn is limited up to 5 ports
> > ahci-dwc fc800000.sata: forcing port_map 0x0 -> 0x1
> > ahci-dwc fc800000.sata: masking port_map 0x1 -> 0x1
> > ahci-dwc fc800000.sata: AHCI vers 0001.0300, 32 command slots, 6 Gbps, platform mode
> > ahci-dwc fc800000.sata: 1/1 ports implemented (port mask 0x1)
> > ahci-dwc fc800000.sata: flags: ncq sntf pm led clo only pmp fbs pio slum part ccc apst 
> > scsi host0: ahci-dwc
> > ata1: SATA max UDMA/133 mmio [mem 0xfc800000-0xfc800fff] port 0x100 irq 59 lpm-pol 0
> > ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
> > ata1.15: Port Multiplier 1.2, 0x197b:0x5755 r0, 5 ports, feat 0x5/0xf
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.00: hard resetting link
> > ahci-dwc fc800000.sata: FBS is disabled
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.00: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
> > ata1.01: hard resetting link
> > ahci-dwc fc800000.sata: FBS is disabled
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.01: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
> > ata1.02: hard resetting link
> > ahci-dwc fc800000.sata: FBS is disabled
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.02: SATA link up 3.0 Gbps (SStatus 123 SControl 330)
> > ata1.03: hard resetting link
> > ahci-dwc fc800000.sata: FBS is disabled
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.03: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
> > ata1.04: hard resetting link
> > ahci-dwc fc800000.sata: FBS is disabled
> > ahci-dwc fc800000.sata: FBS is enabled
> > ata1.04: SATA link up 6.0 Gbps (SStatus 133 SControl 330)
> 
> 
> Again, that is before this patch series, I see no queue_depth regression with FBS.
> As opposed to CBS which had a regression in the 6.19.x series.
> 
> I can test with this patch series + FBS if you'd like.
> 
> - Tommy
> 
> 





  reply	other threads:[~2026-05-06  8:45 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
2026-05-06  0:13   ` Tommy Kelly
2026-05-06  8:45     ` Heiko Stuebner [this message]
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=8711044.4vTCxPXJkl@phil \
    --to=heiko@sntech.de \
    --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=linux@tkel.ly \
    --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