linux-stable/drivers/xen
Simon Leiner 570e187371 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:03:07 +02:00
..
events XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information. 2020-09-03 11:22:32 +02:00
xen-pciback
xenbus xen/xenbus: Fix granting of vmalloc'd memory 2020-09-09 19:03:07 +02:00
xenfs
acpi.c
arm-device.c
balloon.c xen/balloon: make the balloon wait interruptible 2020-08-21 09:48:16 +02:00
biomerge.c
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c
fallback.c
features.c
gntalloc.c
gntdev.c
grant-table.c
Kconfig
Makefile
manage.c
mcelog.c
pci.c
pcpu.c
platform-pci.c
preempt.c xen: don't reschedule in preemption off sections 2020-08-26 10:30:00 +02:00
privcmd.c
privcmd.h
pvcalls-back.c xen/pvcalls-back: test for errors when calling backend_connect() 2020-06-20 10:25:06 +02:00
swiotlb-xen.c
sys-hypervisor.c
time.c
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c
xen-balloon.c
xen-scsiback.c
xen-selfballoon.c
xen-stub.c
xlate_mmu.c