Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-30 Thread Marc Zyngier
On 29/04/13 18:35, Catalin Marinas wrote: > On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: >> diff --git a/arch/arm64/include/asm/kvm_mmu.h >> b/arch/arm64/include/asm/kvm_mmu.h >> new file mode 100644 >> index 000..2eb2230 >> --- /dev/null >> +++ b/arch/arm64/include/asm/kvm_mm

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-29 Thread Catalin Marinas
On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: > diff --git a/arch/arm64/include/asm/kvm_mmu.h > b/arch/arm64/include/asm/kvm_mmu.h > new file mode 100644 > index 000..2eb2230 > --- /dev/null > +++ b/arch/arm64/include/asm/kvm_mmu.h ... > +/* > + * Align KVM with the kernel's vi

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-25 Thread Christoffer Dall
On Thu, Apr 25, 2013 at 5:59 AM, Marc Zyngier wrote: > On 24/04/13 17:55, Christoffer Dall wrote: >> On Wed, Apr 24, 2013 at 4:03 AM, Marc Zyngier wrote: >>> On 23/04/13 23:58, Christoffer Dall wrote: On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: > Define the arm64 specif

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-25 Thread Marc Zyngier
On 24/04/13 17:55, Christoffer Dall wrote: > On Wed, Apr 24, 2013 at 4:03 AM, Marc Zyngier wrote: >> On 23/04/13 23:58, Christoffer Dall wrote: >>> On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: Define the arm64 specific MMU backend: - HYP/kernel VA offset - S2 4/64kB

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-24 Thread Christoffer Dall
On Wed, Apr 24, 2013 at 4:03 AM, Marc Zyngier wrote: > On 23/04/13 23:58, Christoffer Dall wrote: >> On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: >>> Define the arm64 specific MMU backend: >>> - HYP/kernel VA offset >>> - S2 4/64kB definitions >>> - S2 page table populating and fl

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-24 Thread Christoffer Dall
On Wed, Apr 24, 2013 at 4:10 AM, Will Deacon wrote: > On Wed, Apr 24, 2013 at 12:03:10PM +0100, Marc Zyngier wrote: >> On 23/04/13 23:58, Christoffer Dall wrote: >> > I noticed that this doesn't do any cache cleaning. Are the MMU page >> > table walks guaranteed to be coherent with the MMU on arm

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-24 Thread Will Deacon
On Wed, Apr 24, 2013 at 12:03:10PM +0100, Marc Zyngier wrote: > On 23/04/13 23:58, Christoffer Dall wrote: > > I noticed that this doesn't do any cache cleaning. Are the MMU page > > table walks guaranteed to be coherent with the MMU on arm64? > > I suppose you meant the cache. In this case, yes.

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-24 Thread Marc Zyngier
On 23/04/13 23:58, Christoffer Dall wrote: > On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: >> Define the arm64 specific MMU backend: >> - HYP/kernel VA offset >> - S2 4/64kB definitions >> - S2 page table populating and flushing >> - icache cleaning >> >> Reviewed-by: Christopher Co

Re: [PATCH v3 08/32] arm64: KVM: architecture specific MMU backend

2013-04-23 Thread Christoffer Dall
On Mon, Apr 08, 2013 at 05:17:10PM +0100, Marc Zyngier wrote: > Define the arm64 specific MMU backend: > - HYP/kernel VA offset > - S2 4/64kB definitions > - S2 page table populating and flushing > - icache cleaning > > Reviewed-by: Christopher Covington > Signed-off-by: Marc Zyngier > --- > ar