You'll need to do the alignment yourself for now. I cannot vouch for the correctness
of the vfio patch.
On 3/22/21, 8:25 PM, "wiz.chen(a)gmail.com" <wiz.chen(a)gmail.com> wrote:
I check spdk_mem_register(), it needs 2-MB aligned address.
After some investigation:
1. nvme cmb --> nvme_pcie_ctrlr_map_io_cmb():
it do 2MB alignment here.
2. vfio: map all PCI BARs in 2MB-aligned virtual addresses
Does the patch: "vfio: map all PCI BARs in 2MB-aligned virtual
addresses" have any side effect?
Or I do the 2MB alignment by myself is a batter choice?
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org