Re: [RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-21 Thread Marc Zyngier
Hi Pranav, On 21/01/14 12:17, Pranavkumar Sawargaonkar wrote: > Hi Marc, > > On 20 January 2014 22:00, Anup Patel wrote: >> Hi Marc, >> >> On Mon, Jan 20, 2014 at 7:11 PM, Marc Zyngier wrote: >>> Hi Anup, >>> >>> On 20/01/14 12:00, Anup Patel wrote: On Fri, Jan 17, 2014 at 8:33 PM, Marc Zy

Re: [RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-21 Thread Pranavkumar Sawargaonkar
Hi Marc, On 20 January 2014 22:00, Anup Patel wrote: > Hi Marc, > > On Mon, Jan 20, 2014 at 7:11 PM, Marc Zyngier wrote: >> Hi Anup, >> >> On 20/01/14 12:00, Anup Patel wrote: >>> On Fri, Jan 17, 2014 at 8:33 PM, Marc Zyngier wrote: In order to be able to detect the point where the guest e

Re: [RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-20 Thread Anup Patel
Hi Marc, On Mon, Jan 20, 2014 at 7:11 PM, Marc Zyngier wrote: > Hi Anup, > > On 20/01/14 12:00, Anup Patel wrote: >> On Fri, Jan 17, 2014 at 8:33 PM, Marc Zyngier wrote: >>> In order to be able to detect the point where the guest enables >>> its MMU and caches, trap all the VM related system reg

Re: [RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-20 Thread Marc Zyngier
Hi Anup, On 20/01/14 12:00, Anup Patel wrote: > On Fri, Jan 17, 2014 at 8:33 PM, Marc Zyngier wrote: >> In order to be able to detect the point where the guest enables >> its MMU and caches, trap all the VM related system registers. >> >> Once we see the guest enabling both the MMU and the caches

Re: [RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-20 Thread Anup Patel
On Fri, Jan 17, 2014 at 8:33 PM, Marc Zyngier wrote: > In order to be able to detect the point where the guest enables > its MMU and caches, trap all the VM related system registers. > > Once we see the guest enabling both the MMU and the caches, we > can go back to a saner mode of operation, whic

[RFC PATCH 2/3] arm64: KVM: trap VM system registers until MMU and caches are ON

2014-01-17 Thread Marc Zyngier
In order to be able to detect the point where the guest enables its MMU and caches, trap all the VM related system registers. Once we see the guest enabling both the MMU and the caches, we can go back to a saner mode of operation, which is to leave these registers in complete control of the guest.