Skip to content

Conversation

@minwooim
Copy link
Collaborator

Commit 27607a2 ("nvme/core: adjust fixed doorbell mmio size") has adjusted the MMIO space to the maximum number of ioqpairs, but without considering unmap part in nvme_close().

This patch gives SIZE_MAX to vfio/pci and let it map/unmap as large as possible supported by the device for the simplicity.

Fixes: 27607a2 ("nvme/core: adjust fixed doorbell mmio size")

Commit 27607a2 ("nvme/core: adjust fixed doorbell mmio size") has
adjusted the MMIO space to the maximum number of ioqpairs, but without
considering unmap part in nvme_close().

This patch gives SIZE_MAX to vfio/pci and let it map/unmap as large as
possible supported by the device for the simplicity.

Fixes: 27607a2 ("nvme/core: adjust fixed doorbell mmio size")

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
@birkelund
Copy link
Collaborator

LGTM

@minwooim minwooim merged commit f922041 into SamsungDS:main Jan 19, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants