Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-20 Thread Marc Zyngier
On 18/09/12 22:53, Christoffer Dall wrote: On Tue, Sep 18, 2012 at 5:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Sep 15, 2012 at 11:34:36AM -0400, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the

Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-20 Thread Christoffer Dall
On Thu, Sep 20, 2012 at 6:01 AM, Marc Zyngier marc.zyng...@arm.com wrote: On 18/09/12 22:53, Christoffer Dall wrote: On Tue, Sep 18, 2012 at 5:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Sep 15, 2012 at 11:34:36AM -0400, Christoffer Dall wrote: From: Marc Zyngier

Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-18 Thread Will Deacon
On Sat, Sep 15, 2012 at 04:34:36PM +0100, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the mem_type prot_pte field when setting up page tables pointing to a device. Unfortunately, the mem_type structure is opaque. Add an

Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-18 Thread Christoffer Dall
On Tue, Sep 18, 2012 at 8:23 AM, Will Deacon will.dea...@arm.com wrote: On Sat, Sep 15, 2012 at 04:34:36PM +0100, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the mem_type prot_pte field when setting up page tables pointing to

Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-18 Thread Russell King - ARM Linux
On Sat, Sep 15, 2012 at 11:34:36AM -0400, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the mem_type prot_pte field when setting up page tables pointing to a device. Unfortunately, the mem_type structure is opaque. Add an

Re: [PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-18 Thread Christoffer Dall
On Tue, Sep 18, 2012 at 5:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sat, Sep 15, 2012 at 11:34:36AM -0400, Christoffer Dall wrote: From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the mem_type prot_pte field when setting up page

[PATCH 01/15] ARM: add mem_type prot_pte accessor

2012-09-15 Thread Christoffer Dall
From: Marc Zyngier marc.zyng...@arm.com The KVM hypervisor mmu code requires access to the mem_type prot_pte field when setting up page tables pointing to a device. Unfortunately, the mem_type structure is opaque. Add an accessor (get_mem_type_prot_pte()) to retrieve the prot_pte value.