Skip to content

xen: introduce Kconfig function alignment option

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest3 patches 12 repliesIn review

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen: introduce Kconfig function alignment optionxen/Kconfig xen/arch/arm/Kconfig xen/arch/arm/include/asm/config.h +7 more+26 -105 replies
2/3xen: use explicit function alignment if supported by compilerxen/Kconfig xen/Makefile+6 -01 reply
3/3xen/livepatch: align functions to ensure minimal distance between entry pointsxen/arch/arm/livepatch.c xen/arch/arm/xen.lds.S xen/arch/ppc/xen.lds.S +4 more+26 -16 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJan BeulichMichal OrzelShawn Anastasio
1/3R-b R-b A-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v6 thread

Cover letter [PATCH v6 0/3] xen: introduce Kconfig function alignment option

Hello,

The following series adds an additional Kconfig option for the per-arch code alignment. Such alignment is to be used in all assembly code symbols and C functions unless specified otherwise.

Last patch also uses such alignment in order to guarantee enough distance between function entry points, so that there's always space in order to do the instruction replacements required by livepatch.

Thanks, Roger.

Roger Pau Monne (3):
xen: introduce Kconfig function alignment option
xen: use explicit function alignment if supported by compiler xen/livepatch: align functions to ensure minimal distance between
entry points

 xen/Kconfig                         | 22 ++++++++++++++++++++++
 xen/Makefile                        |  1 +
 xen/arch/arm/Kconfig                |  1 +
 xen/arch/arm/include/asm/config.h   |  3 +--
 xen/arch/arm/livepatch.c            |  2 ++
 xen/arch/arm/xen.lds.S              |  4 ++++
 xen/arch/ppc/Kconfig                |  1 +
 xen/arch/ppc/include/asm/config.h   |  3 ---
 xen/arch/ppc/xen.lds.S              |  4 ++++
 xen/arch/riscv/Kconfig              |  1 +
 xen/arch/riscv/include/asm/config.h |  1 -
 xen/arch/riscv/xen.lds.S            |  4 ++++
 xen/arch/x86/Kconfig                |  1 +
 xen/arch/x86/include/asm/config.h   |  3 +--
 xen/arch/x86/livepatch.c            |  4 ++++
 xen/arch/x86/xen.lds.S              |  4 ++++
 xen/common/Kconfig                  |  5 ++++-
 xen/include/xen/linkage.h           |  5 +++--
 18 files changed, 58 insertions(+), 11 deletions(-)
Signature · 1 line
2.43.0