Skip to content

xen/arm: Xen hardening for newer Armv8

Julien Grall xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regsxen/include/public/arch-arm.h+12 -124 replies
2/7xen/arm: SCTLR_EL1 is a 64-bit register on Arm64tools/xentrace/xenctx.c xen/arch/arm/guest_walk.c xen/arch/arm/traps.c +3 more+15 -122 replies
3/7xen/arm: Rework psr_mode_is_32bit()xen/arch/arm/traps.c xen/include/asm-arm/regs.h+22 -155 replies
4/7xen/arm: traps: Avoid using BUG_ON() in _show_registers()xen/arch/arm/traps.c+3 -132 replies
5/7xen/arm: traps: Avoid BUG_ON() in do_trap_brk()xen/arch/arm/traps.c+8 -35 replies
6/7xen/arm: vsmc: The function identifier is always 32-bitxen/arch/arm/vsmc.c+2 -22 replies
7/7xen/arm: types: Specify the zero padding in the definition of PRIregisterxen/arch/arm/traps.c xen/include/asm-arm/types.h+7 -77 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchVolodymyr BabchukStefano Stabellini
1/7R-b
2/7R-b R-b
3/7R-b
4/7R-b A-b
5/7R-b R-b
6/7R-b R-b
7/7R-b A-b

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

Read the v1 thread

Cover letter [Xen-devel] [PATCH 0/7] xen/arm: Xen hardening for newer Armv8

Hi all,

This is a not-yet complete series to harden Xen for later revision of Armv8. The main goals are:
- Reducing the number of BUG_ON() to check guest state
- Fix system registers size as they are always 64-bit on AArch64 (not 32-bit!).

There are more work to do. I will send them in smaller batch as I find spare time to rework bits of Xen.

Note that patch #1 was already sent separately but added here for convenience.

Cheers,

Julien Grall (7):
xen/public: arch-arm: Restrict the visibility of struct
vcpu_guest_core_regs
xen/arm: SCTLR_EL1 is a 64-bit register on Arm64 xen/arm: Rework psr_mode_is_32bit()
xen/arm: traps: Avoid using BUG_ON() in _show_registers() xen/arm: traps: Avoid BUG_ON() in do_trap_brk() xen/arm: vsmc: The function identifier is always 32-bit xen/arm: types: Specify the zero padding in the definition of
PRIregister

 tools/xentrace/xenctx.c       |  4 ++-
 xen/arch/arm/guest_walk.c     |  2 +-
 xen/arch/arm/traps.c          | 73 ++++++++++++++++++++-----------------------
 xen/arch/arm/vsmc.c           |  4 +--
 xen/include/asm-arm/domain.h  |  3 +-
 xen/include/asm-arm/p2m.h     |  4 +--
 xen/include/asm-arm/regs.h    |  9 +++++-
 xen/include/asm-arm/types.h   |  4 +--
 xen/include/public/arch-arm.h | 28 ++++++++---------
 9 files changed, 68 insertions(+), 63 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel