Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Marc Zyngier
On Tue, 09 Mar 2021 14:29:10 +, Andrew Jones wrote: > > On Tue, Mar 09, 2021 at 01:43:40PM +, Marc Zyngier wrote: > > Hi Andrew, > > > > On Tue, 09 Mar 2021 13:20:21 +, > > Andrew Jones wrote: > > > > > > Hi Marc, > > > > > > On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Andrew Jones
On Tue, Mar 09, 2021 at 01:43:40PM +, Marc Zyngier wrote: > Hi Andrew, > > On Tue, 09 Mar 2021 13:20:21 +, > Andrew Jones wrote: > > > > Hi Marc, > > > > On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > > > KVM/arm64 has forever used a 40bit default IPA space, partially

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Marc Zyngier
Hi Suzuki, On Tue, 09 Mar 2021 11:09:48 +, Suzuki Poulose wrote: > > > > > On 8 Mar 2021, at 17:46, Marc Zyngier wrote: > > > > KVM/arm64 has forever used a 40bit default IPA space, partially > > due to its 32bit heritage (where the only choice is 40bit). > > > > However, there are

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Marc Zyngier
Hi Andrew, On Tue, 09 Mar 2021 13:20:21 +, Andrew Jones wrote: > > Hi Marc, > > On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > > KVM/arm64 has forever used a 40bit default IPA space, partially > > due to its 32bit heritage (where the only choice is 40bit). > > > >

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Andrew Jones
Hi Marc, On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > KVM/arm64 has forever used a 40bit default IPA space, partially > due to its 32bit heritage (where the only choice is 40bit). > > However, there are implementations in the wild that have a *cough* > much smaller *cough* IPA

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Will Deacon
On Tue, Mar 09, 2021 at 11:35:54AM +, Marc Zyngier wrote: > On Tue, 09 Mar 2021 11:26:59 +, > Will Deacon wrote: > > > > On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > > > KVM/arm64 has forever used a 40bit default IPA space, partially > > > due to its 32bit heritage

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Marc Zyngier
On Tue, 09 Mar 2021 11:26:59 +, Will Deacon wrote: > > On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > > KVM/arm64 has forever used a 40bit default IPA space, partially > > due to its 32bit heritage (where the only choice is 40bit). > > > > However, there are implementations

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Will Deacon
On Mon, Mar 08, 2021 at 05:46:43PM +, Marc Zyngier wrote: > KVM/arm64 has forever used a 40bit default IPA space, partially > due to its 32bit heritage (where the only choice is 40bit). > > However, there are implementations in the wild that have a *cough* > much smaller *cough* IPA space,

Re: [PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-09 Thread Suzuki Poulose
> On 8 Mar 2021, at 17:46, Marc Zyngier wrote: > > KVM/arm64 has forever used a 40bit default IPA space, partially > due to its 32bit heritage (where the only choice is 40bit). > > However, there are implementations in the wild that have a *cough* > much smaller *cough* IPA space, which

[PATCH] KVM: arm64: Cap default IPA size to the host's own size

2021-03-08 Thread Marc Zyngier
KVM/arm64 has forever used a 40bit default IPA space, partially due to its 32bit heritage (where the only choice is 40bit). However, there are implementations in the wild that have a *cough* much smaller *cough* IPA space, which leads to a misprogramming of VTCR_EL2, and a guest that is stuck on