[PATCH RFC 0/2] hw/nvme: support mdts above 9

Klaus Jensen posted 2 patches 2 weeks, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260317-lift-iovmax-dma-limit-v1-0-38729170683f@samsung.com
Maintainers: Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Jesper Devantier <foss@defmacro.it>, Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
hw/nvme/ctrl.c       | 17 ++---------------
system/dma-helpers.c |  5 ++++-
2 files changed, 6 insertions(+), 16 deletions(-)
[PATCH RFC 0/2] hw/nvme: support mdts above 9
Posted by Klaus Jensen 2 weeks, 6 days ago
In commit 53493c1f836f ("hw/nvme: cap MDTS value for internal
limitation"), the max value of MDTS was restricted to ensure that the
device will not report internal device errors when hitting the internal
IOV_MAX limit of the block layer.

This series attempts to lift the IOV_MAX restrictions, by splitting I/O
in the dma helpers.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
---
Klaus Jensen (2):
      dma-helpers: lift IOV_MAX limit
      hw/nvme: allow MDTS above 9

 hw/nvme/ctrl.c       | 17 ++---------------
 system/dma-helpers.c |  5 ++++-
 2 files changed, 6 insertions(+), 16 deletions(-)
---
base-commit: 559919ce54927d59b215a4665eda7ab6118a48aa
change-id: 20260317-lift-iovmax-dma-limit-5266d83d0820

Best regards,
-- 
Klaus Jensen <k.jensen@samsung.com>
Re: [PATCH RFC 0/2] hw/nvme: support mdts above 9
Posted by Keith Busch 2 weeks, 6 days ago
On Tue, Mar 17, 2026 at 09:48:56AM +0100, Klaus Jensen wrote:
> In commit 53493c1f836f ("hw/nvme: cap MDTS value for internal
> limitation"), the max value of MDTS was restricted to ensure that the
> device will not report internal device errors when hitting the internal
> IOV_MAX limit of the block layer.
> 
> This series attempts to lift the IOV_MAX restrictions, by splitting I/O
> in the dma helpers.

Nice, this was simpler than I thought! Looks good to me:

Acked-by: Keith Busch <kbusch@kernel.org>