Re: [PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-21 Thread Christoffer Dall
On Sat, Oct 21, 2017 at 04:36:22PM +0200, Auger Eric wrote: > Hi Christoffer, > > On 21/10/2017 16:31, Christoffer Dall wrote: > > On Sat, Oct 21, 2017 at 12:13:21PM +0200, Auger Eric wrote: > >> Hi Christoffer, > >> > >> On 18/10/2017 00:34, Christoffer Dall wrote: > >>> On Tue, Oct 17, 2017 at

Re: [PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-21 Thread Auger Eric
Hi Christoffer, On 21/10/2017 16:31, Christoffer Dall wrote: > On Sat, Oct 21, 2017 at 12:13:21PM +0200, Auger Eric wrote: >> Hi Christoffer, >> >> On 18/10/2017 00:34, Christoffer Dall wrote: >>> On Tue, Oct 17, 2017 at 09:10:07AM +0200, Eric Auger wrote: When the GITS_BASER.Valid gets

Re: [PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-21 Thread Christoffer Dall
On Sat, Oct 21, 2017 at 12:13:21PM +0200, Auger Eric wrote: > Hi Christoffer, > > On 18/10/2017 00:34, Christoffer Dall wrote: > > On Tue, Oct 17, 2017 at 09:10:07AM +0200, Eric Auger wrote: > >> When the GITS_BASER.Valid gets cleared, the data structures in > >> guest RAM are not valid anymore.

Re: [PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-21 Thread Auger Eric
Hi Christoffer, On 18/10/2017 00:34, Christoffer Dall wrote: > On Tue, Oct 17, 2017 at 09:10:07AM +0200, Eric Auger wrote: >> When the GITS_BASER.Valid gets cleared, the data structures in >> guest RAM are not valid anymore. The device, collection >> and LPI lists stored in the in-kernel ITS

Re: [PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-17 Thread Christoffer Dall
On Tue, Oct 17, 2017 at 09:10:07AM +0200, Eric Auger wrote: > When the GITS_BASER.Valid gets cleared, the data structures in > guest RAM are not valid anymore. The device, collection > and LPI lists stored in the in-kernel ITS represent the same > information in some form of cache. So let's void

[PATCH v4 09/11] KVM: arm/arm64: vgic-its: free caches when GITS_BASER Valid bit is cleared

2017-10-17 Thread Eric Auger
When the GITS_BASER.Valid gets cleared, the data structures in guest RAM are not valid anymore. The device, collection and LPI lists stored in the in-kernel ITS represent the same information in some form of cache. So let's void the cache. Signed-off-by: Eric Auger ---