Re: [PATCH v4 10/14] KVM: ARM: User space API for getting/setting co-proc registers

2012-11-29 Thread Christoffer Dall
On Mon, Nov 19, 2012 at 10:02 AM, Will Deacon will.dea...@arm.com wrote: On Sat, Nov 10, 2012 at 03:43:21PM +, Christoffer Dall wrote: The following three ioctls are implemented: - KVM_GET_REG_LIST - KVM_GET_ONE_REG - KVM_SET_ONE_REG [...] diff --git

Re: [PATCH v4 10/14] KVM: ARM: User space API for getting/setting co-proc registers

2012-11-19 Thread Will Deacon
On Sat, Nov 10, 2012 at 03:43:21PM +, Christoffer Dall wrote: The following three ioctls are implemented: - KVM_GET_REG_LIST - KVM_GET_ONE_REG - KVM_SET_ONE_REG [...] diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 845ceda..9671cd2

[PATCH v4 10/14] KVM: ARM: User space API for getting/setting co-proc registers

2012-11-10 Thread Christoffer Dall
The following three ioctls are implemented: - KVM_GET_REG_LIST - KVM_GET_ONE_REG - KVM_SET_ONE_REG Now we have a table for all the cp15 registers, we can drive a generic API. The register IDs carry the following encoding: ARM registers are mapped using the lower 32 bits. The upper 16 of