]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
arm64: head.S: Enable EL1 (host) access to SPE when entered at EL2
authorWill Deacon <will.deacon@arm.com>
Thu, 22 Sep 2016 10:25:25 +0000 (11:25 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 9 Feb 2017 18:31:25 +0000 (18:31 +0000)
commit2bf47e194608192b7346baea1d57929a87ced3f9
treeac7aebfccf4d312cf1d20293b94a9e145d1c69aa
parent6e01398fe4505ac4ac963fe0ca44b25e46783fef
arm64: head.S: Enable EL1 (host) access to SPE when entered at EL2

The SPE architecture requires each exception level to enable access
to the SPE controls for the exception level below it, since additional
context-switch logic may be required to handle the buffer safely.

This patch allows EL1 (host) access to the SPE controls when entered at
EL2.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S