History log of /openbsd-current/sys/arch/sparc64/dev/vbusvar.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.4 27-Jun-2018 kettenis

Rework vbus(4) interrupt handling to be similar to cbus(4). Expose functions
to ack and enable/disable interrupts and don't enable interrupts by default.
Also don't ack interrupts by default.

Make use of this in vcons(4) to avoid interrupt storms that may occur
because of a race between the interrupt handler and the software
interrupt handler. Don't enable the interrupt handler unless somebody
actually has the console open. Ack the interrupt at the end of the softintr
handler.

Fixes console issue on SPARC T3 machines.

ok claudio@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE 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
# 1.3 30-Dec-2008 kettenis

Pass down bus_dma tag.


# 1.2 12-Oct-2008 kettenis

Add interrupt support.


Revision tags: OPENBSD_4_4_BASE
# 1.1 09-Mar-2008 kettenis

Virtual bus for virtual devices on sun4v.


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE 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.3 30-Dec-2008 kettenis

Pass down bus_dma tag.


# 1.2 12-Oct-2008 kettenis

Add interrupt support.


Revision tags: OPENBSD_4_4_BASE
# 1.1 09-Mar-2008 kettenis

Virtual bus for virtual devices on sun4v.