[Skiboot] [PATCH trivial] mpipl: Release cpu data memory in free reserved memory path
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Wed Feb 5 22:26:35 AEDT 2020
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
core/opal-dump.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/core/opal-dump.c b/core/opal-dump.c
index 256c9c949..380a71bdd 100644
--- a/core/opal-dump.c
+++ b/core/opal-dump.c
@@ -344,6 +344,8 @@ static int64_t opal_mpipl_update(enum opal_mpipl_ops ops,
/* Release memory */
free(opal_mpipl_data);
opal_mpipl_data = NULL;
+ free(opal_mpipl_cpu_data);
+ opal_mpipl_cpu_data = NULL;
/* Clear MDRT table */
memset((void *)MDRT_TABLE_BASE, 0, MDRT_TABLE_SIZE);
/* Set MDRT count to max allocated count */
--
2.21.1
More information about the Skiboot
mailing list