commit | 47eb3cba48ec11122994057cdc1e5dd7ab9b2be2 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Apr 03 19:38:01 2017 +0100 |
committer | Christoffer Dall <cdall@linaro.org> | Sun Apr 09 07:49:33 2017 -0700 |
tree | 99e175ad8800012f0594d258f12c7c4b6a0b43b9 | |
parent | 9e9ebd01a353b1f8986ced524e30cf5eee6aa08e [diff] |
arm/arm64: KVM: Use HVC_RESET_VECTORS to reinit HYP mode Instead of trying to compare the value given by __hyp_get_vectors(), which doesn't offer any real guarantee to be the stub's address, use HVC_RESET_VECTORS to make sure we're in a sane state to reinstall KVM across PM events. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>