Inter-revision diff: cover letter

Comparing v1 (message) to v2 (message)

--- v1
+++ v2
@@ -9,21 +9,28 @@
 Constifing some variables
 Enabling ARCH_HAS_STRICT_MODULE_RWX
 
+
+Since v1:
+  - no need to move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core
+    because RV32 uses the default module_alloc() for jit code which also
+    meets W^X after patch8
+  - fix a build error caused by local debug code clean up
+
 Jisheng Zhang (9):
   riscv: add __init section marker to some functions
   riscv: Mark some global variables __ro_after_init
   riscv: Constify sys_call_table
   riscv: Constify sbi_ipi_ops
   riscv: kprobes: Implement alloc_insn_page()
-  riscv: bpf: Move bpf_jit_alloc_exec() and bpf_jit_free_exec() to core
-  riscv: bpf: Avoid breaking W^X
+  riscv: bpf: Write protect JIT code
+  riscv: bpf: Avoid breaking W^X on RV64
   riscv: module: Create module allocations without exec permissions
   riscv: Set ARCH_HAS_STRICT_MODULE_RWX if MMU
 
  arch/riscv/Kconfig                 |  1 +
  arch/riscv/include/asm/smp.h       |  4 ++--
  arch/riscv/include/asm/syscall.h   |  2 +-
- arch/riscv/kernel/module.c         |  2 +-
+ arch/riscv/kernel/module.c         | 10 ++++++++--
  arch/riscv/kernel/probes/kprobes.c |  8 ++++++++
  arch/riscv/kernel/sbi.c            | 10 +++++-----
  arch/riscv/kernel/smp.c            |  6 +++---
@@ -34,9 +41,9 @@
  arch/riscv/mm/init.c               | 12 ++++++------
  arch/riscv/mm/kasan_init.c         |  6 +++---
  arch/riscv/mm/ptdump.c             |  2 +-
- arch/riscv/net/bpf_jit_comp64.c    | 13 -------------
- arch/riscv/net/bpf_jit_core.c      | 14 ++++++++++++++
- 16 files changed, 50 insertions(+), 40 deletions(-)
+ arch/riscv/net/bpf_jit_comp64.c    |  2 +-
+ arch/riscv/net/bpf_jit_core.c      |  1 +
+ 16 files changed, 45 insertions(+), 29 deletions(-)
 
 -- 
 2.31.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help