CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2024/11/08 10:34:22
Modified files: sys/dev/ic : psp.c sys/dev/pci : psp_pci.c Log message: Use a mutex to make psp(4) MP safe. To avoid a race between writing PSP command, sleeping, receiving interrupt, and calling wakeup(9), protect psp(4) driver with a mutex. With that interrupt handler is MP safe and ioctl(2) can release kernel lock. from hshoexer@; OK dlg@