[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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(-) -- 2.43.0
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |