]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Remove EXSLB interrupt save area
authorNicholas Piggin <npiggin@gmail.com>
Mon, 8 Feb 2021 06:34:06 +0000 (16:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 11 Feb 2021 12:35:05 +0000 (23:35 +1100)
commita1551c879fd3bf79370951a533201cb4f14e90b2
treee6424ec04c8c9aea8883ab44d1dc7665ac43c7ab
parenteaa2415e6f8efaee6ef18e0f99716a6f55fd4dcd
powerpc/64s: Remove EXSLB interrupt save area

SLB faults should not be taken while the PACA save areas are live, all
memory accesses should be fetches from the kernel text, and access to
PACA and the current stack, before C code is called or any other
accesses are made.

All of these have pinned SLBs so will not take a SLB fault. Therefore
EXSLB is not be required.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210208063406.331655-1-npiggin@gmail.com
arch/powerpc/include/asm/paca.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/exceptions-64s.S