Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-12 Thread Christoffer Dall
On Fri, Jan 12, 2018 at 08:45:31AM +0100, Auger Eric wrote: > Hi Christoffer > > On 11/01/18 19:55, Christoffer Dall wrote: > > On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: > >> Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization > >> issues") moved the

Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-12 Thread Christoffer Dall
On Fri, Jan 12, 2018 at 08:45:31AM +0100, Auger Eric wrote: > Hi Christoffer > > On 11/01/18 19:55, Christoffer Dall wrote: > > On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: > >> Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization > >> issues") moved the

Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-11 Thread Auger Eric
Hi Christoffer On 11/01/18 19:55, Christoffer Dall wrote: > On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: >> Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization >> issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). >> However when vgic_v4_init is

Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-11 Thread Auger Eric
Hi Christoffer On 11/01/18 19:55, Christoffer Dall wrote: > On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: >> Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization >> issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). >> However when vgic_v4_init is

Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-11 Thread Christoffer Dall
On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: > Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization > issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). > However when vgic_v4_init is called from vgic_its_create(), the has_its > field is not yet

Re: [PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-11 Thread Christoffer Dall
On Mon, Jan 08, 2018 at 10:52:54AM +0100, Eric Auger wrote: > Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization > issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). > However when vgic_v4_init is called from vgic_its_create(), the has_its > field is not yet

[PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-08 Thread Eric Auger
Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). However when vgic_v4_init is called from vgic_its_create(), the has_its field is not yet set. Hence vgic_supports_direct_msis returns false and vgic_v4_init

[PATCH v2] KVM: arm/arm64: vgic-its: Fix vgicv4 init

2018-01-08 Thread Eric Auger
Commit 3d1ad640f8c94 ("KVM: arm/arm64: Fix GICv4 ITS initialization issues") moved the vgic_supports_direct_msis() check in vgic_v4_init(). However when vgic_v4_init is called from vgic_its_create(), the has_its field is not yet set. Hence vgic_supports_direct_msis returns false and vgic_v4_init