Re: [PATCH v2] irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail

2019-07-26 Thread Marc Zyngier
On Fri, 26 Jul 2019 10:32:57 +0100, Shaokun Zhang wrote: > > From: Nianyao Tang > > In its_vpe_init, when its_alloc_vpe_table fails, we should free > vpt_page allocated just before, instead of vpe->vpt_page. > Let's fix it. > > Cc: Thomas Gleixner > Cc: Jason Cooper > Cc: Marc Zyngier >

[PATCH v2] irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail

2019-07-26 Thread Shaokun Zhang
From: Nianyao Tang In its_vpe_init, when its_alloc_vpe_table fails, we should free vpt_page allocated just before, instead of vpe->vpt_page. Let's fix it. Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Signed-off-by: Nianyao Tang Signed-off-by: Shaokun Zhang ---