diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2020-03-30 23:23:15 +0200 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2020-10-27 07:24:47 +0100 |
| commit | 6e0ac3a03f3ab0d0b69d086e3226bac77a20a468 (patch) | |
| tree | a89900b39a70e0bcebfc7d8cb42e82e89b789965 /docs/specs | |
| parent | 92a10ec17f3ae7221b23f3eaefa29066e10d7973 (diff) | |
| download | focaccia-qemu-6e0ac3a03f3ab0d0b69d086e3226bac77a20a468.tar.gz focaccia-qemu-6e0ac3a03f3ab0d0b69d086e3226bac77a20a468.zip | |
hw/block/nvme: harden cmb access
Since the controller has only supported PRPs so far it has not been required to check the ending address (addr + len - 1) of the CMB access for validity since it has been guaranteed to be in range of the CMB. This changes when the controller adds support for SGLs (next patch), so add that check. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions