WSL2-Linux-Kernel/arch/arm/include/asm/xen
Stefano Stabellini 18c51e1a3f xen/arm: pfn_to_mfn and mfn_to_pfn return the argument if nothing is in the p2m
Some common Xen drivers, like balloon.c, call pfn_to_mfn and mfn_to_pfn
even for autotranslate guests, expecting the argument back.
The following commit broke these drivers by changing the behavior of
pfn_to_mfn and mfn_to_pfn:

commit 4a19138c65
Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Date:   Thu Oct 17 16:22:27 2013 +0000

    arm/xen,arm64/xen: introduce p2m

They now return INVALID_P2M_ENTRY if Linux doesn't actually know what is
the mfn backing a pfn or what is the pfn corresponding to an mfn.
Fix the regression by switching to the old behavior.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Tested-by: Ian Campbell <ian.campbell@citrix.com>
2013-11-11 12:48:58 -05:00
..
events.h xen: arm: mandate EABI and use generic atomic operations. 2013-03-11 13:52:19 -04:00
hypercall.h xen/arm and xen/arm64: implement HYPERVISOR_tmem_op 2013-07-04 11:41:12 +00:00
hypervisor.h xen/arm,arm64: enable SWIOTLB_XEN 2013-10-10 13:40:44 +00:00
interface.h xen: arm: implement remap interfaces needed for privcmd mappings. 2012-11-29 14:00:19 +00:00
page-coherent.h xen: introduce xen_dma_map/unmap_page and xen_dma_sync_single_for_cpu/device 2013-10-25 10:39:49 +00:00
page.h xen/arm: pfn_to_mfn and mfn_to_pfn return the argument if nothing is in the p2m 2013-11-11 12:48:58 -05:00