[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r1z92cto.fsf@linux.ibm.com>
Date: Wed, 05 Feb 2020 10:55:47 -0600
From: Nathan Lynch <nathanl@...ux.ibm.com>
To: Michal Suchanek <msuchanek@...e.de>
Cc: David Hildenbrand <david@...hat.com>,
Michal Suchanek <msuchanek@...e.cz>, stable@...r.kernel.org,
linux-kernel@...r.kernel.org, Paul Mackerras <paulus@...ba.org>,
Leonardo Bras <leonardo@...ux.ibm.com>,
Thomas Gleixner <tglx@...utronix.de>,
Michal Suchanek <msuchanek@...e.de>,
Allison Randal <allison@...utok.net>,
linuxppc-dev@...ts.ozlabs.org, Libor Pechacek <lpechacek@...e.cz>
Subject: Re: [PATCH v2] powerpc: drmem: avoid NULL pointer dereference when drmem is unavailable
Michal Suchanek <msuchanek@...e.de> writes:
> From: Libor Pechacek <lpechacek@...e.cz>
>
> In guests without hotplugagble memory drmem structure is only zero
> initialized. Trying to manipulate DLPAR parameters results in a crash.
>
[...]
>
> Fixes: 6c6ea53725b3 ("powerpc/mm: Separate ibm, dynamic-memory data from DT format")
> Cc: Michal Suchanek <msuchanek@...e.cz>
> Cc: stable@...r.kernel.org
> Signed-off-by: Libor Pechacek <lpechacek@...e.cz>
> Signed-off-by: Michal Suchanek <msuchanek@...e.de>
> ---
> v2: rename last_lmb -> limit, clarify error condition.
Acked-by: Nathan Lynch <nathanl@...ux.ibm.com>
Thanks!
Powered by blists - more mailing lists