Re: [v2] powerpc: fix usage of _PAGE_RO in hugepage
From: Michael Ellerman <hidden>
Date: 2016-09-25 03:00:20
Also in:
lkml
From: Michael Ellerman <hidden>
Date: 2016-09-25 03:00:20
Also in:
lkml
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 <redacted>
Reviewed-by: Aneesh Kumar K.V <redacted>Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6b8cb66a6a7cc182b47da6a0a1 cheers