Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Dave Martin
On Tue, Aug 22, 2017 at 04:03:20PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > On Tue, Aug 22, 2017 at 02:53:49PM +0100, Alex Bennée wrote: [...] > >> + > >> +#define SVE_VQ_BITS 128 /* 128 bits in one quadword */ > >> +#define SVE_VQ_BYTES(SVE_VQ_BITS

Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Alex Bennée
Dave Martin writes: > On Tue, Aug 22, 2017 at 02:53:49PM +0100, Alex Bennée wrote: >> >> Dave Martin writes: >> >> > On Tue, Aug 22, 2017 at 11:22:44AM +0100, Alex Bennée wrote: >> >> >> >> Dave Martin writes: > > [...] > >> >> > +/* >> >> > + * The SVE architecture leaves space for future exp

Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Dave Martin
On Tue, Aug 22, 2017 at 02:53:49PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > On Tue, Aug 22, 2017 at 11:22:44AM +0100, Alex Bennée wrote: > >> > >> Dave Martin writes: [...] > >> > +/* > >> > + * The SVE architecture leaves space for future expansion of the > >> > + * vector len

Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Alex Bennée
Dave Martin writes: > On Tue, Aug 22, 2017 at 11:22:44AM +0100, Alex Bennée wrote: >> >> Dave Martin writes: >> >> > This patch defines the representation that will be used for the SVE >> > register state in the signal frame, and implements support for >> > saving and restoring the SVE register

Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Dave Martin
On Tue, Aug 22, 2017 at 11:22:44AM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > This patch defines the representation that will be used for the SVE > > register state in the signal frame, and implements support for > > saving and restoring the SVE registers around signals. > > > > The

Re: [PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-22 Thread Alex Bennée
Dave Martin writes: > This patch defines the representation that will be used for the SVE > register state in the signal frame, and implements support for > saving and restoring the SVE registers around signals. > > The same layout will also be used for the in-kernel task state. > > Due to the v

[PATCH 09/27] arm64/sve: Signal frame and context structure definition

2017-08-09 Thread Dave Martin
This patch defines the representation that will be used for the SVE register state in the signal frame, and implements support for saving and restoring the SVE registers around signals. The same layout will also be used for the in-kernel task state. Due to the variability of the SVE vector length