Skip to contentSkip to conversation

Patch "powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Mar 10, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
powerpc-mm-add-mmu_ftr_kernel_ro-to-possible-feature-mask.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From a5ecdad4847897007399d7a14c9109b65ce4c9b7 Mon Sep 17 00:00:00 2001

From: "Aneesh Kumar K.V" <[email protected]>
Date: Tue, 7 Feb 2017 00:09:27 +0530
Subject: powerpc/mm: Add MMU_FTR_KERNEL_RO to possible feature mask

From: Aneesh Kumar K.V <[email protected]>

commit a5ecdad4847897007399d7a14c9109b65ce4c9b7 upstream.

Without this we will always find the feature disabled.

Fixes 984d7a1ec6 ("powerpc/mm: Fixup kernel read only mapping")
---
 arch/powerpc/include/asm/mmu.h |    1 +
 1 file changed, 1 insertion(+)
arch/powerpc/include/asm/mmu.h +1 -0
@@ -136,6 +136,7 @@ enum {
 		MMU_FTR_NO_SLBIE_B | MMU_FTR_16M_PAGE | MMU_FTR_TLBIEL |
 		MMU_FTR_LOCKLESS_TLBIE | MMU_FTR_CI_LARGE_PAGE |
 		MMU_FTR_1T_SEGMENT | MMU_FTR_TLBIE_CROP_VA |
+		MMU_FTR_KERNEL_RO |
 #ifdef CONFIG_PPC_RADIX_MMU
 		MMU_FTR_TYPE_RADIX |
 #endif

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/powerpc-mm-add-mmu_ftr_kernel_ro-to-possible-feature-mask.patch queue-4.9/powerpc-mm-hash-always-clear-uprt-and-host-radix-bits-when-setting-up-cpu.patch