Thread (53 messages) 53 messages, 4 authors, 2018-06-20

[PATCHv3 12/19] arm64: zero GPRs upon entry from EL0

From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2018-06-19 15:24:41
Also in: linux-fsdevel

On Mon, Jun 18, 2018 at 01:03:03PM +0100, Mark Rutland wrote:
We can zero GPRs x0 - x29 upon entry from EL0 to make it harder for
userspace to control values consumed by speculative gadgets.

We don't blat x30, since this is stashed much later, and we'll blat it
before invoking C code.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <redacted>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help