Skip to content

Generic PCI-E changes for relative bus numbering

Jon Loeliger u-boot 1 version New

Get series with b4
b4 am 1184183475.25384.86.camel@ld0161-tx32

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Start pci hose scan from hose->current_busno.drivers/pci.c+7 -10 replies
2/5Minor improvements to drivers/pci_auto.cdrivers/pci_auto.c+20 -90 replies
3/5Support PCIe extended config registersdrivers/pci_indirect.c+2 -20 replies
4/5pciauto setup bridgedrivers/pci_auto.c+6 -30 replies
5/5Add simple agent/end-point configuration in PCI AutoConfig for PCI_CLASS_PROCESSOR_POWERPC.drivers/pci_auto.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/5] Generic PCI-E changes for relative bus numbering

Folks,

The following 5 patches from Ed Swarthout changes how PCI-Express bus numbers are assigned such that P2P bridge] bus numbers programmed into the device are relative to hose->first_busno. The first patch ensures that the hose->current_busno is not less than first_busno. This fixes broken board code which leaves current_busno=0 when first_busno is greater than 0 for the cases with multiple controllers.

Minor improvements to some DEBUG() output are also added. Two generic PCI functions are un-static-ized for use in my follow up patchset for the 86xx platform.

I've only been able to test this on a limited number of boards with PCI-Express support, so anyone else who can verify these changes would be appreciated.

Thanks,
jdl

PS -- Look! Real changes in a small patchset!

 drivers/pci.c          |    8 +++++++-
 drivers/pci_auto.c     |   44 ++++++++++++++++++++++++++++++++------------
 drivers/pci_indirect.c |    4 ++--
 3 files changed, 41 insertions(+), 15 deletions(-)