[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v7] Livepatch fixes and general features for Xen 4.8.



Hey!

Since v6: [https://lists.xen.org/archives/html/xen-devel/2016-09/msg01719.html]
 - Remade "livepatch: Disallow applying after an revert" to look at sh_size.
 - Added some Reviewed-by/Acks.
 - Added changes as requested.
 - Included a new patch: "livepatch: Drop _jmp from 
arch_livepatch_[apply,revert]_jmp"
 - Commited two patches which were Acked/Reviewed-by.
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 legend is:

 r - Reviewed-by
 a - Acked-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.
   livepatch: Drop _jmp from
r  livepach: Add .livepatch.hooks functions and test-case


Thanks!

The git tree is

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

contains all the following patches (and more):

 MAINTAINERS                         |  1 +
 docs/misc/livepatch.markdown        | 52 ++++++++++++++++++--
 xen/arch/arm/livepatch.c            |  4 +-
 xen/arch/x86/alternative.c          |  2 +-
 xen/arch/x86/livepatch.c            | 52 +++++++++++++-------
 xen/arch/x86/test/xen_hello_world.c | 34 +++++++++++++
 xen/common/livepatch.c              | 95 +++++++++++++++++++++++++++++++++----
 xen/common/livepatch_elf.c          |  7 ++-
 xen/include/asm-x86/alternative.h   |  1 +
 xen/include/asm-x86/livepatch.h     | 21 ++++++++
 xen/include/xen/livepatch.h         | 16 ++++++-
 xen/include/xen/livepatch_payload.h | 49 +++++++++++++++++++
 12 files changed, 298 insertions(+), 36 deletions(-)

Konrad Rzeszutek Wilk (4):
      livepatch: Disallow applying after an revert
      livepatch: Add limit of 2MB to payload .bss sections.
      livepatch: NOP if func->new_addr is zero.
      livepatch: Drop _jmp from arch_livepatch_[apply,revert]_jmp

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


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.