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

Heiko Schocher hs at denx.de
Fri Apr 21 05:54:29 CEST 2023


Hello Pali,

On 20.04.23 21:44, Pali Rohár wrote:
> 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(-)

Many thanks for this series!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list