Skip to content

pci: Do not access Freescale PCI controllers BARs registers

Pali Rohár u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0drivers/pci/pci_mpc85xx.c+12 -02 replies
2/3pci: fsl: Do not access PCI BAR0 register of PCIe Root Portdrivers/pci/pcie_fsl.c+14 -04 replies
3/3pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig casedrivers/pci/pci_auto.c+0 -42 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHeiko Schocher
1/3R-b T-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers

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(-)
Signature · 1 line
2.20.1