History log of /openbsd/sys/arch/sparc64/dev/msi.c (Results 1 – 5 of 5)
Revision Date Author Comments
# 1d9e937e 23-Jun-2020 jmatthew <jmatthew@openbsd.org>

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

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@

show more ...


# 7fc10eb9 08-Sep-2015 deraadt <deraadt@openbsd.org>

sizes for free(); ok semarie


# b632fd86 24-Nov-2014 kettenis <kettenis@openbsd.org>

The hypervisor on a SPARC T5-2 needs stricter alignment of the MSI message
queue.


# f8e6c425 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 501210ac 06-Jul-2011 kettenis <kettenis@openbsd.org>

Split some generic MSI code out into its own file.