kernel_samsung_a53x/arch/powerpc/platforms/pseries
Wang Yufen d3b92494aa powerpc/pseries: fix potential memory leak in init_cpu_associativity()
[ Upstream commit 95f1a128cd728a7257d78e868f1f5a145fc43736 ]

If the vcpu_associativity alloc memory successfully but the
pcpu_associativity fails to alloc memory, the vcpu_associativity
memory leaks.

Fixes: d62c8deeb6e6 ("powerpc/pseries: Provide vcpu dispatch statistics")
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Reviewed-by: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/1671003983-10794-1-git-send-email-wangyufen@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:06 +01:00
..
cmm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dlpar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dtl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eeh_pseries.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
event_sources.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
firmware.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hotplug-cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hotplug-memory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvCall.S Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvCall_inst.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvconsole.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hvcserver.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ibmebus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
io_event_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
iommu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kexec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpar.c powerpc/pseries: fix potential memory leak in init_cpu_associativity() 2024-11-18 11:43:06 +01:00
lparcfg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mobility.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvram.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_helpers.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of_helpers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
papr_scm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci_dlpar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
power.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pseries.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pseries_energy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ras.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
reconfig.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rng.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtas-fadump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rtas-fadump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scanlog.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
setup.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
smp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
suspend.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
svm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vphn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00