Implement set_memory_xx for ppc64 book3s
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arch/powerpc/set_memory: Implement set_memory_xx routinesarch/ arch/ arch/ +3 more | +175 | 6 replies | |
| 2/3 | Enable ARCH_HAS_SET_MEMORYarch/ | +1 | 0 replies | |
| 3/3 | arch/powerpc/net/bpf: Basic EBPF supportarch/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/3] Implement set_memory_xx for ppc64 book3s
After implementing STRICT_KERNEL_RWX, it turns out that implementing set_memory_ro/rw/x/nx is quite easy. The first patch is applied on top (http://patchwork.ozlabs.org/patch/795745/).
The first patch implements the various routines, the second patch enables ARCH_HAS_SET_MEMORY for PPC_BOOK3S_64 and the third patch enables the BPF infrastructure to use the set_memory_ro and set_memory_rw routines.
Balbir Singh (3):
arch/powerpc/set_memory: Implement set_memory_xx routines Enable ARCH_HAS_SET_MEMORY
arch/powerpc/net/bpf: Basic EBPF support
arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/book3s/64/hash.h | 6 +++ arch/powerpc/include/asm/book3s/64/radix.h | 6 +++ arch/powerpc/include/asm/set_memory.h | 34 +++++++++++++++ arch/powerpc/mm/pgtable-hash64.c | 51 ++++++++++++++++++++-- arch/powerpc/mm/pgtable-radix.c | 26 ++++++------ arch/powerpc/mm/pgtable_64.c | 68 ++++++++++++++++++++++++++++++ arch/powerpc/net/bpf_jit_comp64.c | 13 +----- 8 files changed, 177 insertions(+), 28 deletions(-) create mode 100644 arch/powerpc/include/asm/set_memory.h
Signature · 1 line
2.9.4