All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Livepatch: support for livepatching CET functions
@ 2022-03-07 11:53 Bjoern Doebel
  2022-03-07 11:53 ` [PATCH 1/2] Livepatch: resolve old address before function verification Bjoern Doebel
  2022-03-07 11:53 ` [PATCH 2/2] xen/x86: Livepatch: support patching CET-enhanced functions Bjoern Doebel
  0 siblings, 2 replies; 7+ messages in thread
From: Bjoern Doebel @ 2022-03-07 11:53 UTC (permalink / raw)
  To: xen-devel
  Cc: Michael Kurth, Martin Pohlack, Roger Pau Monne, Andrew Cooper,
	Bjoern Doebel

This series enables support for livepatching functions compiled with
Intel CET support where we have to make sure we leave a potential
leading ENDBR64 instruction intact on livepatch application.

The series also requires a change to generic livepatching code: we need
to make sure that the address of the patched function is known at the
time Xen tries to verify the livepatch for applicability, hence we need
to resolve this address before verifying the patch.

Bjoern Doebel (2):
  Livepatch: resolve old address before function verification
  xen/x86: Livepatch: support patching CET-enhanced functions

 xen/arch/x86/livepatch.c | 63 +++++++++++++++++++++++++++++++++++-----
 xen/common/livepatch.c   |  4 +--
 2 files changed, 57 insertions(+), 10 deletions(-)

-- 
2.32.0




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879





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

end of thread, other threads:[~2022-03-08 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-07 11:53 [PATCH 0/2] Livepatch: support for livepatching CET functions Bjoern Doebel
2022-03-07 11:53 ` [PATCH 1/2] Livepatch: resolve old address before function verification Bjoern Doebel
2022-03-08 14:33   ` Ross Lagerwall
2022-03-07 11:53 ` [PATCH 2/2] xen/x86: Livepatch: support patching CET-enhanced functions Bjoern Doebel
2022-03-07 14:03   ` Jan Beulich
2022-03-07 14:21     ` David Vrabel
2022-03-07 14:26       ` 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.