hw/block/nvme: disable PMR at boot up
commit75c3c9de961db9a76842452c973aea921eb4fa1f
authorKlaus Jensen <k.jensen@samsung.com>
Fri, 18 Dec 2020 12:04:19 +0000 (18 13:04 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Mon, 8 Feb 2021 20:15:53 +0000 (8 21:15 +0100)
treee22c52d5071a6d3a09a2d29b935b69ec62169c10
parentb78b9bb0ee1f07b27b649065158dcac571986f30
hw/block/nvme: disable PMR at boot up

The PMR should not be enabled at boot up. Disable the PMR MemoryRegion
initially and implement MMIO for PMRCTL, allowing the host to enable the
PMR explicitly.

Reviewed-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/block/nvme.c