History log of /openbsd-current/sys/arch/armv7/marvell/mvpcie.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 13-Feb-2022 tobhe

Fix return value check of OF_getproplen(). If "reset-gpios" is not found
in the device tree -1 is returned, causing a panic in the following malloc
call.

ok kn@ patrick@ kettenis@


# 1.5 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.4 25-Mar-2021 jsg

remove uneeded includes in md armv7 files

based on include-what-you-use suggestions


# 1.3 25-Feb-2021 patrick

Add some infrastructure in the PCI chipset tag for pci_probe_device_hook()
so that we can provide IOMMU-hooked bus DMA tags for each PCI device.

ok kettenis@


Revision tags: OPENBSD_6_8_BASE
# 1.2 14-Jul-2020 patrick

Implement pci_intr_establish_cpu() on arm64 and armv7. The function pointer
in the chipset tag for establishing interrupts now takes a struct cpu_info *.
The normal pci_intr_establish() macro passes NULL as ci, which indicates that
the primary CPU is to be used.

The PCI controller drivers can then simply pass the ci on to our arm64/armv7
interrupt establish "framework".

Prompted by dlg@
ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Jul-2018 patrick

dd mvpcie(4), a driver for the Marvell ARMADA 38x PCIe controller,
as implemented in the SolidRun Clearfog and Turris Omnia.

ok kettenis@


# 1.5 24-Oct-2021 mpi

Constify struct cfattach.

ok visa@ a long time ago, ok patrick@


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.4 25-Mar-2021 jsg

remove uneeded includes in md armv7 files

based on include-what-you-use suggestions


# 1.3 25-Feb-2021 patrick

Add some infrastructure in the PCI chipset tag for pci_probe_device_hook()
so that we can provide IOMMU-hooked bus DMA tags for each PCI device.

ok kettenis@


Revision tags: OPENBSD_6_8_BASE
# 1.2 14-Jul-2020 patrick

Implement pci_intr_establish_cpu() on arm64 and armv7. The function pointer
in the chipset tag for establishing interrupts now takes a struct cpu_info *.
The normal pci_intr_establish() macro passes NULL as ci, which indicates that
the primary CPU is to be used.

The PCI controller drivers can then simply pass the ci on to our arm64/armv7
interrupt establish "framework".

Prompted by dlg@
ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Jul-2018 patrick

dd mvpcie(4), a driver for the Marvell ARMADA 38x PCIe controller,
as implemented in the SolidRun Clearfog and Turris Omnia.

ok kettenis@


# 1.4 25-Mar-2021 jsg

remove uneeded includes in md armv7 files

based on include-what-you-use suggestions


# 1.3 25-Feb-2021 patrick

Add some infrastructure in the PCI chipset tag for pci_probe_device_hook()
so that we can provide IOMMU-hooked bus DMA tags for each PCI device.

ok kettenis@


Revision tags: OPENBSD_6_8_BASE
# 1.2 14-Jul-2020 patrick

Implement pci_intr_establish_cpu() on arm64 and armv7. The function pointer
in the chipset tag for establishing interrupts now takes a struct cpu_info *.
The normal pci_intr_establish() macro passes NULL as ci, which indicates that
the primary CPU is to be used.

The PCI controller drivers can then simply pass the ci on to our arm64/armv7
interrupt establish "framework".

Prompted by dlg@
ok kettenis@


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
# 1.1 09-Jul-2018 patrick

dd mvpcie(4), a driver for the Marvell ARMADA 38x PCIe controller,
as implemented in the SolidRun Clearfog and Turris Omnia.

ok kettenis@