Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490776
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Michael Ellerman <patch-notifications@ellerman.id.au> |
| Newsgroups | linux.kernel |
| Subject | Re: [v2] powerpc: fix usage of _PAGE_RO in hugepage |
| Date | Sun, 25 Sep 2016 05:10:01 +0200 |
| Message-ID | <sl7Zf-1c7-5@gated-at.bofh.it> (permalink) |
| References | <sj4sN-4oK-19@gated-at.bofh.it> |
| X-Original-To | Christophe Leroy <christophe.leroy@c-s.fr>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Paul Mackerras <paulus@samba.org>, Scott Wood <oss@buserror.net> |
| X-Powerpc-Patch-Notification | thanks |
| X-Powerpc-Patch-Commit | 6b8cb66a6a7cc182b47da6a0a1d4e5da324c0695 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 17 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Sun, 25 Sep 2016 13:00:14 +1000 (AEST) |
| X-Original-Message-ID | <3shWzz09hFz9s5g@ozlabs.org> |
| X-Original-References | <20160919105855.435AF1A2455@localhost.localdomain> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1490776 |
Show key headers only | View raw
On Mon, 2016-19-09 at 10:58:54 UTC, Christophe Leroy wrote:
> On some CPUs like the 8xx, _PAGE_RW hence _PAGE_WRITE is defined
> as 0 and _PAGE_RO has to be set when a page is not writable
>
> _PAGE_RO is defined by default in pte-common.h, however BOOK3S/64
> doesn't include that file so _PAGE_RO has to be defined explicitly
> in book3s/64/pgtable.h
>
> fixes: a7b9f671f2d14 ("powerpc32: adds handling of _PAGE_RO")
> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/6b8cb66a6a7cc182b47da6a0a1
cheers
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [v2] powerpc: fix usage of _PAGE_RO in hugepage Michael Ellerman <patch-notifications@ellerman.id.au> - 2016-09-25 05:10 +0200
csiph-web