On 27/08/20 9:39 am, Aneesh Kumar K.V wrote: > Child thread.kuap value is inherited from the parent in copy_thread_tls. We > still > need to make sure when the child returns from a fork in the kernel we start > with the kernel > default AMR value. > > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.ibm.com> > --- > arch/powerpc/kernel/process.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > Reviewed-by: Sandipan Das <sandi...@linux.ibm.com>
- [PATCH v5 06/23] powerpc/book3s64/kup: Use the correct #i... Aneesh Kumar K.V
- [PATCH v5 07/23] powerpc/book3s64/kuep: Move KUEP related... Aneesh Kumar K.V
- [PATCH v5 09/23] powerpc/book3s64/kuap: Use Key 3 for ker... Aneesh Kumar K.V
- [PATCH v5 08/23] powerpc/book3s64/kuap: Rename MMU_FTR_RA... Aneesh Kumar K.V
- 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
- Re: [PATCH v5 12/23] powerpc/book3s64/pkeys: Inherit... Sandipan Das
- [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
- [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