Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Matthew W Carlis <mattc@purestorage.com>
To: macro@orcam.me.uk
Cc: ashishk@purestorage.com, bhelgaas@google.com,
	ilpo.jarvinen@linux.intel.com, linux-pci@vger.kernel.org,
	mattc@purestorage.com, msaggi@purestorage.com,
	sconnor@purestorage.com, alok.a.tiwari@oracle.com
Subject: Re: [PATCH v2 0/1] PCI: pcie_failed_link_retrain() return if dev is not ASM2824
Date: Mon, 22 Dec 2025 18:12:17 -0700	[thread overview]
Message-ID: <20251223011218.964-1-mattc@purestorage.com> (raw)
In-Reply-To: <alpine.DEB.2.21.2512010559060.36486@angie.orcam.me.uk>

On Mon, 1 Dec 2025 Maciej W. Rozycki wrote:

>> Root port can tell us if PCIe errors are going to the BIOS. IF any of the
>> ErrCorrectable, ErrNon-Fatal, ErrFatal, are set in the RootCtrl then those
>> error types would most likely go to the BIOS even if the OS thinks it took
>> control. Someone will have to correct me if wrong about ARM. If you sent
>> the full lspci -vvv of root port, USP/DSP/USP combo I could figure out
>> whats going on.
>> 
>
>  I've attached a full `lspci -xxxx' dump instead, just in case anything 
> else turns out useful.  I'll appreciate if you have a look.

I looked through the tree and don't see anything obviously wrong in the error
settings. Those CE's on 02:03.0 might be left-over from boot. In any case I
wouldn't expect to see BadTLP or BadDLLP unless there was something wrong...
It would be interesting to clear them and see if a link reset could trigger
them again.

As for the quirk itself I want to re-ping this review since it looks like the
link speed 'quirk' has also been implicated by Alok here in a CR here:
https://lore.kernel.org/all/c296df33-f9c0-42f7-8add-6966d89d00c4@oracle.com/

We know the quirk can be executed on devices that are functioning completely correctly. 
There might be a justification here to have an additional/new 'pci_fixup_pass'
that would execute after link-training failures & let the specific devices
decide how to handle link recovery, but I don't want this specific quirk running
against any of the devices in my systems.

  Matt

      reply	other threads:[~2025-12-23  1:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02  5:24 [PATCH v2 0/1] PCI: pcie_failed_link_retrain() return if dev is not ASM2824 Matthew W Carlis
2025-07-02  5:24 ` [PATCH v2 1/1] " Matthew W Carlis
2025-07-03 12:11   ` Ilpo Järvinen
2025-07-03 23:53     ` [PATCH v2 0/1] " Matthew W Carlis
2025-07-04 10:20       ` Ilpo Järvinen
2025-07-08 22:49         ` Matthew W Carlis
2025-07-09  9:45           ` Ilpo Järvinen
2025-07-09 18:52             ` Matthew W Carlis
2025-07-09 20:27               ` Matthew W Carlis
2025-07-11 13:46               ` Ilpo Järvinen
2025-07-16 13:01             ` Maciej W. Rozycki
2025-07-23 19:13               ` Matthew W Carlis
2025-08-01 16:04                 ` Maciej W. Rozycki
2025-08-15  0:35                 ` Matthew W Carlis
2025-12-01  6:33                   ` Maciej W. Rozycki
2025-12-23  1:12                     ` Matthew W Carlis [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=20251223011218.964-1-mattc@purestorage.com \
    --to=mattc@purestorage.com \
    --cc=alok.a.tiwari@oracle.com \
    --cc=ashishk@purestorage.com \
    --cc=bhelgaas@google.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=macro@orcam.me.uk \
    --cc=msaggi@purestorage.com \
    --cc=sconnor@purestorage.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