aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoffer Dall <[email protected]>2016-03-15 21:41:55 +0100
committerMarc Zyngier <[email protected]>2018-03-19 10:53:14 +0000
commit060701f04ace30d79ee76143d37beb4fb754c3e7 (patch)
treebaba660e5ec5153faa9d66a27feef55fc78b1f88 /tools/perf/scripts/python
parent04fef057003c207ff4d9f22d2127aee2f9abecd0 (diff)
KVM: arm64: Move userspace system registers into separate function
There's a semantic difference between the EL1 registers that control operation of a kernel running in EL1 and EL1 registers that only control userspace execution in EL0. Since we can defer saving/restoring the latter, move them into their own function. The ARMv8 ARM (ARM DDI 0487C.a) Section D10.2.1 recommends that ACTLR_EL1 has no effect on the processor when running the VHE host, and we can therefore move this register into the EL1 state which is only saved/restored on vcpu_put/load for a VHE host. We also take this chance to rename the function saving/restoring the remaining system register to make it clear this function deals with the EL1 system registers. Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Signed-off-by: Christoffer Dall <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions