HomeFreeBSD

virtio: Pass the interrupt type in mmio mode

Description

virtio: Pass the interrupt type in mmio mode

When we register an interrupt handler we need to pass the intr_type along in
bus_setup_intr().

The interrupt type matters because it is used to decide if we need to enter
NET_EPOCH. That meant that vtmmio-based if_vtnet did not, which led to panics
with INVARIANTS set.

Sponsored by: Axiado

Details

Provenance
kpAuthored on
Parents
rS358177: linuxkpi: Add str_has_prefix
Branches
Unknown
Tags
Unknown