Re: [PATCH v3 11/11] ARM: KVM: trap VM system registers until MMU and caches are ON

2014-02-06 Thread Catalin Marinas
On Wed, Feb 05, 2014 at 07:55:51PM +, 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,

Re: [PATCH v3 11/11] ARM: KVM: trap VM system registers until MMU and caches are ON

2014-02-06 Thread Christoffer Dall
On Wed, Feb 05, 2014 at 07:55:51PM +, 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,

[PATCH v3 11/11] ARM: KVM: trap VM system registers until MMU and caches are ON

2014-02-05 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