RE: [PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-25 Thread David Laight
From: Will Deacon > Sent: 24 January 2018 16:43 > On Wed, Jan 24, 2018 at 11:35:03AM -0500, Mark Salter wrote: > > On Wed, 2018-01-24 at 10:58 +, Marc Zyngier wrote: > > > Khuong, > > > > > > On 24/01/18 02:13, Khuong Dinh wrote: > > > > Aliasing attacks against CPU branch predictors can allow

Re: [PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-24 Thread Will Deacon
On Wed, Jan 24, 2018 at 11:35:03AM -0500, Mark Salter wrote: > On Wed, 2018-01-24 at 10:58 +, Marc Zyngier wrote: > > Khuong, > > > > On 24/01/18 02:13, Khuong Dinh wrote: > > > Aliasing attacks against CPU branch predictors can allow an attacker to > > > redirect speculative control flow on s

Re: [PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-24 Thread Mark Salter
On Wed, 2018-01-24 at 10:58 +, Marc Zyngier wrote: > Khuong, > > On 24/01/18 02:13, Khuong Dinh wrote: > > Aliasing attacks against CPU branch predictors can allow an attacker to > > redirect speculative control flow on some CPUs and potentially divulge > > information from one context to anot

Re: [PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-24 Thread Marc Zyngier
Khuong, On 24/01/18 02:13, Khuong Dinh wrote: > Aliasing attacks against CPU branch predictors can allow an attacker to > redirect speculative control flow on some CPUs and potentially divulge > information from one context to another. > > This patch only supports for XGene processors. > > Signe

[PATCH] arm64: turn off xgene branch prediction while in kernel space

2018-01-23 Thread Khuong Dinh
Aliasing attacks against CPU branch predictors can allow an attacker to redirect speculative control flow on some CPUs and potentially divulge information from one context to another. This patch only supports for XGene processors. Signed-off-by: Mark Salter Signed-off-by: Khuong Dinh --- arch/