Page MenuHomeFreeBSD

Restore ThunderX Pass1.1 PCI changes removed by r295962
ClosedPublic

Authored by wma on Feb 26 2016, 7:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 16 2024, 6:28 AM
Unknown Object (File)
Feb 16 2024, 5:26 AM
Unknown Object (File)
Dec 30 2023, 3:49 PM
Unknown Object (File)
Dec 20 2023, 12:12 AM
Unknown Object (File)
Nov 28 2023, 10:53 AM
Unknown Object (File)
Nov 7 2023, 1:09 PM
Unknown Object (File)
Oct 25 2023, 7:36 AM
Unknown Object (File)
Sep 16 2023, 7:19 PM
Subscribers

Details

Summary
If Enhanced Allocation is not used, we can't allocate any random
range. All internal devices have hardcoded place where they can
be located within PCI address space. Fortunately, we can read
this value from BAR.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wma retitled this revision from to Restore ThunderX Pass1.1 PCI changes removed by r295962.
wma updated this object.
wma edited the test plan for this revision. (Show Details)
wma added a reviewer: zbb.
wma set the repository for this revision to rS FreeBSD src repository - subversion.
sys/arm64/cavium/thunder_pcie_common.c
164

IMHO this should be moved to sys/arm64/cavium/thunder_pcie_fdt.c as we return with the call to pci_host_generic_alloc_resource() anyway.

sys/arm64/cavium/thunder_pcie_fdt.c
63

If you move the FDT code (mentioned above) here you can static both and have only thunder_pcie_fdt_alloc_res or smth. here.

andrew added inline comments.
sys/arm64/cavium/thunder_pcie_common.c
36

Why are you adding this? I don't see BUS_DEBUG being used.

zbb edited edge metadata.
This revision is now accepted and ready to land.Feb 26 2016, 12:12 PM