Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram()

From: Christophe Leroy
Date: Tue Dec 18 2018 - 13:13:41 EST


Le 18/12/2018 à 18:04, Jonathan Neuschäfer a écrit :
On Tue, Dec 18, 2018 at 04:04:42PM +0100, Christophe Leroy wrote:
Stupid of me. In fact at the time being, BATS cover both RO and RW data
areas, so it can definitly not be mapped with PAGE_KERNEL_ROX.

In fact, as I have CONFIG_BDI_SWITCH in my setup, PAGE_KERNEL_TEXT is
PAGE_KERNEL_X on my side. That's the reason why I missed it.

With this change being done to patch 3, does the overall serie works for you ?

Yes, with the PAGE_KERNEL_X change, the whole series boots on the Wii.

That's great, many thanks for testing.

Christophe



Jonathan