[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for-next 9/9] xen: Remove mfn_to_gmfn macro


On 3/13/19 3:22 PM, Jan Beulich wrote:
On 18.02.19 at 12:36, <julien.grall@xxxxxxx> 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 
-#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 <jbeulich@xxxxxxxx>

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.


Julien Grall

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.