Thread (28 messages) flat view 28 messages, 7 authors, 2022-07-18

Re: [PATCH] PCI: Marvell: Update PCIe fixup

From: "Maciej W. Rozycki" <macro@orcam.me.uk>
Date: 2021-11-03 14:49:12
Also in: linux-mips, linux-pci, lkml

On Tue, 2 Nov 2021, Pali Rohár wrote:
Hello Maciej! Thank you very much for the explanation!
 You are welcome!
I'm surprised that Marvell copied this 20 years old MIPS Galileo PCI
logic into followup ARM SoC PCIe IPs (and later also into recent ARM64
A3720 SoC PCIe IP), removed configuration of PCI class code via
strapping pins and let default PCI class code value to Memory device,
even also when PCIe controller is running in Root Complex mode. And so
correction can be done only from "CPU bus".
 Still the bootstrap firmware (say U-boot, as I can see it mentioned in 
your reference) can write the correct value to the class code register.  
Or can it?

 I guess you can try it and report your findings back.  You can poke at 
PCI/e registers directly from U-boot (`pci write.w', etc.) as with any 
reasonable firmware monitor, no need to write code; I guess you probably 
know that already.

 I have no such hardware and I have no incentive to chase documentation 
for it even if public copies are available for the affected devices.  
Also you say it's IP rather than actual discrete chips as it used to be 
with the Galileo system controllers, so it could be up to the customer to 
get the IP wired/configured correctly.
Maciej, if I had known that you have this kind of information I would
have written you year ago :-)
 Well, I have all kinds of information.

  Maciej

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help