mbox series

[0/4] kexec support for PARISC

Message ID 20190908093306.31455-1-svens@stackframe.org (mailing list archive)
Headers show
Series kexec support for PARISC | expand

Message

Sven Schnelle Sept. 8, 2019, 9:33 a.m. UTC
Hi,

this series adds support for the kexec syscalls to the PARISC architecture.
Note that kexec() on PA8800/PA8900 doesn't work yet as i haven't figured
out how to restart the CPUs on these systems.

For testing you can use my patched kexec-tools:

https://git.stackframe.org/cgit/kexec-tools/log/

I will submit these patches as soon as kexec is merged into the linux
kernel.

Thanks,
Sven

Sven Schnelle (4):
  parisc: add __pdc_cpu_rendezvous()
  parisc: add kexec syscall support
  parisc: wire up kexec_file_load syscall
  parisc: add support for kexec_file_load() syscall

 arch/parisc/Kconfig                     |  23 ++++
 arch/parisc/include/asm/fixmap.h        |   1 +
 arch/parisc/include/asm/kexec.h         |  37 ++++++
 arch/parisc/include/asm/pdc.h           |   1 +
 arch/parisc/kernel/Makefile             |   2 +
 arch/parisc/kernel/firmware.c           |  13 +++
 arch/parisc/kernel/kexec.c              | 109 +++++++++++++++++
 arch/parisc/kernel/kexec_file.c         |  86 ++++++++++++++
 arch/parisc/kernel/relocate_kernel.S    | 149 ++++++++++++++++++++++++
 arch/parisc/kernel/smp.c                |   1 +
 arch/parisc/kernel/syscalls/syscall.tbl |   3 +-
 include/uapi/linux/kexec.h              |   1 +
 12 files changed, 425 insertions(+), 1 deletion(-)
 create mode 100644 arch/parisc/include/asm/kexec.h
 create mode 100644 arch/parisc/kernel/kexec.c
 create mode 100644 arch/parisc/kernel/kexec_file.c
 create mode 100644 arch/parisc/kernel/relocate_kernel.S

Comments

Helge Deller Sept. 8, 2019, 1:45 p.m. UTC | #1
On 08.09.19 11:33, Sven Schnelle wrote:
> this series adds support for the kexec syscalls to the PARISC architecture.
> Note that kexec() on PA8800/PA8900 doesn't work yet as i haven't figured
> out how to restart the CPUs on these systems.
>
> For testing you can use my patched kexec-tools:
>
> https://git.stackframe.org/cgit/kexec-tools/log/
>
> I will submit these patches as soon as kexec is merged into the linux
> kernel.


Thanks!
Patch series applied to the parisc for-next tree:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next

Helge

>
> Thanks,
> Sven
>
> Sven Schnelle (4):
>   parisc: add __pdc_cpu_rendezvous()
>   parisc: add kexec syscall support
>   parisc: wire up kexec_file_load syscall
>   parisc: add support for kexec_file_load() syscall
>
>  arch/parisc/Kconfig                     |  23 ++++
>  arch/parisc/include/asm/fixmap.h        |   1 +
>  arch/parisc/include/asm/kexec.h         |  37 ++++++
>  arch/parisc/include/asm/pdc.h           |   1 +
>  arch/parisc/kernel/Makefile             |   2 +
>  arch/parisc/kernel/firmware.c           |  13 +++
>  arch/parisc/kernel/kexec.c              | 109 +++++++++++++++++
>  arch/parisc/kernel/kexec_file.c         |  86 ++++++++++++++
>  arch/parisc/kernel/relocate_kernel.S    | 149 ++++++++++++++++++++++++
>  arch/parisc/kernel/smp.c                |   1 +
>  arch/parisc/kernel/syscalls/syscall.tbl |   3 +-
>  include/uapi/linux/kexec.h              |   1 +
>  12 files changed, 425 insertions(+), 1 deletion(-)
>  create mode 100644 arch/parisc/include/asm/kexec.h
>  create mode 100644 arch/parisc/kernel/kexec.c
>  create mode 100644 arch/parisc/kernel/kexec_file.c
>  create mode 100644 arch/parisc/kernel/relocate_kernel.S
>
Helge Deller Sept. 17, 2019, 2:39 p.m. UTC | #2
Hi Sven,

On 08.09.19 15:45, Helge Deller wrote:
> On 08.09.19 11:33, Sven Schnelle wrote:
>> this series adds support for the kexec syscalls to the PARISC architecture.
>> ....
>> For testing you can use my patched kexec-tools:
>> https://git.stackframe.org/cgit/kexec-tools/log/
>>
>> I will submit these patches as soon as kexec is merged into the linux kernel.

All kexec patches have been merged upstream and will be part
of kernel v5.4.
So, you may now push your patches to userspace kexec-tools
upstream too.

Thanks!
Helge