public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers
@ 2023-04-20 19:44 Pali Rohár
  2023-04-20 19:44 ` [PATCH u-boot 1/3] pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0 Pali Rohár
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Pali Rohár @ 2023-04-20 19:44 UTC (permalink / raw)
  To: Heiko Schocher; +Cc: u-boot

Freescale PCI and PCIe controllers export in config space in BARs offset
for BDF address 00:00.0 internal controller registers, instead of BAR
registers. Avoid access to these registers to prevent overwriting them.

Fixes autoconfiguration of PCI and PCIe devices on Freescale PowerPC
platforms.

Pali Rohár (3):
  pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0
  pci: fsl: Do not access PCI BAR0 register of PCIe Root Port
  pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case

 drivers/pci/pci_auto.c    |  4 ----
 drivers/pci/pci_mpc85xx.c | 12 ++++++++++++
 drivers/pci/pcie_fsl.c    | 14 ++++++++++++++
 3 files changed, 26 insertions(+), 4 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2023-05-04 15:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-20 19:44 [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers Pali Rohár
2023-04-20 19:44 ` [PATCH u-boot 1/3] pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0 Pali Rohár
2023-04-21  3:55   ` Heiko Schocher
2023-05-02 16:51   ` Tom Rini
2023-04-20 19:44 ` [PATCH u-boot 2/3] pci: fsl: Do not access PCI BAR0 register of PCIe Root Port Pali Rohár
2023-04-21  3:56   ` Heiko Schocher
2023-05-02 16:51   ` Tom Rini
2023-05-02 17:53     ` [PATCH v2 u-boot] " Pali Rohár
2023-05-04 15:52       ` Tom Rini
2023-04-20 19:44 ` [PATCH u-boot 3/3] pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case Pali Rohár
2023-04-21  3:56   ` Heiko Schocher
2023-05-02 16:51   ` Tom Rini
2023-04-21  3:54 ` [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers Heiko Schocher
2023-04-29 11:06   ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox