Re: [Xen-devel] [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h

2017-09-14 Thread Julien Grall
Hi Stefano, On 13/09/17 22:13, Stefano Stabellini wrote: On Wed, 13 Sep 2017, Julien Grall wrote: Hi Stefano, On 09/12/2017 10:53 PM, Stefano Stabellini wrote: On Tue, 12 Sep 2017, Julien Grall wrote: Currently, cpregs.h is included in pretty much every files even for arm64. However, the onl

Re: [Xen-devel] [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h

2017-09-13 Thread Stefano Stabellini
On Wed, 13 Sep 2017, Julien Grall wrote: > Hi Stefano, > > On 09/12/2017 10:53 PM, Stefano Stabellini wrote: > > On Tue, 12 Sep 2017, Julien Grall wrote: > > > Currently, cpregs.h is included in pretty much every files even for > > > arm64. However, the only use for arm64 is when emulating co-proc

Re: [Xen-devel] [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h

2017-09-13 Thread Julien Grall
Hi Stefano, On 09/12/2017 10:53 PM, Stefano Stabellini wrote: On Tue, 12 Sep 2017, Julien Grall wrote: Currently, cpregs.h is included in pretty much every files even for arm64. However, the only use for arm64 is when emulating co-processors. For arm32, all users of processor.h expect cpregs.h

Re: [Xen-devel] [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h

2017-09-12 Thread Stefano Stabellini
On Tue, 12 Sep 2017, Julien Grall wrote: > Currently, cpregs.h is included in pretty much every files even for > arm64. However, the only use for arm64 is when emulating co-processors. > > For arm32, all users of processor.h expect cpregs.h to be included in > order to access co-processors. So mov

[Xen-devel] [PATCH v2 7/7] xen/arm: Limit the scope of cpregs.h

2017-09-12 Thread Julien Grall
Currently, cpregs.h is included in pretty much every files even for arm64. However, the only use for arm64 is when emulating co-processors. For arm32, all users of processor.h expect cpregs.h to be included in order to access co-processors. So move the inclusion in asm-arm/arm32/processor.h. cpre