diff options
| author | Si-Wei Liu <[email protected]> | 2024-10-21 13:40:40 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2024-11-12 23:05:05 +0000 |
| commit | 35025963326e44d8bced3eecd42d2f040f4f0024 (patch) | |
| tree | 01d5aa3d310d0de37e5799afdc14d79905d44300 /drivers/platform/x86/intel/pmt/class.c | |
| parent | vdpa/mlx5: Fix PA offset with unaligned starting iotlb map (diff) | |
| download | kernel-35025963326e44d8bced3eecd42d2f040f4f0024.tar.gz kernel-35025963326e44d8bced3eecd42d2f040f4f0024.zip | |
vdpa/mlx5: Fix suboptimal range on iotlb iteration
The starting iova address to iterate iotlb map entry within a range
was set to an irrelevant value when passing to the itree_next()
iterator, although luckily it doesn't affect the outcome of finding
out the granule of the smallest iotlb map size. Fix the code to make
it consistent with the following for-loop.
Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code")
Signed-off-by: Si-Wei Liu <[email protected]>
Signed-off-by: Dragos Tatulea <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
