Re: [PATCH v2 01/11] irqchip/gic-v3-its: Free collection mapping on device teardown

From: Zenghui Yu
Date: Sat Nov 09 2019 - 03:27:28 EST


On 2019/11/9 0:57, Marc Zyngier wrote:
We allocate the collection mapping on device creation, but somehow
free it on the irqdomain free path, which is pretty inconsistent
and has led to bugs in the past.

Move it to the point where we teardown the device, making the
alloc/free symetric.

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>

Reviewed-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>