Re: [PATCH 05/15] arm64: kvm: Build hyp-entry.S separately for VHE/nVHE

From: Marc Zyngier
Date: Thu May 07 2020 - 11:15:59 EST


On 2020-05-07 16:07, Marc Zyngier wrote:
On Thu, 30 Apr 2020 15:48:21 +0100,
David Brazdil <dbrazdil@xxxxxxxxxx> wrote:

[...]

hyp-entry.S contains implementation of KVM hyp vectors. This code is mostly
shared between VHE/nVHE, therefore compile it under both VHE and nVHE build
rules, with small differences hidden behind '#ifdef __HYPERVISOR__'. These are:
* only nVHE should handle host HVCs, VHE will now panic,

That's not true. VHE does handle HVCs from the guest. If you make VHE
panic on guest exit, I'll come after you! ;-)

Duh, I can't read. "host HVCs". You can relax. ;-)

M.
--
Jazz is not dead. It just smells funny...