xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5] Livepatch fixes and general features for Xen 4.8.
@ 2016-09-11 15:48 Konrad Rzeszutek Wilk
  2016-09-11 15:48 ` [PATCH v5 1/4] livepatch/docs: Document .bss not being cleared, and .data potentially having changed values Konrad Rzeszutek Wilk
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Konrad Rzeszutek Wilk @ 2016-09-11 15:48 UTC (permalink / raw)
  To: xen-devel, konrad, ross.lagerwall; +Cc: andrew.cooper3

Hey!

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

The first two deal with .bss and replace the "livepatch: Clear .bss when
payload is reverted" which was posted in v4:

 [PATCH v5 1/4] livepatch/docs: Document .bss not being cleared, and
 [PATCH v5 2/4] livepatch: Add limit of 2MB to payload .bss sections.

The NOP patching mechanism is updated per Jan's thinking:
 [PATCH v5 3/4] livepatch: NOP if func->new_addr is zero.

And the last one was slighty changed since the Review done in v4 (ditched
the BUG_ON test-case as .bss can have old values) so will need one more review.
 [PATCH v5 4/4] livepach: Add .livepatch.hooks functions and test-case

Thanks!

The git tree `

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

contains all the following patches (and more):

Konrad Rzeszutek Wilk (3):
      livepatch/docs: Document .bss not being cleared, and .data potentially having changed values
      livepatch: Add limit of 2MB to payload .bss sections.
      livepatch: NOP if func->new_addr is zero.

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

 docs/misc/livepatch.markdown        | 36 +++++++++++++++++++++++--
 xen/arch/x86/alternative.c          |  2 +-
 xen/arch/x86/livepatch.c            | 38 +++++++++++++++++---------
 xen/arch/x86/test/xen_hello_world.c | 30 +++++++++++++++++++++
 xen/common/livepatch.c              | 53 +++++++++++++++++++++++++++++++++++--
 xen/common/livepatch_elf.c          | 10 ++++++-
 xen/include/asm-x86/alternative.h   |  1 +
 xen/include/asm-x86/livepatch.h     | 21 +++++++++++++++
 xen/include/xen/livepatch.h         |  9 +++++++
 xen/include/xen/livepatch_payload.h | 49 ++++++++++++++++++++++++++++++++++
 10 files changed, 230 insertions(+), 19 deletions(-)

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

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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-11 15:48 [PATCH v5] Livepatch fixes and general features for Xen 4.8 Konrad Rzeszutek Wilk
2016-09-11 15:48 ` [PATCH v5 1/4] livepatch/docs: Document .bss not being cleared, and .data potentially having changed values Konrad Rzeszutek Wilk
2016-09-12  7:49   ` Jan Beulich
2016-09-13 15:59     ` Konrad Rzeszutek Wilk
2016-09-13 16:12       ` Jan Beulich
2016-09-11 15:48 ` [PATCH v5 2/4] livepatch: Add limit of 2MB to payload .bss sections Konrad Rzeszutek Wilk
2016-09-12  7:56   ` Jan Beulich
2016-09-13 16:04   ` Ross Lagerwall
2016-09-11 15:48 ` [PATCH v5 3/4] livepatch: NOP if func->new_addr is zero Konrad Rzeszutek Wilk
2016-09-12  8:04   ` Jan Beulich
2016-09-11 15:48 ` [PATCH v5 4/4] livepach: Add .livepatch.hooks functions and test-case Konrad Rzeszutek Wilk

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