Module Name: src Committed By: skrll Date: Wed Jan 1 17:53:08 UTC 2025
Modified Files: src/sys/arch/riscv/conf: GENERIC.common GENERIC64 files.riscv std.riscv std.riscv64 src/sys/arch/riscv/fdt: files.fdt src/sys/arch/riscv/starfive: files.starfive Added Files: src/sys/arch/riscv/fdt: pcihost_fdt.c pcihost_fdtvar.h src/sys/arch/riscv/include: pci_machdep.h src/sys/arch/riscv/starfive: jh7110_pcie.c Log Message: risc-v: add support for PCI and the PCIe controller in the JH7110 SoC. Testing as working with xhci and nvme on VisionFive2. Uses legacy PCI interrupts currently. MSIs to be added later. pcihost_fdt code is 99% the same as the Arm version and should be shared. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/riscv/conf/GENERIC.common cvs rdiff -u -r1.18 -r1.19 src/sys/arch/riscv/conf/GENERIC64 cvs rdiff -u -r1.16 -r1.17 src/sys/arch/riscv/conf/files.riscv cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/conf/std.riscv cvs rdiff -u -r1.4 -r1.5 src/sys/arch/riscv/conf/std.riscv64 cvs rdiff -u -r1.3 -r1.4 src/sys/arch/riscv/fdt/files.fdt cvs rdiff -u -r0 -r1.1 src/sys/arch/riscv/fdt/pcihost_fdt.c \ src/sys/arch/riscv/fdt/pcihost_fdtvar.h cvs rdiff -u -r0 -r1.1 src/sys/arch/riscv/include/pci_machdep.h cvs rdiff -u -r1.8 -r1.9 src/sys/arch/riscv/starfive/files.starfive cvs rdiff -u -r0 -r1.1 src/sys/arch/riscv/starfive/jh7110_pcie.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.