[Skiboot] [PATCH trivial] mpipl: Release cpu data memory in free reserved memory path

Oliver O'Halloran oohall at gmail.com
Mon Feb 17 15:04:14 AEDT 2020


On Wed, Feb 5, 2020 at 10:26 PM Vasant Hegde
<hegdevasant at linux.vnet.ibm.com> wrote:
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>

Merged as 457f963527d4384021f86352d1cd7f4103a04162

> ---
>  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