Hi,
On 3/13/19 3:22 PM, Jan Beulich wrote:
On 18.02.19 at 12:36, <julien.gr...@arm.com> wrote:
--- a/xen/include/asm-arm/mm.h
+++ b/xen/include/asm-arm/mm.h
@@ -321,10 +321,8 @@ struct page_info *get_page_from_gva(struct vcpu *v,
vaddr_t va,
#define SHARED_M2P_ENTRY (~0UL - 1UL)
#define SHARED_M2P(_e) ((_e) == SHARED_M2P_ENTRY)
-/* Xen always owns P2M on ARM */
+/* We don't have a M2P on Arm */
#define set_gpfn_from_mfn(mfn, pfn) do { (void) (mfn), (void)(pfn); } while
(0)
-#define mfn_to_gmfn(_d, mfn) (mfn)
So is the plan to remove the other macro from Arm then as well?
In any event
Acked-by: Jan Beulich <jbeul...@suse.com>
Just to keep everyone aware, I kept this patch as is with the 2 acked-by
and provided a separate patch to move the helpers in common code under
!CONFIG_HAVE_M2P.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel