diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-09-06 06:17:18 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-08 05:12:52 +0200 |
commit | caa58f808834fca9a4443233fd09df5ab639690d (patch) | |
tree | 2efb3435c952cabf2ac784b8406aacd152b54f61 /arch/blackfin/mach-bf518/Makefile | |
parent | powerpc/powernv: Fix crash on releasing compound PE (diff) | |
download | linux-caa58f808834fca9a4443233fd09df5ab639690d.tar.xz linux-caa58f808834fca9a4443233fd09df5ab639690d.zip |
powerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE
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"
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/blackfin/mach-bf518/Makefile')
0 files changed, 0 insertions, 0 deletions