RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-03-15 Thread PLATTNER Christoph
@vger.kernel.org; linuxppc-...@lists.ozlabs.org Subject: Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE On Mon, 1 Feb 2021 06:29:50 + (UTC), Christophe Leroy wrote: > On book3s/32, page protection is defined by the PP bits in the PTE > which provide the fol

Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-03-14 Thread Michael Ellerman
On Mon, 1 Feb 2021 06:29:50 + (UTC), Christophe Leroy wrote: > On book3s/32, page protection is defined by the PP bits in the PTE > which provide the following protection depending on the access > keys defined in the matching segment register: > - PP 00 means RW with key 0 and N/A with key 1.

RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread PLATTNER Christoph
; KOENIG Werner Subject: Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE Le 01/02/2021 à 11:22, PLATTNER Christoph a écrit : > Hello to all, and thank you very much for first and second fast response. > > I do not have a long history on PowerPC MMU envir

Re: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread Christophe Leroy
Le 01/02/2021 à 11:22, PLATTNER Christoph a écrit : Hello to all, and thank you very much for first and second fast response. I do not have a long history on PowerPC MMU environment, I hacked into this topic for about 3 months for analyzing that problem- so, sorry, if I am wrong in some

RE: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-02-01 Thread PLATTNER Christoph
-- From: Christophe Leroy Sent: Montag, 1. Februar 2021 07:30 To: Benjamin Herrenschmidt ; Paul Mackerras ; Michael Ellerman ; PLATTNER Christoph Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org Subject: [PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

[PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-01-31 Thread Christophe Leroy
On book3s/32, page protection is defined by the PP bits in the PTE which provide the following protection depending on the access keys defined in the matching segment register: - PP 00 means RW with key 0 and N/A with key 1. - PP 01 means RW with key 0 and RO with key 1. - PP 10 means RW with both