Re: [PATCH] kvm: arm64: Enable hardware updates of the Access Flag for Stage 2 page tables

2016-05-09 Thread Christoffer Dall
On Mon, May 09, 2016 at 05:50:56PM +0100, Catalin Marinas wrote: > On Mon, May 09, 2016 at 05:33:10PM +0200, Christoffer Dall wrote: > > On Wed, Apr 13, 2016 at 05:57:37PM +0100, Catalin Marinas wrote: > > > The ARMv8.1 architecture extensions introduce support for hardware > > > updates of the acc

Re: [PATCH v3 32/55] KVM: arm/arm64: vgic-new: Add GICv3 MMIO handling framework

2016-05-09 Thread Chalamarla, Tirumalesh
On 5/9/16, 10:18 AM, "kvmarm-boun...@lists.cs.columbia.edu on behalf of Marc Zyngier" wrote: >On 06/05/16 11:45, Andre Przywara wrote: >> Create a new file called vgic-mmio-v3.c and describe the GICv3 >> distributor and redistributor registers there. >> This adds a special macro to deal wit

Re: [PATCH v3 47/55] KVM: arm/arm64: vgic-new: Add userland GIC CPU interface access

2016-05-09 Thread Marc Zyngier
On 06/05/16 11:46, Andre Przywara wrote: > Using the VMCR accessors we provide access to GIC CPU interface state > to userland by wiring it up to the existing userland interface. > [Marc: move and make VMCR accessors static, streamline MMIO handlers] > > Signed-off-by: Andre Przywara > Signed-off

Re: [PATCH v4 03/12] KVM: arm64: Introduce new MMIO region for the ITS base address

2016-05-09 Thread Chalamarla, Tirumalesh
On 5/9/16, 8:47 AM, "Marc Zyngier" wrote: >On 05/05/16 19:08, Chalamarla, Tirumalesh wrote: >> >> >> >> >> >> On 3/25/16, 7:14 PM, "kvmarm-boun...@lists.cs.columbia.edu on behalf of >> Andre Przywara" > andre.przyw...@arm.com> wrote: >> >>> The ARM GICv3 ITS controller requires a sepa

Re: [PATCH v3 32/55] KVM: arm/arm64: vgic-new: Add GICv3 MMIO handling framework

2016-05-09 Thread Marc Zyngier
On 06/05/16 11:45, Andre Przywara wrote: > Create a new file called vgic-mmio-v3.c and describe the GICv3 > distributor and redistributor registers there. > This adds a special macro to deal with the split of SGI/PPI in the > redistributor and SPIs in the distributor, which allows us to reuse > the

Re: [PATCH v4 03/12] KVM: arm64: Introduce new MMIO region for the ITS base address

2016-05-09 Thread Marc Zyngier
On 09/05/16 17:53, Chalamarla, Tirumalesh wrote: > > > > > > On 5/9/16, 8:47 AM, "Marc Zyngier" wrote: > >> On 05/05/16 19:08, Chalamarla, Tirumalesh wrote: >>> >>> >>> >>> >>> >>> On 3/25/16, 7:14 PM, "kvmarm-boun...@lists.cs.columbia.edu on behalf of >>> Andre Przywara" >> andre.przyw...@

Re: [PATCH] kvm: arm64: Enable hardware updates of the Access Flag for Stage 2 page tables

2016-05-09 Thread Catalin Marinas
On Mon, May 09, 2016 at 05:33:10PM +0200, Christoffer Dall wrote: > On Wed, Apr 13, 2016 at 05:57:37PM +0100, Catalin Marinas wrote: > > The ARMv8.1 architecture extensions introduce support for hardware > > updates of the access and dirty information in page table entries. With > > VTCR_EL2.HA ena

Re: [PATCH v4 03/12] KVM: arm64: Introduce new MMIO region for the ITS base address

2016-05-09 Thread Marc Zyngier
On 05/05/16 19:08, Chalamarla, Tirumalesh wrote: > > > > > > On 3/25/16, 7:14 PM, "kvmarm-boun...@lists.cs.columbia.edu on behalf of Andre > Przywara" andre.przyw...@arm.com> wrote: > >> The ARM GICv3 ITS controller requires a separate register frame to >> cover ITS specific registers. Add

Re: [PATCH] kvm: arm64: Enable hardware updates of the Access Flag for Stage 2 page tables

2016-05-09 Thread Christoffer Dall
On Wed, Apr 13, 2016 at 05:57:37PM +0100, Catalin Marinas wrote: > The ARMv8.1 architecture extensions introduce support for hardware > updates of the access and dirty information in page table entries. With > VTCR_EL2.HA enabled (bit 21), when the CPU accesses an IPA with the > PTE_AF bit cleared