diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2021-07-08 22:44:00 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2021-07-08 22:44:00 +0000 |
commit | 592de85ee2c9167a229a240797b793936d726452 (patch) | |
tree | 41616e8351832e34782a4281d1d528bdddc2dad5 /sys | |
parent | 9a9caaccbcfa879293a8637496df92e56ac756eb (diff) |
fix the hibernate io path.
a botched merge meant i was posting the previously used slot to the
chip to process before posting the current slot.
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/nvme.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index dc220002549..61861014ecc 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvme.c,v 1.100 2021/06/02 19:11:02 patrick Exp $ */ +/* $OpenBSD: nvme.c,v 1.101 2021/07/08 22:43:59 dlg Exp $ */ /* * Copyright (c) 2014 David Gwynne <dlg@openbsd.org> @@ -1503,7 +1503,6 @@ nvme_hibernate_admin_cmd(struct nvme_softc *sc, struct nvme_sqe *sqe, bus_dmamap_sync(sc->sc_dmat, NVME_DMA_MAP(q->q_sq_dmamem), sizeof(*sqe) * tail, sizeof(*sqe), BUS_DMASYNC_PREWRITE); - nvme_write4(sc, q->q_sqtdbl, tail); sc->sc_ops->op_sq_leave_locked(sc, q, /* XXX ccb */ NULL); /* wait for completion */ |