Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-07-05 Thread Parth Dixit
+shannon On 24 May 2015 at 13:01, Julien Grall julien.gr...@citrix.com wrote: Hi Parth, On 24/05/2015 07:40, Parth Dixit wrote: On 17/05/15 21:03, Parth Dixit wrote: diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 935999e..096e9ef 100644 ---

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-24 Thread Parth Dixit
On 18 May 2015 at 18:56, Julien Grall julien.gr...@citrix.com wrote: Hi Parth, On 17/05/15 21:03, Parth Dixit wrote: diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 935999e..096e9ef 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -2,6 +2,7 @@

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-24 Thread Julien Grall
Hi Parth, On 24/05/2015 07:40, Parth Dixit wrote: On 17/05/15 21:03, Parth Dixit wrote: diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 935999e..096e9ef 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -2,6 +2,7 @@

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-20 Thread Jan Beulich
On 17.05.15 at 22:03, parth.di...@linaro.org wrote: --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -87,16 +87,7 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) void __iomem * acpi_os_map_memory(acpi_physical_address phys, acpi_size size) { - if

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-20 Thread Julien Grall
On 20/05/15 17:03, Jan Beulich wrote: On 17.05.15 at 22:03, parth.di...@linaro.org wrote: --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -87,16 +87,7 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) void __iomem * acpi_os_map_memory(acpi_physical_address phys,

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-18 Thread Julien Grall
Hi Parth, On 17/05/15 21:03, Parth Dixit wrote: diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile index 935999e..096e9ef 100644 --- a/xen/arch/arm/Makefile +++ b/xen/arch/arm/Makefile @@ -2,6 +2,7 @@ subdir-$(arm32) += arm32 subdir-$(arm64) += arm64 subdir-y += platforms

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-18 Thread Julien Grall
On 18/05/15 15:01, Jan Beulich wrote: On 18.05.15 at 15:26, julien.gr...@citrix.com wrote: On 17/05/15 21:03, Parth Dixit wrote: --- /dev/null +++ b/xen/arch/arm/acpi/lib.c @@ -0,0 +1,8 @@ +#include xen/acpi.h +#include asm/mm.h + +void __iomem * +acpi_os_map_iomem(acpi_physical_address

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-18 Thread Julien Grall
On 18/05/15 15:32, Jan Beulich wrote: On 18.05.15 at 16:20, julien.gr...@citrix.com wrote: Although, acpi_os_map_iomem is also part of the ACPI CA. Would a function arch_acpi_os_map_memory suit for you? Only if we - other than Linux - really need this to be arch dependent. The current

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-18 Thread Jan Beulich
On 18.05.15 at 16:20, julien.gr...@citrix.com wrote: Although, acpi_os_map_iomem is also part of the ACPI CA. Would a function arch_acpi_os_map_memory suit for you? Only if we - other than Linux - really need this to be arch dependent. Jan ___

Re: [Xen-devel] [PATCH v2 05/41] acpi : add helper function for mapping memory

2015-05-18 Thread Jan Beulich
On 18.05.15 at 15:26, julien.gr...@citrix.com wrote: On 17/05/15 21:03, Parth Dixit wrote: --- /dev/null +++ b/xen/arch/arm/acpi/lib.c @@ -0,0 +1,8 @@ +#include xen/acpi.h +#include asm/mm.h + +void __iomem * +acpi_os_map_iomem(acpi_physical_address phys, acpi_size size) +{ +return