arm64 regression in kernel 5.12 related to the (n)VHE

Florian Fainelli f.fainelli at gmail.com
Thu Aug 12 01:33:29 PDT 2021



On 8/11/2021 11:51 PM, Marc Zyngier wrote:
[snip]
>> CPU: All CPU(s) started at EL2
> 
> Interestingly, all your CPUs are booting at EL2. Which is great.  Can
> you try and enable KVM on your existing 5.10 kernel? Just selecting
> CONFIG_KVM should be enough. Does it boot correctly with KVM enabled?
> 
> My suspicion is that the firmware doesn't set SCR_EL3.HCE, and that
> the HVC instruction UNDEFs at EL1. That would be bad news.

Other Brahma-B53 devices that we work with (set-top box and cable modem 
chips) boot 5.12 and beyond correctly, and indeed, our EL3 firmware 
sets-up SCR_EL3.HCE.
-- 
Florian



More information about the linux-arm-kernel mailing list