[PATCH v4 00/28] arm/arm64: KVM: Rework the hyp-stub API
Christoffer Dall
cdall at linaro.org
Fri Mar 24 07:36:08 PDT 2017
Hi Marc,
On Tue, Mar 21, 2017 at 07:20:30PM +0000, Marc Zyngier wrote:
> As noticed by RMK in this thread[1], the hyp-stub API on 32bit ARM
> could do with some TLC (it cannot perform a soft-restart at HYP, and
> has holes in the hyp-stub support in a number of places). In general,
> it would be desirable for the 32bit behaviour to align on 64bit, if
> only to ease maintenance.
>
> This series implements the following:
> - Add HVC_[GS]ET_VECTORS and HVC_SOFT_RESTART to the 32bit code
> - Add HVC_RESET_VECTORS to both arm and arm64, removing the need for
> __hyp_reset_vectors
> - Implement add the stub entry points in the KVM init code, which
> didn't implement any so far
> - Convert the HYP code to use the init code stubs directly
> - Some general cleanup as a result of these changes (which includes
> killing HVC_GET_VECTORS)
> - Add some API documentation that covers the above
>
> Patches 12 to 14 would be better squashed into 10 and 11, but I've
> kept them separate so that I can take the blame for everything I've
> broken.
>
> I've tested this on arm (Cubietruck, Jetson TK1) and arm64 (Seattle),
> both as host and guest. Keerthy has been kind enough to test the 32bit
> code on DRA7-EVM, AM57XX-EVM and KEYSTONE-K2E-EVM.
For the series, except where I had some minor questions:
Acked-by: Christoffer Dall <cdall at linaro.org>
Thanks,
-Christoffer
More information about the linux-arm-kernel
mailing list