#
1.5 |
|
23-Jun-2020 |
jmatthew |
Implement pci_intr_establish_cpu() for pyro(4) and vpci(4) based sparc64 systems. MSIs on these systems are delivered to event queues, which trigger interrupts when non-empty. The interrupt handler dequeues the MSIs and converts them into soft interrupts, which run on the same cpu as the event queue interrupt.
To target pci device interrupts to different cpus, we set up an event queue per cpu in the system, or as many as we can, if there are fewer event queues available. For now, we don't have a way to feed this information back to intrmap, so instead we just map interrupts for cpus that don't have an event queue to another cpu that does have one.
Tested on V215 (pyro), T5120, T4-1, S7-2 (vpci). dlg@ got the pyro side of it working for me. ok dlg@ kettenis@
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE
|
#
1.4 |
|
06-Jul-2011 |
kettenis |
Add MSI support to pyro(4). Tested on a v215 with the on-board mpi(4).
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.3 |
|
03-Apr-2007 |
kettenis |
Add iommu glue.
|
#
1.2 |
|
01-Apr-2007 |
kettenis |
Add code to establish interrupts.
|
#
1.1 |
|
30-Mar-2007 |
kettenis |
First stab at a driver for the Host/PCIe bridge found on the Sun Fire v215/v245/v445 systems.
|
Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.4 |
|
06-Jul-2011 |
kettenis |
Add MSI support to pyro(4). Tested on a v215 with the on-board mpi(4).
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
|
#
1.3 |
|
03-Apr-2007 |
kettenis |
Add iommu glue.
|
#
1.2 |
|
01-Apr-2007 |
kettenis |
Add code to establish interrupts.
|
#
1.1 |
|
30-Mar-2007 |
kettenis |
First stab at a driver for the Host/PCIe bridge found on the Sun Fire v215/v245/v445 systems.
|