summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-smartq.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2016-11-02 07:57:01 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2016-11-12 10:12:42 +0100
commitf23ed166f283b1a6f0a1f0b0c889e8df9a10ff85 (patch)
treea3bce7a07f727a1443ca9cd8a20195a9036a510c /arch/arm/mach-s3c64xx/mach-smartq.c
parentpowerpc/64s: relocation, register save fixes for system reset interrupt (diff)
downloadlinux-f23ed166f283b1a6f0a1f0b0c889e8df9a10ff85.tar.xz
linux-f23ed166f283b1a6f0a1f0b0c889e8df9a10ff85.zip
powerpc/64s: Fix system reset interrupt winkle wakeups
Wakeups from winkle set the low bit of the HSPRG0 register, to distinguish it from other sleep states. This is also the PACA pointer. The system reset exception handler fails to mask this bit away before using this value before using it as the PACA pointer. Fix this by adding a new type of exception prolog macro where we already have the PACA set in r13, and have the system reset vector mask it out. The winkle wakeup handler will store the masked value back into HSPRG0. Fixes: fb479e44a9e2 ("powerpc/64s: relocation, register save fixes for system reset interrupt") Cc: stable@vger.kernel.org # v3.0+ Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-smartq.c')
0 files changed, 0 insertions, 0 deletions