[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86d15becxj.fsf@arm.com>
Date: Wed, 25 Oct 2017 11:31:36 +0100
From: Marc Zyngier <marc.zyngier@....com>
To: Eric Auger <eric.auger@...hat.com>
Cc: <eric.auger.pro@...il.com>, <linux-kernel@...r.kernel.org>,
<kvm@...r.kernel.org>, <kvmarm@...ts.cs.columbia.edu>,
<cdall@...aro.org>, <peter.maydell@...aro.org>,
<andre.przywara@....com>, <wanghaibin.wang@...wei.com>,
<wu.wubin@...wei.com>, <drjones@...hat.com>, <wei@...hat.com>
Subject: Re: [PATCH v5 07/10] KVM: arm/arm64: vgic-its: New helper functions to free the caches
On Mon, Oct 23 2017 at 4:08:26 pm BST, Eric Auger <eric.auger@...hat.com> wrote:
> From: wanghaibin <wanghaibin.wang@...wei.com>
>
> We create two new functions that free the device and
> collection lists. They are currently called by vgic_its_destroy()
> and other callers will be added in subsequent patches.
>
> We also remove the check on its->device_list.next.
> Lists are initialized in vgic_create_its() and the device
> is added to the device list only if this latter succeeds.
>
> vgic_its_destroy is the device destroy ops. This latter is called
> by kvm_destroy_devices() which loops on all created devices. So
> at this point the list is initialized.
>
> Signed-off-by: wanghaibin <wanghaibin.wang@...wei.com>
> Signed-off-by: Eric Auger <eric.auger@...hat.com>
Acked-by: Marc Zyngier <marc.zyngier@....com>
M.
--
Jazz is not dead. It just smells funny.
Powered by blists - more mailing lists