Re: [PATCH v2 0/2] efi: preserve NEON registers on UEFI services calls

2014-07-01 Thread Ard Biesheuvel
On 1 July 2014 15:26, Matt Fleming wrote: > On Thu, 26 Jun, at 12:09:04PM, Ard Biesheuvel wrote: >> The current UEFI implementation for arm64 fails to preserve/restore the >> contents >> of the NEON register file, which may result in data corruption, especially >> now >> that those contents are

Re: [PATCH v2 0/2] efi: preserve NEON registers on UEFI services calls

2014-07-01 Thread Matt Fleming
On Thu, 26 Jun, at 12:09:04PM, Ard Biesheuvel wrote: > The current UEFI implementation for arm64 fails to preserve/restore the > contents > of the NEON register file, which may result in data corruption, especially now > that those contents are lazily restored for user processes. > > This series

Re: [PATCH v2 0/2] efi: preserve NEON registers on UEFI services calls

2014-06-26 Thread Ard Biesheuvel
On 26 June 2014 15:58, Mark Salter wrote: > On Thu, 2014-06-26 at 12:09 +0200, Ard Biesheuvel wrote: >> The current UEFI implementation for arm64 fails to preserve/restore the >> contents >> of the NEON register file, > > Does the current implementation actually use NEON registers? > I know there

Re: [PATCH v2 0/2] efi: preserve NEON registers on UEFI services calls

2014-06-26 Thread Mark Salter
On Thu, 2014-06-26 at 12:09 +0200, Ard Biesheuvel wrote: > The current UEFI implementation for arm64 fails to preserve/restore the > contents > of the NEON register file, Does the current implementation actually use NEON registers? I know there are some at least, which build with -mgeneral-regs-o

[PATCH v2 0/2] efi: preserve NEON registers on UEFI services calls

2014-06-26 Thread Ard Biesheuvel
The current UEFI implementation for arm64 fails to preserve/restore the contents of the NEON register file, which may result in data corruption, especially now that those contents are lazily restored for user processes. This series proposes to fix this by wrapping all runtime services calls, and a