Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-15 Thread Marc Zyngier
On Fri, Sep 15 2017 at 10:56:06 am BST, Christoffer Dall wrote: > On Fri, Sep 15, 2017 at 5:26 AM, Auger Eric wrote: >> Hi, >> >> On 14/09/2017 19:06, Marc Zyngier wrote: >>> On Thu, Sep 14 2017 at 10:57:28 am BST, Eric Auger >>> wrote: At the moment, the in-kernel emulated ITS is not pro

Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-15 Thread Christoffer Dall
On Fri, Sep 15, 2017 at 5:26 AM, Auger Eric wrote: > Hi, > > On 14/09/2017 19:06, Marc Zyngier wrote: >> On Thu, Sep 14 2017 at 10:57:28 am BST, Eric Auger >> wrote: >>> At the moment, the in-kernel emulated ITS is not properly reset. >>> On guest restart/reset some registers keep their old valu

Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-15 Thread Auger Eric
Hi, On 14/09/2017 19:06, Marc Zyngier wrote: > On Thu, Sep 14 2017 at 10:57:28 am BST, Eric Auger > wrote: >> At the moment, the in-kernel emulated ITS is not properly reset. >> On guest restart/reset some registers keep their old values and >> internal structures like device, ITE, collection li

Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-14 Thread Marc Zyngier
On Thu, Sep 14 2017 at 10:57:28 am BST, Eric Auger wrote: > At the moment, the in-kernel emulated ITS is not properly reset. > On guest restart/reset some registers keep their old values and > internal structures like device, ITE, collection lists are not emptied. > > This may lead to various bug

Re: [RFC] KVM: arm/arm64: Introduce KVM_DEV_ARM_ITS_CTRL_RESET

2017-09-14 Thread Christoffer Dall
On Thu, Sep 14, 2017 at 10:57:28AM +0200, Eric Auger wrote: > At the moment, the in-kernel emulated ITS is not properly reset. > On guest restart/reset some registers keep their old values and > internal structures like device, ITE, collection lists are not emptied. > > This may lead to various bu