All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] x86/altcall: Switch to a simpler scheme
@ 2025-04-23  1:02 Andrew Cooper
  2025-04-23  1:02 ` [PATCH 1/8] x86/altcall: Split alternative-call.h out of alternative.h Andrew Cooper
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Andrew Cooper @ 2025-04-23  1:02 UTC (permalink / raw)
  To: Xen-devel
  Cc: Andrew Cooper, Anthony PERARD, Michal Orzel, Jan Beulich,
	Julien Grall, Roger Pau Monné, Stefano Stabellini,
	consulting @ bugseng . com, Nicola Vetrini, Ross Lagerwall

See patch 7 for details.  This simplifies _apply_alternatives() specifically
by removing a special and quite complicated case, and encodes the metadata
about altcalls differently and more efficiently.

https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1780872355

Andrew Cooper (8):
  x86/altcall: Split alternative-call.h out of alternative.h
  x86/altcall: Rename alternative_branches() to boot_apply_alt_calls()
  x86/alternatives: Rework information passing into
    nmi_apply_alternatives()
  x86/alternatives: Factor seal_endbr64() out of _apply_alternatives()
  x86/altcall: Introduce new simpler scheme
  xen/livepatch: Support new altcall scheme
  x86/altcall: Switch to simpler scheme
  x86/alternatives: Simplify _apply_alternatives() now altcall is
    separate

 .../eclair_analysis/ECLAIR/deviations.ecl     |   4 +-
 xen/arch/x86/alternative.c                    | 267 ++++++++++--------
 .../asm/{alternative.h => alternative-call.h} | 179 +-----------
 xen/arch/x86/include/asm/alternative.h        | 263 -----------------
 xen/arch/x86/include/asm/hvm/hvm.h            |   2 +-
 xen/arch/x86/setup.c                          |   3 +-
 xen/arch/x86/xen.lds.S                        |   4 +
 xen/common/core_parking.c                     |   4 +-
 xen/common/livepatch.c                        |  58 ++++
 xen/include/xen/alternative-call.h            |  24 +-
 10 files changed, 252 insertions(+), 556 deletions(-)
 copy xen/arch/x86/include/asm/{alternative.h => alternative-call.h} (63%)

-- 
2.39.5



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

end of thread, other threads:[~2025-04-23 12:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23  1:02 [PATCH 0/8] x86/altcall: Switch to a simpler scheme Andrew Cooper
2025-04-23  1:02 ` [PATCH 1/8] x86/altcall: Split alternative-call.h out of alternative.h Andrew Cooper
2025-04-23  7:55   ` Jan Beulich
2025-04-23  1:02 ` [PATCH 2/8] x86/altcall: Rename alternative_branches() to boot_apply_alt_calls() Andrew Cooper
2025-04-23  7:55   ` Jan Beulich
2025-04-23  1:02 ` [PATCH 3/8] x86/alternatives: Rework information passing into nmi_apply_alternatives() Andrew Cooper
2025-04-23  8:06   ` Jan Beulich
2025-04-23  1:02 ` [PATCH 4/8] x86/alternatives: Factor seal_endbr64() out of _apply_alternatives() Andrew Cooper
2025-04-23  8:07   ` Jan Beulich
2025-04-23  1:02 ` [PATCH 5/8] x86/altcall: Introduce new simpler scheme Andrew Cooper
2025-04-23  8:16   ` Jan Beulich
2025-04-23  1:02 ` [PATCH 6/8] xen/livepatch: Support new altcall scheme Andrew Cooper
2025-04-23  8:20   ` Jan Beulich
2025-04-23 11:16   ` Roger Pau Monné
2025-04-23 12:04     ` Andrew Cooper
2025-04-23  1:02 ` [PATCH 7/8] x86/altcall: Switch to simpler scheme Andrew Cooper
2025-04-23  9:01   ` Jan Beulich
2025-04-23  9:12     ` Andrew Cooper
2025-04-23  1:02 ` [PATCH 8/8] x86/alternatives: Simplify _apply_alternatives() now altcall is separate Andrew Cooper
2025-04-23  9:03   ` Jan Beulich

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.