Skip to content
Commit 5d6aa6ea authored by Andrew Scull's avatar Andrew Scull Committed by Paul Gortmaker
Browse files

KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART



commit b9e10d4a upstream.

HVC_SOFT_RESTART is given values for x0-2 that it should installed
before exiting to the new address so should not set x0 to stub HVC
success or failure code.

Fixes: af42f204 ("arm64: hyp-stub: Zero x0 on successful stub handling")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAndrew Scull <ascull@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200706095259.1338221-1-ascull@google.com


Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 8cdd6e14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment