Re: [PATCH v4 16/21] arm64: Make kvm-arm.mode={nvhe,protected} an alias of id_aa64mmfr1.vh=0

2021-01-23 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 09:45:28AM +, Marc Zyngier wrote: > Admitedly, passing id_aa64mmfr1.vh=0 on the command-line isn't > that easy to understand, and it is likely that users would much > prefer write "kvm-arm.mode=nvhe", or "...=protected". > > So here you go. This has the added advantage

[PATCH v4 16/21] arm64: Make kvm-arm.mode={nvhe,protected} an alias of id_aa64mmfr1.vh=0

2021-01-18 Thread Marc Zyngier
Admitedly, passing id_aa64mmfr1.vh=0 on the command-line isn't that easy to understand, and it is likely that users would much prefer write "kvm-arm.mode=nvhe", or "...=protected". So here you go. This has the added advantage that we can now always honor the "kvm-arm.mode=protected" option, even