xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] Livepatch fixes and general features for Xen4.8.
@ 2016-09-16 15:29 Konrad Rzeszutek Wilk
  2016-09-16 15:29 ` [PATCH v6 1/6] livepatch: Disallow applying after an revert Konrad Rzeszutek Wilk
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-09-16 15:29 UTC (permalink / raw)
  To: xen-devel, konrad, ross.lagerwall, andrew.cooper3

Hey!

Since v5:[https://lists.xen.org/archives/html/xen-devel/2016-09/msg01114.html]
 - Acted on the review comments.
 - Replaced "livepatch/docs: Document .bss not being cleared, and .data potentially 
   having changed values" with "livepatch: Disallow applying after an revert"
 - Added two minor fixes to the test-cases (one of them was part of the ARM32/64
   livepatch support).

Since v4: 
[https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg02705.html]
 - Committed Acked/Reviewed patches.
 - Discarded couple of patches to address later.

Since v3: [https://lists.xen.org/archives/html/xen-devel/2016-08/msg01825.html]
 - Acked on reviews
v2, v1:
 - Left over fixes and features that didn't get quite done in 4.7

Included are:
 - Bug-fixes
 - NOP patching
 - Hooks

The first one deals with .bss and replaces the "livepatch/docs: Document .bss
not being cleared, and .data potentially" which was posted in v5.

The legend is:

 r - Reviewed-by

   livepatch: Disallow applying after an revert
r  livepatch: Add limit of 2MB to payload .bss sections.
   livepatch: NOP if func->new_addr is zero.
r  livepach: Add .livepatch.hooks functions and test-case
   livepatch/tests: Make .livepatch.depends be read-only
   livepatch/tests: Move the .name value to .rodata


Thanks!

The git tree is

 git://xenbits.xen.org/people/konradwilk/xen.git livepatch.v4.8.v6

contains all the following patches (and more):

Konrad Rzeszutek Wilk (5):
      livepatch: Disallow applying after an revert
      livepatch: Add limit of 2MB to payload .bss sections.
      livepatch: NOP if func->new_addr is zero.
      livepatch/tests: Make .livepatch.depends be read-only
      livepatch/tests: Move the .name value to .rodata

Ross Lagerwall (1):
      livepach: Add .livepatch.hooks functions and test-case


 docs/misc/livepatch.markdown          | 37 +++++++++++++++-
 xen/arch/x86/alternative.c            |  2 +-
 xen/arch/x86/livepatch.c              | 40 ++++++++++++------
 xen/arch/x86/test/Makefile            |  4 +-
 xen/arch/x86/test/xen_bye_world.c     |  2 +-
 xen/arch/x86/test/xen_hello_world.c   | 36 +++++++++++++++-
 xen/arch/x86/test/xen_replace_world.c |  2 +-
 xen/common/livepatch.c                | 80 +++++++++++++++++++++++++++++++++--
 xen/common/livepatch_elf.c            |  4 ++
 xen/include/asm-x86/alternative.h     |  1 +
 xen/include/asm-x86/livepatch.h       | 21 +++++++++
 xen/include/xen/livepatch.h           | 11 +++++
 xen/include/xen/livepatch_payload.h   | 49 +++++++++++++++++++++
 13 files changed, 264 insertions(+), 25 deletions(-)

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

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

end of thread, other threads:[~2016-09-21 13:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 15:29 [PATCH v6] Livepatch fixes and general features for Xen4.8 Konrad Rzeszutek Wilk
2016-09-16 15:29 ` [PATCH v6 1/6] livepatch: Disallow applying after an revert Konrad Rzeszutek Wilk
2016-09-19  8:40   ` Jan Beulich
2016-09-21 12:47   ` Ross Lagerwall
2016-09-16 15:29 ` [PATCH v6 2/6] livepatch: Add limit of 2MB to payload .bss sections Konrad Rzeszutek Wilk
2016-09-19  8:43   ` Jan Beulich
2016-09-16 15:29 ` [PATCH v6 3/6] livepatch: NOP if func->new_addr is zero Konrad Rzeszutek Wilk
2016-09-19  8:59   ` Jan Beulich
2016-09-19 16:11     ` Konrad Rzeszutek Wilk
2016-09-19 16:31       ` Jan Beulich
2016-09-19 17:02         ` Konrad Rzeszutek Wilk
2016-09-19 20:44           ` Konrad Rzeszutek Wilk
2016-09-20  6:58           ` Jan Beulich
2016-09-19  9:21   ` Jan Beulich
2016-09-21 13:21   ` Ross Lagerwall
2016-09-16 15:29 ` [PATCH v6 4/6] livepach: Add .livepatch.hooks functions and test-case Konrad Rzeszutek Wilk
2016-09-16 15:29 ` [PATCH v6 5/6] livepatch/tests: Make .livepatch.depends be read-only Konrad Rzeszutek Wilk
2016-09-21 12:47   ` Ross Lagerwall
2016-09-16 15:29 ` [PATCH v6 6/6] livepatch/tests: Move the .name value to .rodata Konrad Rzeszutek Wilk
2016-09-19  9:06   ` Jan Beulich
2016-09-21 12:49   ` Ross Lagerwall

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