Files
linux/drivers/xen
Simon Leiner a5c518e4dc xen/xenbus: Fix granting of vmalloc'd memory
[ Upstream commit d742db7003 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 09:04:14 +09:00
..
2015-12-21 14:40:55 +00:00
2017-08-24 17:12:20 -07:00
2016-07-25 13:34:18 +01:00
2016-07-06 10:34:47 +01:00
2018-02-25 11:05:50 +01:00
2023-05-12 16:19:59 +09:00
2023-05-15 14:47:51 +09:00
2015-12-21 14:40:55 +00:00
2011-12-16 13:29:31 -05:00