Re: [PATCH 5/8] KVM: arm64: Turn host HVC handling into a dispatch table

2020-11-02 Thread Alexandru Elisei
Hi Marc, On 10/26/20 9:51 AM, Marc Zyngier wrote: > Now that we can use function pointer, use a dispatch table to call > the individual HVC handlers, leading to more maintainable code. > > Further improvements include helpers to declare the mapping of > local variables to values passed in the host

[PATCH 5/8] KVM: arm64: Turn host HVC handling into a dispatch table

2020-10-26 Thread Marc Zyngier
Now that we can use function pointer, use a dispatch table to call the individual HVC handlers, leading to more maintainable code. Further improvements include helpers to declare the mapping of local variables to values passed in the host context. Signed-off-by: Marc Zyngier --- arch/arm64/kern