WSL2-Linux-Kernel/arch/powerpc/platforms
Gavin Shan caa58f8088 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: 1e9167726c ("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>
2016-09-08 13:12:52 +10:00
..
8xx
40x
44x
52xx
82xx
83xx powerpc: mpc8349emitx: Delete unnecessary assignment for the field "owner" 2016-08-22 11:09:33 +10:00
85xx
86xx
512x powerpc/512x: Delete unnecessary assignment for the field "owner" 2016-08-22 11:09:33 +10:00
amigaone
cell powerpc/cell: Add missing error code in spufs_mkgang() 2016-08-09 14:50:18 +10:00
chrp
embedded6xx powerpc: migrate exception table users off module.h and onto extable.h 2016-08-22 11:09:33 +10:00
maple
pasemi powerpc/pasemi: Fix coherent_dma_mask for dma engine 2016-08-08 16:19:09 +10:00
powermac
powernv powerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE 2016-09-08 13:12:52 +10:00
ps3 RTC for 4.8 2016-08-05 09:48:22 -04:00
pseries powerpc/pseries: Fix little endian build with CONFIG_KEXEC=n 2016-09-06 14:54:08 +10:00
Kconfig RTC for 4.8 2016-08-05 09:48:22 -04:00
Kconfig.cputype
Makefile
fsl_uli1575.c