On Mon, Dec 12, 2022 at 12:44:09PM +0100, Klaus Jensen wrote: > From: Klaus Jensen <k.jen...@samsung.com> > > Prior to reading the shadow doorbell cq head, we have to update the > eventidx. Otherwise, we risk that the driver will skip an mmio doorbell > write. This happens on riscv64, as reported by Guenter. > > Adding the missing update to the cq eventidx fixes the issue. > > Fixes: 3f7fe8de3d49 ("hw/nvme: Implement shadow doorbell buffer support") > Cc: qemu-sta...@nongnu.org > Cc: qemu-ri...@nongnu.org > Reported-by: Guenter Roeck <li...@roeck-us.net> > Signed-off-by: Klaus Jensen <k.jen...@samsung.com>
Looks good. Reviewed-by: Keith Busch <kbu...@kernel.org>