xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] x86: Implement interrupt-safe livepatching
@ 2018-01-29 15:38 Andrew Cooper
  2018-01-29 15:38 ` [PATCH 1/5] arm/alternatives: Fix apply_alternatives() API Andrew Cooper
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Andrew Cooper @ 2018-01-29 15:38 UTC (permalink / raw)
  To: Xen-devel
  Cc: Stefano Stabellini, Andrew Cooper, Ross Lagerwall, Julien Grall,
	Jan Beulich

So it turns out that this is quite a lot easier than I feared.

Only compile-tested on ARM, but functionally tested on x86.

Andrew Cooper (5):
  arm/alternatives: Fix apply_alternatives() API
  xen/alternatives: Plumb a 'live' parameter through apply_alternatives()
  x86/livepatch: Use text_poke() and plumb a live parameter through
  x86/alternative: Implement NMI/#MC-safe patching
  DO-NOT-APPLY - Demonstrates an NMI hitting an in-progress patch

 xen/arch/arm/alternative.c        |  20 +++---
 xen/arch/x86/alternative.c        | 131 ++++++++++++++++++++++++++++++++++++--
 xen/arch/x86/livepatch.c          |   8 +--
 xen/arch/x86/traps.c              |   2 +
 xen/arch/x86/x86_64/entry.S       |  38 ++++++++++-
 xen/common/livepatch.c            |   2 +-
 xen/include/asm-arm/alternative.h |   9 ++-
 xen/include/asm-x86/alternative.h |   5 +-
 xen/include/asm-x86/processor.h   |   2 +
 9 files changed, 187 insertions(+), 30 deletions(-)

-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

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

end of thread, other threads:[~2018-02-01 16:55 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-29 15:38 [PATCH 0/5] x86: Implement interrupt-safe livepatching Andrew Cooper
2018-01-29 15:38 ` [PATCH 1/5] arm/alternatives: Fix apply_alternatives() API Andrew Cooper
2018-01-29 20:23   ` Stefano Stabellini
2018-01-30 10:55     ` Julien Grall
2018-01-30 11:16       ` [PATCH 0.5/5] arm/alternatives: Drop the !HAS_ALTERNATIVE infrastructure Andrew Cooper
2018-01-30 11:29         ` Julien Grall
2018-01-30 11:31           ` Andrew Cooper
2018-01-31 15:26             ` Julien Grall
2018-01-31 19:57             ` Konrad Rzeszutek Wilk
2018-01-29 15:38 ` [PATCH 2/5] xen/alternatives: Plumb a 'live' parameter through apply_alternatives() Andrew Cooper
2018-01-29 20:24   ` Stefano Stabellini
2018-01-30 11:05   ` Julien Grall
2018-01-30 11:24     ` Andrew Cooper
2018-01-30 11:44       ` Julien Grall
2018-01-29 15:38 ` [PATCH 3/5] x86/livepatch: Use text_poke() and plumb a live parameter through Andrew Cooper
2018-01-29 15:38 ` [PATCH 4/5] x86/alternative: Implement NMI/#MC-safe patching Andrew Cooper
2018-01-30  8:39   ` Jan Beulich
2018-01-30 19:26     ` Andrew Cooper
2018-01-31  6:07       ` Juergen Gross
2018-01-31 10:32         ` Andrew Cooper
2018-01-31 11:00       ` Jan Beulich
2018-02-01 15:20         ` Andrew Cooper
2018-02-01 16:55           ` Jan Beulich
2018-01-29 15:38 ` [PATCH 5/5] DO-NOT-APPLY - Demonstrates an NMI hitting an in-progress patch Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).