Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-11-08 Thread Julien Grall
Hi, On 11/7/18 7:01 PM, Stefano Stabellini wrote: On Wed, 7 Nov 2018, Julien Grall wrote: On 07/11/2018 12:18, Julien Grall wrote: Hi Stefano, On 07/11/2018 00:32, Stefano Stabellini wrote: On Mon, 22 Oct 2018, Julien Grall wrote: Hi, On 09/10/2018 00:37, Stefano Stabellini wrote:

Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-11-07 Thread Stefano Stabellini
On Wed, 7 Nov 2018, Julien Grall wrote: > On 07/11/2018 12:18, Julien Grall wrote: > > Hi Stefano, > > > > On 07/11/2018 00:32, Stefano Stabellini wrote: > > > On Mon, 22 Oct 2018, Julien Grall wrote: > > > > Hi, > > > > > > > > On 09/10/2018 00:37, Stefano Stabellini wrote: > > > > >

Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-11-07 Thread Julien Grall
On 07/11/2018 12:18, Julien Grall wrote: Hi Stefano, On 07/11/2018 00:32, Stefano Stabellini wrote: On Mon, 22 Oct 2018, Julien Grall wrote: Hi, On 09/10/2018 00:37, Stefano Stabellini wrote: reserved-memory regions should be mapped as normal memory. This is already the case with

Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-11-07 Thread Julien Grall
Hi Stefano, On 07/11/2018 00:32, Stefano Stabellini wrote: On Mon, 22 Oct 2018, Julien Grall wrote: Hi, On 09/10/2018 00:37, Stefano Stabellini wrote: reserved-memory regions should be mapped as normal memory. This is already the case with p2m_mmio_direct_c. The hardware domain should have

Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-11-06 Thread Stefano Stabellini
On Mon, 22 Oct 2018, Julien Grall wrote: > Hi, > > On 09/10/2018 00:37, Stefano Stabellini wrote: > > reserved-memory regions should be mapped as normal memory. > > This is already the case with p2m_mmio_direct_c. The hardware domain should > have full control on the resulting attributes via its

Re: [Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-10-22 Thread Julien Grall
Hi, On 09/10/2018 00:37, Stefano Stabellini wrote: reserved-memory regions should be mapped as normal memory. This is already the case with p2m_mmio_direct_c. The hardware domain should have full control on the resulting attributes via its stage-1 mappings. So what's wrong with that p2m

[Xen-devel] [PATCH v8 8/8] xen/arm: map reserved-memory regions as normal memory in dom0

2018-10-08 Thread Stefano Stabellini
reserved-memory regions should be mapped as normal memory. At the moment, they get remapped as device memory because Xen doesn't know better. Add an explicit check for it. Signed-off-by: Stefano Stabellini --- xen/arch/arm/domain_build.c | 7 +++ 1 file changed, 7 insertions(+) diff --git