+4
−0
Loading
supports CMB if the controller does not support CMB by setting CAP.CMBS to ‘0’, nvme_pcie_ctrlr_map_cmb shoule exit instead of continuing. Because vtophys_iommu_map_dma_bar in spdk_pci_device_map_bar will insert wrong dma_map into g_vfio.maps. it will cause DMA mapping failures and DMA unmapping failures Change-Id: I40b8566726883b55e4ddcab43263baee784853b9 Signed-off-by:liucheng74 <liuc@yusur.tech> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26164 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com>