All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Livepatch fixes for v4.10 (v2).
@ 2017-07-26 19:47 Konrad Rzeszutek Wilk
  2017-07-26 19:47 ` [PATCH v2 1/5] livepatch: Tighten alignment checks Konrad Rzeszutek Wilk
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: Konrad Rzeszutek Wilk @ 2017-07-26 19:47 UTC (permalink / raw)
  To: xen-devel, julien.grall, sstabellini, andrew.cooper3; +Cc: jbeulich

Since v1 (https://lists.xen.org/archives/html/xen-devel/2017-07/msg01127.html)
 - Redid the patches per review comments,
 - Included fixes for the errant sections causing the crash,
 - Rolled in patch from Ross in this patchset,

Hey,

I've been working towards making the livepatch-build-tools to work
on ARM32 and ARM64 - and as part of this I am sending some patches
that fix issues I saw on ARM 32.

The first two patches had been sent in the past (v1) and the one from Ross
as well.

Patches have been tested on ARM32 (CubieTruck), ARM64 (Hikey 960) and x86
with the livepatch tests:

http://xenbits.xen.org/gitweb/?p=xentesttools/bootstrap.git;a=blob_plain;f=root_image/debugspace/livepatch_test.pl;hb=HEAD

(which is a clone of what OSSTest has but without the OSSTest harness)

ARM32 was cross-compiled on Fedora 26 and Ubuntu Xenial - and the payloads
are now working (while with RELEASE-4.9.0 they would crash thanks to alignment
errors).

Thanks.

Konrad Rzeszutek Wilk (4):
      livepatch: Tighten alignment checks.
      livepatch: Include sizes when an mismatch occurs
      xen/livepatch/ARM32: Don't load and crash on livepatches loaded with wrong alignment.
      alternative/x86/arm32: Align altinstructions (and altinstr_replacement) sections.

Ross Lagerwall (1):
      livepatch: Declare live patching as a supported feature

 docs/features/livepatch.pandoc    | 103 ++++++++++++++++++++++++++++++++++++++
 docs/misc/livepatch.markdown      |   6 ++-
 xen/arch/arm/arm32/livepatch.c    |  15 ++++++
 xen/arch/arm/arm64/livepatch.c    |   6 +++
 xen/arch/x86/livepatch.c          |   6 +++
 xen/common/Kconfig                |   4 +-
 xen/common/livepatch.c            |  62 ++++++++++++++---------
 xen/common/livepatch_elf.c        |  13 +++++
 xen/include/asm-arm/alternative.h |   4 ++
 xen/include/asm-x86/alternative.h |   2 +
 xen/include/xen/elfstructs.h      |   2 +
 xen/include/xen/livepatch.h       |   1 +
 12 files changed, 196 insertions(+), 28 deletions(-)




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

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

end of thread, other threads:[~2017-09-20 15:51 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 19:47 [PATCH v2] Livepatch fixes for v4.10 (v2) Konrad Rzeszutek Wilk
2017-07-26 19:47 ` [PATCH v2 1/5] livepatch: Tighten alignment checks Konrad Rzeszutek Wilk
2017-07-31 13:46   ` Jan Beulich
2017-07-26 19:47 ` [PATCH v2 2/5] livepatch: Include sizes when an mismatch occurs Konrad Rzeszutek Wilk
2017-07-31 13:51   ` Jan Beulich
2017-07-26 19:47 ` [PATCH v2 3/5] xen/livepatch/ARM32: Don't load and crash on livepatches loaded with wrong alignment Konrad Rzeszutek Wilk
2017-07-26 22:27   ` Andrew Cooper
2017-07-31 13:55   ` Jan Beulich
2017-07-31 16:04     ` Konrad Rzeszutek Wilk
2017-08-02  9:20       ` Jan Beulich
2017-09-07 17:36         ` Konrad Rzeszutek Wilk
2017-09-08  9:30           ` Jan Beulich
2017-09-09 12:05             ` Konrad Rzeszutek Wilk
2017-09-11  9:01               ` Jan Beulich
2017-09-12  0:22                 ` Konrad Rzeszutek Wilk
2017-09-12  8:57                   ` Jan Beulich
2017-09-18 19:37                     ` Konrad Rzeszutek Wilk
2017-09-19 15:04                       ` Jan Beulich
2017-09-20 15:12                         ` Konrad Rzeszutek Wilk
2017-09-20 15:51                           ` Jan Beulich
2017-07-26 19:47 ` [PATCH v2 4/5] alternative/x86/arm32: Align altinstructions (and altinstr_replacement) sections Konrad Rzeszutek Wilk
2017-07-31 14:01   ` Jan Beulich
2017-09-11 18:59     ` Konrad Rzeszutek Wilk
2017-07-26 19:47 ` [PATCH v2 5/5] livepatch: Declare live patching as a supported feature Konrad Rzeszutek Wilk
2017-07-31 14:03   ` 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.