linux/drivers/xen/xenbus
Simon Leiner 6eb88c42dc 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>
2020-09-09 19:12:22 +02:00
..
Makefile
xenbus.h
xenbus_client.c xen/xenbus: Fix granting of vmalloc'd memory 2020-09-09 19:12:22 +02:00
xenbus_comms.c xenbus: req->err should be updated before req->state 2020-03-25 08:25:49 +01:00
xenbus_dev_backend.c
xenbus_dev_frontend.c
xenbus_probe.c
xenbus_probe_backend.c
xenbus_probe_frontend.c
xenbus_xs.c