arm64: head: Init PMSCR_EL2.{PA,PCT} when entered at EL2 without VHE
authorWill Deacon <will.deacon@arm.com>
Fri, 7 Jul 2017 12:47:02 +0000 (13:47 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 18 Oct 2017 11:53:32 +0000 (12:53 +0100)
commitb0c57e1071b51746ef0c960166f4527a3b3f0b6d
tree2a66dc098c5d637d3287e029d2a94f7fdd718d1c
parenta173c390d9c130d1dd254a9246fc7ffe4a2869f7
arm64: head: Init PMSCR_EL2.{PA,PCT} when entered at EL2 without VHE

When booting at EL2, ensure that we permit the EL1 host to sample
physical addresses and physical counter values using SPE.

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