Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1490776

Re: [v2] powerpc: fix usage of _PAGE_RO in hugepage

From Michael Ellerman <patch-notifications@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [v2] powerpc: fix usage of _PAGE_RO in hugepage
Date 2016-09-25 05:10 +0200
Message-ID <sl7Zf-1c7-5@gated-at.bofh.it> (permalink)
References <sj4sN-4oK-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | 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


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