summaryrefslogtreecommitdiff
path: root/include/xen/arm
diff options
context:
space:
mode:
authorSimon Leiner <simon@leiner.me>2020-08-25 11:31:52 +0200
committerJuergen Gross <jgross@suse.com>2020-08-27 08:58:48 +0200
commitd742db70033c745e410523e00522ee0cfe2aa416 (patch)
treefa7839e4a938daccf8f881ea913926950bd31e8f /include/xen/arm
parentc330fb1ddc0a922f044989492b7fcca77ee1db46 (diff)
xen/xenbus: Fix granting of vmalloc'd memory
On some architectures (like ARM), virt_to_gfn cannot be used for vmalloc'd memory because of its reliance on virt_to_phys. This patch introduces a check for vmalloc'd addresses and obtains the PFN using vmalloc_to_pfn in that case. Signed-off-by: Simon Leiner <simon@leiner.me> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Link: https://lore.kernel.org/r/20200825093153.35500-1-simon@leiner.me Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/arm')
0 files changed, 0 insertions, 0 deletions