linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issues with A3720 PCIe controller driver pci-aardvark.c
@ 2021-07-23 22:17 Pali Rohár
  2021-09-30 17:22 ` Pali Rohár
  2022-02-16 20:09 ` Pali Rohár
  0 siblings, 2 replies; 12+ messages in thread
From: Pali Rohár @ 2021-07-23 22:17 UTC (permalink / raw)
  To: Konstantin Porotchkin
  Cc: Krzysztof Wilczyński, Lorenzo Pieralisi, Thomas Petazzoni,
	Bjorn Helgaas, Marek Behún, Remi Pommarel, Xogium,
	linux-pci, linux-kernel, linux-arm-kernel

Hello Konstantin!

There are issues with Marvell Armada 3720 PCIe controller when high
performance PCIe card (e.g. WiFi AX) is connected to this SOC. Under
heavy load PCIe controller sends fatal abort to CPU and kernel crash.

In Marvell Armada 3700 Functional Errata, Guidelines, and Restrictions
document is described erratum 3.12 PCIe Completion Timeout (Ref #: 251)
which may be relevant. But neither Bjorn, Thomas nor me were able to
understood text of this erratum. And we have already spent lot of time
on this erratum. My guess that is that in erratum itself are mistakes
and there are missing some other important details.

Konstantin, are you able to understand this erratum? Or do you know
somebody in Marvell who understand this erratum and can explain details
to us? Or do you know some more details about this erratum?

Also it would be useful if you / Marvell could share text of this
erratum with linux-pci people as currently it is available only on
Marvell Customer Portal which requires registration with signed NDA.

In past Thomas wrote patch "according to this erratum" and I have
rebased, rewritten and resent it to linux-pci mailing list for review:
https://lore.kernel.org/linux-pci/20210624222621.4776-6-pali@kernel.org/

Similar patch is available also in kernel which is part of Marvell SDK.

Bjorn has objections for this patch as he thinks that bit DIS_ORD_CHK in
that patch should be disabled. Seems that enabling this bit effectively
disables PCIe strong ordering model. PCIe kernel drivers rely on PCIe
strong ordering, so it would implicate that that bit should not be
enabled. Which is opposite of what is mentioned patch doing.

Konstantin, could you help us with this problem?

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-07-19 14:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 22:17 Issues with A3720 PCIe controller driver pci-aardvark.c Pali Rohár
2021-09-30 17:22 ` Pali Rohár
2022-02-16 20:09 ` Pali Rohár
2022-07-10 11:21   ` Pali Rohár
2022-07-17  9:47     ` [EXT] " Elad Nachman
2022-07-19  9:33       ` Pali Rohár
2022-07-19 10:50         ` Elad Nachman
2022-07-19 12:06           ` Pali Rohár
2022-07-19 13:45             ` Elad Nachman
2022-07-19 14:33               ` Pali Rohár
2022-07-19 14:51                 ` Elad Nachman
2022-07-19  8:54     ` Wojciech Bartczak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).