Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-08

Re: powerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE

From: Michael Ellerman <hidden>
Date: 2016-09-08 09:47:52

On Tue, 2016-06-09 at 04:17:18 UTC, Gavin Shan wrote:
In pnv_ioda_free_pe(), the PE object (including the associated PE
number) is cleared before resetting the corresponding bit in the
PE allocation bitmap. It means PE#0 is always released to the bitmap
wrongly.

This fixes above issue by caching the PE number before the PE object
is cleared.

Fixes: 1e9167726c41 ("powerpc/powernv: Use PE instead of number during setup and release"
Signed-off-by: Gavin Shan <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/caa58f808834fca9a4443233fd

I added:
    Cc: stable@vger.kernel.org # v4.7+

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help