Re: [PATCH v2 3/4] kvm: arm/arm64: vgic-v3: add ICH_AP[01]Rn accessors for GICv3

2017-08-08 Thread Marc Zyngier
On 08/08/17 14:01, wanghaibin wrote: > On 2017/7/25 19:25, Marc Zyngier wrote: > >> On Mon, Jul 17 2017 at 6:23:31 pm BST, wanghaibin >> wrote: >>> This patch is used for GICv2 on GICv3. >>> >>> About GICV_APRn hardware register access,the SPEC says: >>> When System register access is enabled f

Re: [PATCH v2 3/4] kvm: arm/arm64: vgic-v3: add ICH_AP[01]Rn accessors for GICv3

2017-08-08 Thread wanghaibin
On 2017/7/25 19:25, Marc Zyngier wrote: > On Mon, Jul 17 2017 at 6:23:31 pm BST, wanghaibin > wrote: >> This patch is used for GICv2 on GICv3. >> >> About GICV_APRn hardware register access,the SPEC says: >> When System register access is enabled for EL2, these registers access >> ICH_AP1Rn_EL2

Re: [PATCH v2 3/4] kvm: arm/arm64: vgic-v3: add ICH_AP[01]Rn accessors for GICv3

2017-07-25 Thread Marc Zyngier
On Mon, Jul 17 2017 at 6:23:31 pm BST, wanghaibin wrote: > This patch is used for GICv2 on GICv3. > > About GICV_APRn hardware register access,the SPEC says: > When System register access is enabled for EL2, these registers access > ICH_AP1Rn_EL2, and all active priorities for virtual machines a

[PATCH v2 3/4] kvm: arm/arm64: vgic-v3: add ICH_AP[01]Rn accessors for GICv3

2017-07-17 Thread wanghaibin
This patch is used for GICv2 on GICv3. About GICV_APRn hardware register access,the SPEC says: When System register access is enabled for EL2, these registers access ICH_AP1Rn_EL2, and all active priorities for virtual machines are held in ICH_AP1Rn_EL2 regardless of interrupt group. For GICv3 ha