Re: [Xen-devel] [RFC for-4.8 4/6] xen/arm: Add helper functions to map RWX memory regions

2016-05-24 Thread Edgar E. Iglesias
On Mon, May 23, 2016 at 04:36:03PM +0100, Julien Grall wrote: > Hi Edgar, > > On 20/05/16 16:51, Edgar E. Iglesias wrote: > >From: "Edgar E. Iglesias" > > > >Create a helper function to map regions as MEMORY with > >cached attributes and read-write-execute permissions. > > Providing setting the

Re: [Xen-devel] [RFC for-4.8 4/6] xen/arm: Add helper functions to map RWX memory regions

2016-05-23 Thread Julien Grall
Hi Edgar, On 20/05/16 16:51, Edgar E. Iglesias wrote: From: "Edgar E. Iglesias" Create a helper function to map regions as MEMORY with cached attributes and read-write-execute permissions. Providing setting the execute bit is useful, I would try to rationalize the helpers by expanding map_r

[Xen-devel] [RFC for-4.8 4/6] xen/arm: Add helper functions to map RWX memory regions

2016-05-20 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Create a helper function to map regions as MEMORY with cached attributes and read-write-execute permissions. Signed-off-by: Edgar E. Iglesias --- xen/arch/arm/p2m.c| 26 ++ xen/include/asm-arm/p2m.h | 10 ++ 2 files changed, 36