Re: [PATCH 1/2] xen/xenbus: Fix granting of vmalloc'd memory

2020-08-25 Thread Stefano Stabellini
On Tue, 25 Aug 2020, Simon Leiner wrote: > 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

[PATCH 1/2] xen/xenbus: Fix granting of vmalloc'd memory

2020-08-25 Thread Simon Leiner
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 --- drivers/xen/xenbus/xenbus_client