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

2017-09-13 Thread Dave Martin
On Wed, Sep 13, 2017 at 06:36:18AM -0700, Catalin Marinas wrote: > On Thu, Aug 31, 2017 at 06:00:41PM +0100, Dave P Martin wrote: > > +/* > > + * The SVE architecture leaves space for future expansion of the > > + * vector length beyond its initial architectural limit of 2048 bits > > + * (16

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

2017-09-13 Thread Catalin Marinas
On Thu, Aug 31, 2017 at 06:00:41PM +0100, Dave P Martin wrote: > +/* > + * The SVE architecture leaves space for future expansion of the > + * vector length beyond its initial architectural limit of 2048 bits > + * (16 quadwords). > + */ > +#define SVE_VQ_BYTES 0x10/* number of bytes

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

2017-08-31 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