Add a barrier between reading the cqe flags and the command ID, which
authorjmatthew <jmatthew@openbsd.org>
Tue, 9 Feb 2021 01:50:10 +0000 (01:50 +0000)
committerjmatthew <jmatthew@openbsd.org>
Tue, 9 Feb 2021 01:50:10 +0000 (01:50 +0000)
commitee570821402ebda8e6230e9e2035c8409933bfc1
tree88a583e34dcda030a554489a308eddaa2a201c3d
parentcbaa03098d1663a4508b4b201138b6c005fcfe40
Add a barrier between reading the cqe flags and the command ID, which
should ensure that we don't read a stale command ID and complete the
wrong scsi io.  powerpc64 base builds were crashing like this fairly
regularly.

ok deraadt@ dlg@
sys/dev/ic/nvme.c