Re: [Xen-devel] [v8][PATCH 13/17] xen/mem_access: don't allow accessing reserved device memory

2014-12-18 Thread Tamas K Lengyel
I agree with Julien below, this should probably be put into the p2m layer. The ARM definition of the function could then simply be an inline definition that just returns 0. Tamas On Tue, Dec 2, 2014 at 9:54 AM, Julien Grall julien.gr...@linaro.org wrote: Hi, CC Tamas as he did some work on

Re: [Xen-devel] [v8][PATCH 13/17] xen/mem_access: don't allow accessing reserved device memory

2014-12-02 Thread Julien Grall
Hi, CC Tamas as he did some work on memaccess for ARM. On 01/12/14 09:24, Tiejun Chen wrote: We can't expost those reserved device memory in case of mem_access s/expost/expose/ since any access may corrupt device usage. Signed-off-by: Tiejun Chen tiejun.c...@intel.com ---

Re: [Xen-devel] [v8][PATCH 13/17] xen/mem_access: don't allow accessing reserved device memory

2014-12-02 Thread Konrad Rzeszutek Wilk
On Mon, Dec 01, 2014 at 05:24:31PM +0800, Tiejun Chen wrote: We can't expost those reserved device memory in case of mem_access s/expost/expose/ since any access may corrupt device usage. Could you explain this in more details please? Signed-off-by: Tiejun Chen tiejun.c...@intel.com ---

[Xen-devel] [v8][PATCH 13/17] xen/mem_access: don't allow accessing reserved device memory

2014-12-01 Thread Tiejun Chen
We can't expost those reserved device memory in case of mem_access since any access may corrupt device usage. Signed-off-by: Tiejun Chen tiejun.c...@intel.com --- xen/common/mem_access.c | 41 + 1 file changed, 41 insertions(+) diff --git