Holding a non-sleepable mutex across IOCTL processing violates locking invariants, as copying data to and from user space can page fault and firmware completion waits sleep via pause().
Replace the mutex with a sleepable sx (shared/exclusive) lock to serialize driver and MPT IOCTL execution across sleepable boundaries. Initialize the sx lock during controller setup and release it during driver teardown.