[PATCH v15 03/20] arm64: Convert hcalls to use HVC immediate value

Geoff Levand
2016-03-17T16:47:51Z

Hi Marc,

On Wed, 2016-03-16 at 14:09 +0000, Marc Zyngier wrote:
> This seems to go in a direction that is diametrically opposite the
> the
> "normal" ARM way. That doesn't make it an invalid approach, but
> uniformity with other APIs (PSCI for example) and the 32bit KVM code
> seems a highly desirable feature (given that I'll end up maintaining
> that code).

We need a way to get the CPU back to the exception level it had on
entry to the kernel, and this hcall change is part of my proposed
solution. If you could outline something you think would be a better
fit, I'll take that and work on an implementation of it.

-Geoff