CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2018/06/27 05:38:59

Modified files:
        sys/arch/sparc64/dev: vbus.c vbusvar.h vcons.c 

Log message:
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@

Reply via email to