diff options
author | 2022-10-05 20:48:22 +0300 | |
---|---|---|
committer | 2022-10-06 08:30:10 +0200 | |
commit | e433715b116553892ecad8796018ae4b64304252 (patch) | |
tree | 3d8c3bdd5cf6febdb50de5b755b30177eb0b0295 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xen/xenbus: Fix spelling mistake "hardward" -> "hardware" (diff) | |
download | linux-dev-e433715b116553892ecad8796018ae4b64304252.tar.xz linux-dev-e433715b116553892ecad8796018ae4b64304252.zip |
xen/virtio: Fix n_pages calculation in xen_grant_dma_map(unmap)_page()
Take page offset into the account when calculating the number of pages
to be granted.
Fixes: d6aca3504c7d ("xen/grant-dma-ops: Add option to restrict memory access under Xen")
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20221005174823.1800761-2-olekstysh@gmail.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions