Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-12 Thread Ard Biesheuvel
devel-boun...@lists.01.org] On Behalf Of Ard > >Biesheuvel > >Sent: Tuesday, February 12, 2019 1:32 AM > >To: Leif Lindholm > >Cc: Kinney, Michael D ; edk2- > >de...@lists.01.org; Gao, Liming > >Subject: Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBa

Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-11 Thread Gao, Liming
Kinney, Michael D ; edk2- >de...@lists.01.org; Gao, Liming >Subject: Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() >for ARM and AArch64 > >On Mon, 11 Feb 2019 at 15:41, Leif Lindholm wrote: >> >> On Wed, Feb 06, 2019 at 12:08:22AM +, Ard Biesheuvel w

Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-11 Thread Ard Biesheuvel
On Mon, 11 Feb 2019 at 15:41, Leif Lindholm wrote: > > On Wed, Feb 06, 2019 at 12:08:22AM +, Ard Biesheuvel wrote: > > Replace the dummy C implementation of SpeculationBarrier() with > > implementations consisting of the recommended DSB SY + ISB sequence, > > as recommended by ARM in the white

Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-11 Thread Leif Lindholm
On Wed, Feb 06, 2019 at 12:08:22AM +, Ard Biesheuvel wrote: > Replace the dummy C implementation of SpeculationBarrier() with > implementations consisting of the recommended DSB SY + ISB sequence, > as recommended by ARM in the whitepaper "Cache Speculation Side-channels" > version 2.4, dated O

Re: [edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-11 Thread Gao, Liming
Ard: I have no comments on this patch. Reviewed-by: Liming Gao > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, February 6, 2019 8:08 AM > To: edk2-devel@lists.01.org > Cc: leif.lindh...@linaro.org; Gao, Liming ; Kinney, > Michael D ; A

[edk2] [PATCH] MdePkg/BaseLib: implement SpeculationBarrier() for ARM and AArch64

2019-02-05 Thread Ard Biesheuvel
Replace the dummy C implementation of SpeculationBarrier() with implementations consisting of the recommended DSB SY + ISB sequence, as recommended by ARM in the whitepaper "Cache Speculation Side-channels" version 2.4, dated October 2018. Contributed-under: TianoCore Contribution Agreement 1.1 Si