All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH 0/7] xen/arm: Xen hardening for newer Armv8
@ 2019-07-23 21:35 Julien Grall
  2019-07-23 21:35 ` [Xen-devel] [PATCH 1/7] xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regs Julien Grall
                   ` (6 more replies)
  0 siblings, 7 replies; 35+ messages in thread
From: Julien Grall @ 2019-07-23 21:35 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, George Dunlap, Ian Jackson,
	Julien Grall, Volodymyr Babchuk

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(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2019-07-31 14:49 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23 21:35 [Xen-devel] [PATCH 0/7] xen/arm: Xen hardening for newer Armv8 Julien Grall
2019-07-23 21:35 ` [Xen-devel] [PATCH 1/7] xen/public: arch-arm: Restrict the visibility of struct vcpu_guest_core_regs Julien Grall
2019-07-26 12:14   ` Volodymyr Babchuk
2019-07-26 12:55     ` Julien Grall
2019-07-26 13:17       ` Volodymyr Babchuk
2019-07-29 21:14         ` Stefano Stabellini
2019-07-23 21:35 ` [Xen-devel] [PATCH 2/7] xen/arm: SCTLR_EL1 is a 64-bit register on Arm64 Julien Grall
2019-07-26 12:22   ` Volodymyr Babchuk
2019-07-29 21:33     ` Stefano Stabellini
2019-07-23 21:35 ` [Xen-devel] [PATCH 3/7] xen/arm: Rework psr_mode_is_32bit() Julien Grall
2019-07-26 12:31   ` Volodymyr Babchuk
2019-07-26 13:09     ` Julien Grall
2019-07-26 14:05       ` Volodymyr Babchuk
2019-07-29 21:52         ` Stefano Stabellini
2019-07-31 12:14           ` Julien Grall
2019-07-23 21:35 ` [Xen-devel] [PATCH 4/7] xen/arm: traps: Avoid using BUG_ON() in _show_registers() Julien Grall
2019-07-26 12:33   ` Volodymyr Babchuk
2019-07-29 21:55     ` Stefano Stabellini
2019-07-23 21:35 ` [Xen-devel] [PATCH 5/7] xen/arm: traps: Avoid BUG_ON() in do_trap_brk() Julien Grall
2019-07-26 12:38   ` Volodymyr Babchuk
2019-07-29 22:02   ` Stefano Stabellini
2019-07-30  8:59     ` Julien Grall
2019-07-30 17:00       ` Stefano Stabellini
2019-07-31 14:48         ` Andrew Cooper
2019-07-23 21:35 ` [Xen-devel] [PATCH 6/7] xen/arm: vsmc: The function identifier is always 32-bit Julien Grall
2019-07-26 12:39   ` Volodymyr Babchuk
2019-07-29 22:13     ` Stefano Stabellini
2019-07-23 21:35 ` [Xen-devel] [PATCH 7/7] xen/arm: types: Specify the zero padding in the definition of PRIregister Julien Grall
2019-07-26 12:47   ` Volodymyr Babchuk
2019-07-26 13:19     ` Julien Grall
2019-07-26 14:21       ` Volodymyr Babchuk
2019-07-26 14:35         ` Julien Grall
2019-07-26 14:42   ` Julien Grall
2019-07-26 17:05     ` Volodymyr Babchuk
2019-07-29 22:15       ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.