linux-stable/arch/powerpc
Balbir Singh 1e0fc9d1eb powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs
All code that patches kernel text has been moved over to using
patch_instruction() and patch_instruction() is able to cope with the
kernel text being read only.

The linker script has been updated to ensure the read only data ends
on a large page boundary, so it and the preceding kernel text can be
marked R_X. We also have implementations of mark_rodata_ro() for Hash
and Radix MMU modes.

There are some corner-cases missing when the kernel is built
relocatable, so for now make it depend on !RELOCATABLE.

There's also a temporary workaround to depend on !HIBERNATION to avoid
a build failure, that will be removed once we've merged with the PM
tree.

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
[mpe: Make it depend on !RELOCATABLE, munge change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-07-04 11:37:44 +10:00
..
boot powerpc/dts: Use #include "..." to include local DT 2017-07-03 23:00:33 +10:00
configs powerpc/44x/fsp2: Add defconfig for FSP2 board 2017-05-30 14:59:51 +10:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2017-05-02 15:53:46 -07:00
include powerpc/mm/hash: Implement mark_rodata_ro() for hash 2017-07-04 11:35:16 +10:00
kernel powerpc/vmlinux.lds: Align __init_begin to 16M 2017-07-03 23:12:19 +10:00
kvm Merge branch 'fixes' into next 2017-07-03 23:05:43 +10:00
lib powerpc/lib/code-patching: Use alternate map for patch_instruction() 2017-07-03 23:12:19 +10:00
math-emu
mm powerpc/mm/radix: Implement STRICT_RWX/mark_rodata_ro() for Radix 2017-07-04 11:37:39 +10:00
net
oprofile
perf Merge branch 'fixes' into next 2017-07-03 23:05:43 +10:00
platforms powerpc/pseries: Fix passing of pp0 in updatepp() and updateboltedpp() 2017-07-03 23:12:19 +10:00
purgatory
sysdev Merge branch 'fixes' into next 2017-07-03 23:05:43 +10:00
tools powerpc/64: Tool to check head sections location sanity 2017-05-30 14:59:51 +10:00
xmon powerpc/xmon: Add patch_instruction() support for xmon 2017-07-03 23:12:19 +10:00
Kconfig powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs 2017-07-04 11:37:44 +10:00
Kconfig.debug
Makefile powerpc: Link warning for orphan sections 2017-05-30 14:59:51 +10:00
Makefile.postlink powerpc/64: Tool to check head sections location sanity 2017-05-30 14:59:51 +10:00