Skip to content

x86: Support for __ro_after_init

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/boot: Drop incorrect mapping at l2_xenmap[0]xen/arch/x86/setup.c+3 -74 replies
2/8x86/boot: Better describe the pagetable relocation loopsxen/arch/x86/setup.c+4 -41 reply
3/8x86/boot: Fix data placement around __high_start()xen/arch/x86/boot/x86_64.S xen/arch/x86/setup.c xen/arch/x86/smpboot.c +1 more+9 -102 replies
4/8x86/mm: Drop bogus cacheability logic in update_xen_mappings()xen/arch/x86/mm.c+9 -122 replies
5/8x86/boot: Drop xen_virt_endxen/arch/x86/livepatch.c xen/arch/x86/mm.c xen/arch/x86/setup.c +1 more+4 -102 replies
6/8x86/boot: Adjust .text/.rodata/etc permissions in one placexen/arch/x86/setup.c+16 -581 reply
7/8x86/boot: Support __ro_after_initxen/arch/x86/setup.c xen/arch/x86/xen.lds.S xen/include/asm-x86/setup.h +1 more+20 -11 reply
8/8x86/boot: Check that permission restrictions have taken effectxen/arch/x86/setup.c+39 -02 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchJan Beulich
1/8R-b
2/8A-b
3/8R-b
4/8
5/8R-b
6/8R-b
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] x86: Support for __ro_after_init

Also some prep cleanup, because the boot time pagetable handling is seemingly impossible to edit without finding more skeletons lying around...

Andrew Cooper (8):
x86/boot: Drop incorrect mapping at l2_xenmap[0] x86/boot: Better describe the pagetable relocation loops x86/boot: Fix data placement around __high_start() x86/mm: Drop bogus cacheability logic in update_xen_mappings() x86/boot: Drop xen_virt_end
x86/boot: Adjust .text/.rodata/etc permissions in one place x86/boot: Support __ro_after_init
x86/boot: Check that permission restrictions have taken effect

 xen/arch/x86/boot/x86_64.S        |   8 --
 xen/arch/x86/livepatch.c          |   3 +-
 xen/arch/x86/mm.c                 |  24 +++---
 xen/arch/x86/setup.c              | 153 +++++++++++++++++++-------------------
 xen/arch/x86/smpboot.c            |   3 +-
 xen/arch/x86/xen.lds.S            |   6 ++
 xen/include/asm-x86/setup.h       |   3 +
 xen/include/asm-x86/x86_64/page.h |   2 -
 xen/include/xen/cache.h           |   2 +
 9 files changed, 103 insertions(+), 101 deletions(-)
Signature · 1 line
2.11.0