[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v6] Livepatch fixes and general features for Xen4.8.
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@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |