sw: make OWI asynchronous and IRQ-safe

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>