Skip to content

RFC Various fixes for purgatory and ARM64

Pratyush Anand kexec 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6purgatory: Fix memcmp for src address incrementpurgatory/string.c+2 -04 replies
2/6purgatory: No need to sha256 update if ptr->len is zeropurgatory/purgatory.c+2 -04 replies
3/6arm64: allocate memory for other segments after kernelkexec/arch/arm64/crashdump-arm64.c+2 -15 replies
4/6arm64: support reuse-cmdline optionkexec/arch/arm64/include/arch/options.h kexec/arch/arm64/kexec-arm64.c+12 -31 reply
5/6arm64: Add support for binary imagekexec/arch/arm64/crashdump-arm64.h kexec/arch/arm64/include/arch/options.h kexec/arch/arm64/kexec-arm64.c +2 more+63 -77 replies
6/6arm64: wait for transmit completion before next character transmissionkexec/arch/arm64/include/arch/options.h kexec/arch/arm64/kexec-arm64.c purgatory/arch/arm64/entry.S +1 more+57 -26 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchGeoff Levand
1/6A-b
2/6A-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH RFC 0/6] Various fixes for purgatory and ARM64

These patches can be applied on top of Geoff's Kexec [1] and Takahiro's Kdump [2] patches and are available in my tree [3].

First two patches are for purgatory. 1st patch is a very important fix for sha verification. 2nd patch is good to have.

Rest all patches are fixes and addon for ARM64.

These patchset adds three extra command line options for ARM64.

--page-offset: Needed for binary image only. Default value is
0xfffffe0000000000.

--port-lsr: It is UART's Line status register address. Normally for a
UART based on 8250, 16450 or 16550 should have value as --port's value + 0x14.

--port-lsr-val: It is the SET value of LSR register for TX buffer to be
empty. Normally for above UARTs it should be 0x60

[1] git://git.kernel.org/pub/scm/linux/kernel/git/geoff/kexec-tools.git
: master
[2] git://git.linaro.org/people/takahiro.akashi/kexec-tools.git :
kdump/v0.10
[3] https://github.com/pratyushanand/kexec-tools.git : master (6c8a63f701e9)

Pratyush Anand (6):
purgatory: Fix memcmp for src address increment
purgatory: No need to sha256 update if ptr->len is zero
arm64: allocate memory for other segments after kernel
arm64: support reuse-cmdline option
arm64: Add support for binary image
arm64: wait for transmit completion before next character transmission

 kexec/arch/arm64/crashdump-arm64.c      |  3 +-
 kexec/arch/arm64/crashdump-arm64.h      |  1 +
 kexec/arch/arm64/include/arch/options.h | 21 +++++++++++--
 kexec/arch/arm64/kexec-arm64.c          | 28 ++++++++++++++++-
 kexec/arch/arm64/kexec-arm64.h          |  2 ++
 kexec/arch/arm64/kexec-image-arm64.c    | 54 ++++++++++++++++++++++++++++++---
 purgatory/arch/arm64/entry.S            | 10 ++++++
 purgatory/arch/arm64/purgatory-arm64.c  | 22 +++++++++++++-
 purgatory/purgatory.c                   |  2 ++
 purgatory/string.c                      |  2 ++
 10 files changed, 135 insertions(+), 10 deletions(-)
Signature · 7 lines
2.1.0


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec