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

2019-07-26 Thread Zhangshaokun
Hi Marc, On 2019/7/26 17:18, Marc Zyngier wrote: > On Fri, 26 Jul 2019 09:51:45 +0800 > 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:

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

2019-07-26 Thread Marc Zyngier
On Fri, 26 Jul 2019 09:51:45 +0800 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] irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail

2019-07-25 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 --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file