Page MenuHomeFreeBSD

Split out the FDT parts of the generic PCIe driver
ClosedPublic

Authored by andrew on Jul 26 2016, 2:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 2:27 PM
Unknown Object (File)
Sat, Apr 20, 2:04 PM
Unknown Object (File)
Mar 15 2024, 5:16 AM
Unknown Object (File)
Mar 13 2024, 7:15 PM
Unknown Object (File)
Mar 13 2024, 6:46 PM
Unknown Object (File)
Feb 23 2024, 8:53 AM
Unknown Object (File)
Feb 7 2024, 3:38 AM
Unknown Object (File)
Jan 25 2024, 3:11 AM
Subscribers

Details

Summary

To allow for an ACPI attachment to the generic PCIe driver split off the
FDT attachment to a new file. A separate ACPI attachment will then be
added to allow arm64 servers with ACPI to use it over FDT.

Test Plan

Tested on ThunderX, can also test on the SoftIron Overdeive 3000

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew retitled this revision from to Split out the FDT parts of the generic PCIe driver.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: arm64, jhb, br.
andrew added subscribers: emaste, bz.

Add the missing files.arm change

Ok, though I still think that 'pci_host_generic' isn't really generic. It doesn't work for any x86 systems for example. Also, I would hope that for ACPI, one could use sys/dev/acpica/acpi_pci* which use things like 'ResourceProducer()' entries in _CRS to determine which address ranges are decoded, etc.

@jhb, do you think @andrew should commit this version now and possibly refine later, or do you want to see an updated version?

This revision was automatically updated to reflect the committed changes.