Add hibernate support for nvme(4). This creates a separate IO queue that is
authorjmatthew <jmatthew@openbsd.org>
Mon, 29 May 2017 12:58:37 +0000 (12:58 +0000)
committerjmatthew <jmatthew@openbsd.org>
Mon, 29 May 2017 12:58:37 +0000 (12:58 +0000)
commit03d8646762fdf1e3ae58d6c9c6cf094ac3d197bf
treebf2180746e368df4aad2f3f69eac86d0748328ce
parent566d2cada7e05d1327c537c9bcdb228a6fa64481
Add hibernate support for nvme(4).  This creates a separate IO queue that is
only active during hibernation, preallocating the the submission and completion
queues during attach as they need to be page-aligned.

tested on an x270 that successfully hibernates now.
ok dlg@
sys/arch/amd64/amd64/hibernate_machdep.c
sys/conf/files
sys/dev/ic/nvme.c
sys/dev/ic/nvmevar.h