On 27/08/20 9:39 am, Aneesh Kumar K.V wrote: > Now that kernel correctly store/restore userspace AMR/IAMR values, avoid > manipulating AMR and IAMR from the kernel on behalf of userspace. > > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.ibm.com> > --- > arch/powerpc/include/asm/book3s/64/kup.h | 18 ++++++++ > arch/powerpc/include/asm/processor.h | 4 -- > arch/powerpc/kernel/process.c | 4 -- > arch/powerpc/kernel/traps.c | 6 --- > arch/powerpc/mm/book3s64/pkeys.c | 57 +++++------------------- > 5 files changed, 28 insertions(+), 61 deletions(-) > Reviewed-by: Sandipan Das <sandi...@linux.ibm.com>
- Re: [PATCH v5 08/23] powerpc/book3s64/kuap: Rename M... Christophe Leroy
- [PATCH v5 10/23] powerpc/exec: Set thread.regs early duri... Aneesh Kumar K.V
- [PATCH v5 11/23] powerpc/book3s64/pkeys: Store/restore us... Aneesh Kumar K.V
- [PATCH v5 12/23] powerpc/book3s64/pkeys: Inherit correctl... Aneesh Kumar K.V
- [PATCH v5 13/23] powerpc/book3s64/pkeys: Reset userspace ... Aneesh Kumar K.V
- [PATCH v5 14/23] powerpc/ptrace-view: Use pt_regs values ... Aneesh Kumar K.V
- [PATCH v5 15/23] powerpc/book3s64/pkeys: Don't update SPR... Aneesh Kumar K.V
- Re: [PATCH v5 15/23] powerpc/book3s64/pkeys: Don't u... Sandipan Das
- [PATCH v5 17/23] powerpc/book3s64/kuap: Improve error rep... Aneesh Kumar K.V
- [PATCH v5 16/23] powerpc/book3s64/kuap: Restrict access t... Aneesh Kumar K.V
- [PATCH v5 18/23] powerpc/book3s64/kuap: Use Key 3 to impl... Aneesh Kumar K.V
- [PATCH v5 19/23] powerpc/book3s64/kuep: Use Key 3 to impl... Aneesh Kumar K.V
- [PATCH v5 20/23] powerpc/book3s64/hash/kuap: Enable kuap ... Aneesh Kumar K.V
- Re: [PATCH v5 20/23] powerpc/book3s64/hash/kuap: Ena... Michael Ellerman
- Re: [PATCH v5 20/23] powerpc/book3s64/hash/kuap: Ena... Sandipan Das