Re: [PATCH v5 07/18] kvm: arm64: Configure VTCR_EL2 per VM

2018-09-20 Thread Suzuki K Poulose
Hi Eric, On 20/09/18 11:21, Auger Eric wrote: Hi Suzuki, On 9/17/18 12:41 PM, Suzuki K Poulose wrote: Add support for setting the VTCR_EL2 per VM, rather than hard coding a value at boot time per CPU. This would allow us to tune the stage2 page table parameters per VM in the later changes.

Re: [PATCH v5 07/18] kvm: arm64: Configure VTCR_EL2 per VM

2018-09-20 Thread Auger Eric
Hi Suzuki, On 9/17/18 12:41 PM, Suzuki K Poulose wrote: > Add support for setting the VTCR_EL2 per VM, rather than hard > coding a value at boot time per CPU. This would allow us to tune > the stage2 page table parameters per VM in the later changes. > > We compute the VTCR fields based on the

[PATCH v5 07/18] kvm: arm64: Configure VTCR_EL2 per VM

2018-09-17 Thread Suzuki K Poulose
Add support for setting the VTCR_EL2 per VM, rather than hard coding a value at boot time per CPU. This would allow us to tune the stage2 page table parameters per VM in the later changes. We compute the VTCR fields based on the system wide sanitised feature registers, except for the hardware