Re: [Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions

2016-01-04 Thread Shannon Zhao
On 2015/11/30 23:22, Julien Grall wrote: > Hi, > > On 27/11/15 12:04, Stefano Stabellini wrote: >> > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >>> >> From: Parth Dixit >>> >> >>> >> Create a helper function for mapping with cached attributes. >>> >> >>> >> Signed-off-by: Parth Dixit

Re: [Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions

2015-11-30 Thread Julien Grall
Hi, On 27/11/15 12:04, Stefano Stabellini wrote: > On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: >> From: Parth Dixit >> >> Create a helper function for mapping with cached attributes. >> >> Signed-off-by: Parth Dixit >> Signed-off-by: Shannon Zhao > > You might be able to use the existi

Re: [Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions

2015-11-30 Thread Julien Grall
Hi Shannon, On 17/11/15 09:40, shannon.z...@linaro.org wrote: > From: Parth Dixit > > Create a helper function for mapping with cached attributes. You are using those helpers to map the ACPI table in the guest. Do we really need them to be mapped read-write? Regards, -- Julien Grall ___

Re: [Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions

2015-11-27 Thread Stefano Stabellini
On Tue, 17 Nov 2015, shannon.z...@linaro.org wrote: > From: Parth Dixit > > Create a helper function for mapping with cached attributes. > > Signed-off-by: Parth Dixit > Signed-off-by: Shannon Zhao You might be able to use the existing guest_physmap_add_entry and guest_physmap_remove_page for

[Xen-devel] [PATCH v3 47/62] arm/p2m: Add helper functions to map memory regions

2015-11-17 Thread shannon . zhao
From: Parth Dixit Create a helper function for mapping with cached attributes. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao --- xen/arch/arm/p2m.c| 26 ++ xen/include/asm-arm/p2m.h | 10 ++ 2 files changed, 36 insertions(+) diff --git a/xen/a