aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorSimon Leiner <[email protected]>2020-08-25 09:31:52 +0000
committerJuergen Gross <[email protected]>2020-08-27 06:58:48 +0000
commitd742db70033c745e410523e00522ee0cfe2aa416 (patch)
treefa7839e4a938daccf8f881ea913926950bd31e8f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentXEN uses irqdesc::irq_data_common::handler_data to store a per interrupt (diff)
downloadkernel-d742db70033c745e410523e00522ee0cfe2aa416.tar.gz
kernel-d742db70033c745e410523e00522ee0cfe2aa416.zip
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 <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions