diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-24 10:56:55 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 11:32:44 +0000 |
commit | 83fa381f66ccb025f9e182d0b2ef9cd53c1f33ab (patch) | |
tree | 207b2b322e52a2bac4d1d069a17e6c141f3116b0 /drivers/firmware/psci/psci.c | |
parent | 29052f1b92f2bcb0419c544459f4c919bfb20898 (diff) |
KVM: arm64: Avoid repetitive stack access on host EL1 to EL2 exception
Registers x0/x1 get repeateadly pushed and poped during a host
HVC call. Instead, leave the registers on the stack, trading
a store instruction on the fast path for an add on the slow path.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions