All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] xen: introduce Kconfig function alignment option
@ 2024-02-07 14:55 Roger Pau Monne
  2024-02-07 14:55 ` [PATCH v6 1/3] " Roger Pau Monne
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Roger Pau Monne @ 2024-02-07 14:55 UTC (permalink / raw)
  To: xen-devel
  Cc: Roger Pau Monne, Andrew Cooper, George Dunlap, Jan Beulich,
	Julien Grall, Stefano Stabellini, Wei Liu, Bertrand Marquis,
	Michal Orzel, Volodymyr Babchuk, Shawn Anastasio,
	Alistair Francis, Bob Eshleman, Connor Davis,
	Konrad Rzeszutek Wilk, Ross Lagerwall

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

-- 
2.43.0



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

end of thread, other threads:[~2024-03-28  9:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-07 14:55 [PATCH v6 0/3] xen: introduce Kconfig function alignment option Roger Pau Monne
2024-02-07 14:55 ` [PATCH v6 1/3] " Roger Pau Monne
2024-02-13 15:51   ` Jan Beulich
2024-02-26 11:33     ` Roger Pau Monné
2024-02-26 12:26       ` Jan Beulich
2024-02-14  8:20   ` Michal Orzel
2024-02-26 19:35   ` Shawn Anastasio
2024-02-07 14:55 ` [PATCH v6 2/3] xen: use explicit function alignment if supported by compiler Roger Pau Monne
2024-03-28  9:44   ` Roger Pau Monné
2024-02-07 14:55 ` [PATCH v6 3/3] xen/livepatch: align functions to ensure minimal distance between entry points Roger Pau Monne
2024-02-13 15:58   ` Jan Beulich
2024-02-26 11:32     ` Roger Pau Monné
2024-02-26 12:36       ` Jan Beulich
2024-02-27  8:15         ` Roger Pau Monné
2024-02-27  8:53           ` Jan Beulich
2024-02-27  9:25             ` Roger Pau Monné

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.