Re: [PATCH v2 15/24] kvm: arm64: Extract parts of el2_setup into a macro

2020-11-25 Thread David Brazdil
On Mon, Nov 23, 2020 at 03:27:01PM +, Marc Zyngier wrote: > On Mon, 16 Nov 2020 20:43:09 +, > David Brazdil wrote: > > > > When the a CPU is booted in EL2, the kernel checks for VHE support and > > initializes the CPU core accordingly. For nVHE it also installs the stub > > vectors and dr

Re: [PATCH v2 15/24] kvm: arm64: Extract parts of el2_setup into a macro

2020-11-23 Thread Marc Zyngier
On Mon, 16 Nov 2020 20:43:09 +, David Brazdil wrote: > > When the a CPU is booted in EL2, the kernel checks for VHE support and > initializes the CPU core accordingly. For nVHE it also installs the stub > vectors and drops down to EL1. > > Once KVM gains the ability to boot cores without goi

[PATCH v2 15/24] kvm: arm64: Extract parts of el2_setup into a macro

2020-11-16 Thread David Brazdil
When the a CPU is booted in EL2, the kernel checks for VHE support and initializes the CPU core accordingly. For nVHE it also installs the stub vectors and drops down to EL1. Once KVM gains the ability to boot cores without going through the kernel entry point, it will need to initialize the CPU t