Re: [PATCH v3 0/5] RISC-V: Add kexec/kdump support

Rob Herring
2021-04-07T16:29:50Z

On Mon, Apr 05, 2021 at 11:57:07AM +0300, Nick Kossifidis wrote:
> This patch series adds kexec/kdump and crash kernel
> support on RISC-V. For testing the patches a patched
> version of kexec-tools is needed (still a work in
> progress) which can be found at:
>
> https://riscv.ics.forth.gr/kexec-tools-patched.tar.xz
>
> v3:
> * Rebase on newer kernel tree
> * Minor cleanups
> * Split UAPI changes to a separate patch
> * Improve / cleanup init_resources
> * Resolve Palmer's comments
>
> v2:
> * Rebase on newer kernel tree
> * Minor cleanups
> * Properly populate the ioresources tre, so that it
> can be used later on for implementing strict /dev/mem
> * Use linux,usable-memory on /memory instead of a new binding

Where? In any case, that's not going to work well with EFI support
assuming like arm64, 'memory' is passed in UEFI structures instead of
DT. That's why there's now a /chosen linux,usable-memory-ranges
property.

Isn't the preferred kexec interface the file based interface? I'd
expect a new arch to only support that. And there's common kexec DT
handling for that pending for 5.13.

Rob