Files
Philippe Mathieu-Daudé bd3ba0d342 hw/nvme: Validate PMR memory size
Per the PCI spec 3.0, in section 6.2.5.1, "Address Maps":

  A 32-bit register can be implemented to support a single
  memory size that is a power of 2 from 16 bytes to 2 GB.

Add a check in nvme_init_pmr(), returning an error if the
PMR region size is too small; and update the QTest.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2025-11-25 09:21:41 +01:00
..
2025-11-14 13:18:04 +00:00
2025-11-14 13:18:04 +00:00
2025-11-14 13:18:04 +00:00
2023-09-08 13:08:52 +03:00
2025-11-14 13:18:04 +00:00
2023-03-10 17:26:47 +08:00
2025-10-01 17:09:22 -03:00
2025-03-11 22:40:47 +10:00
2025-11-25 09:21:41 +01:00
2024-01-30 21:20:20 +03:00
2024-12-20 17:44:56 +01:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00