https://github.com/torvalds/linux
Revision d742db70033c745e410523e00522ee0cfe2aa416 authored by Simon Leiner on 25 August 2020, 09:31:52 UTC, committed by Juergen Gross on 27 August 2020, 06:58:48 UTC
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>
1 parent c330fb1
History
Tip revision: d742db70033c745e410523e00522ee0cfe2aa416 authored by Simon Leiner on 25 August 2020, 09:31:52 UTC
xen/xenbus: Fix granting of vmalloc'd memory
Tip revision: d742db7
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 548.3 KB
Makefile -rw-r--r-- 60.5 KB
README -rw-r--r-- 727 bytes

README

back to top