Re: [PATCH v3 2/2] xen/arm64: Place a speculation barrier following an ret instruction

2021-04-18 Thread Julien Grall
Hi Stefano, On 14/04/2021 00:03, Stefano Stabellini wrote: On Thu, 1 Apr 2021, Julien Grall wrote: From: Julien Grall Some CPUs can speculate past a RET instruction and potentially perform speculative accesses to memory before processing the return. There is no known gadget available after t

Re: [PATCH v3 2/2] xen/arm64: Place a speculation barrier following an ret instruction

2021-04-13 Thread Stefano Stabellini
On Thu, 1 Apr 2021, Julien Grall wrote: > From: Julien Grall > > Some CPUs can speculate past a RET instruction and potentially perform > speculative accesses to memory before processing the return. > > There is no known gadget available after the RET instruction today. > However some of the reg

[PATCH v3 2/2] xen/arm64: Place a speculation barrier following an ret instruction

2021-04-01 Thread Julien Grall
From: Julien Grall Some CPUs can speculate past a RET instruction and potentially perform speculative accesses to memory before processing the return. There is no known gadget available after the RET instruction today. However some of the registers (such as in check_pending_guest_serror()) may c