Re: [PATCH 10/27] arm64/sve: Low-level CPU setup

2017-08-22 Thread Dave Martin
On Tue, Aug 22, 2017 at 04:04:28PM +0100, Alex Bennée wrote: > > Dave Martin writes: > > > To enable the kernel to use SVE, all SVE traps from EL1 must be > > disabled. To take maximum advantage of the hardware, the full > > available vector length also needs to be enabled for EL1 by > > progra

Re: [PATCH 10/27] arm64/sve: Low-level CPU setup

2017-08-22 Thread Alex Bennée
Dave Martin writes: > To enable the kernel to use SVE, all SVE traps from EL1 must be > disabled. To take maximum advantage of the hardware, the full > available vector length also needs to be enabled for EL1 by > programming ZCR_EL2.LEN. (The kernel will program ZCR_EL1.LEN as > required, but

[PATCH 10/27] arm64/sve: Low-level CPU setup

2017-08-09 Thread Dave Martin
To enable the kernel to use SVE, all SVE traps from EL1 must be disabled. To take maximum advantage of the hardware, the full available vector length also needs to be enabled for EL1 by programming ZCR_EL2.LEN. (The kernel will program ZCR_EL1.LEN as required, but this cannot override the limit s