From 21909bf56755145903ab5a672690148ddf2c06df1c05829283a53e64e0a8bc5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Tesa=C5=99=C3=ADk?= Date: Thu, 2 Feb 2023 13:57:49 +0000 Subject: [PATCH] Accepting request 1062649 from home:ptesarik:branches:Kernel:kdump - update to 2.0.26: * m68k: pass rng seed via BI_RNG_SEED * workflow: update to checkout@v3 * LoongArch: Remove redundant cmdline parameters when using --reuse-cmdline option * LoongArch: Add purgatory framework code * LoongArch: PE format image loading support * LoongArch: Add kexec/kdump support * config: Add LoongArch architecture support in config.guess and config.sub files * ppc64: remove rma_top limit - refresh kexec-tools-riscv64.patch. OBS-URL: https://build.opensuse.org/request/show/1062649 OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=151 --- kexec-tools-2.0.25.tar.sign | Bin 566 -> 0 bytes kexec-tools-2.0.25.tar.xz | 3 --- kexec-tools-2.0.26.tar.sign | Bin 0 -> 566 bytes kexec-tools-2.0.26.tar.xz | 3 +++ kexec-tools-riscv64.patch | 21 ++++++++++----------- kexec-tools.changes | 14 ++++++++++++++ kexec-tools.spec | 4 ++-- 7 files changed, 29 insertions(+), 16 deletions(-) delete mode 100644 kexec-tools-2.0.25.tar.sign delete mode 100644 kexec-tools-2.0.25.tar.xz create mode 100644 kexec-tools-2.0.26.tar.sign create mode 100644 kexec-tools-2.0.26.tar.xz diff --git a/kexec-tools-2.0.25.tar.sign b/kexec-tools-2.0.25.tar.sign deleted file mode 100644 index 0f210c7f7699deb1e5fb74d8e4dc6c59a4baaf69ed940cbe8c18edcd9301e181..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j-UeA%J(tiu0G{&I!a&tz$8H&4C=0%GPP&;SYv5ZBLS zX=*o5zB_Rb`vtY7`C!RajDCg@o3PiBbNw{4`RW~)HQdm&{K#*0FDFpSl%=<^qD4>W zMxqwk0pD@JBB6hPxdT3;01}lGYU}xWzxo>J&VTEwwlNl|Wc!_f7&x7;Vt2MU3_YZ~ z>NIVRU&kM3OjbWm9i2|vGwvt~F4^~|uEwNQUPbS7bu{fG_T|JZBU%gZaAc%bn(86q zfPA21AajA3lmBjL%?w!UCq7$h6!^T3-7Z3Ix#5uz^f&(>VTC0S2|}D5*Xl6wC-*Ry1gO#4}Y}=@xGym!|MUk0c6v0+lXII zA{rY6FmwM^c>?ah7~sHu=bP*H@9S?{U{s;@PgOxi_+1z)=R1Z99j_pT6gc;S&Vly( zTTK-4VaDZ$KtLgMe1kz5u7ltWjZ0f6qSLq_#A($xs$pf8ADhIu#;}6EdJ}MZOmO5y zh^@?sP#tllA`2hMn8=NkfbJDP2IlSq4n)(u57Jy+d0|s^kS& zl9S)YrGzSvLu|@8tb?5<+*aW_?fv7zlV*N_`q&OR$!#R?`(tZRGb(S% z5+gT8mb=hOkcmT4MHhJYx0Ey@uN1lve1*~3#f;?jUgjgsgxznB!fsuK>SP-EUsj6g z0{=^#T^JLb>@`D(>ez1Et(_|W=xdV^Hg_U@uJ1iaIc4x3Eomg+v;L`6SIy59wSN$J)%CkzF z8mEVb6EJqagkkS>QX?ZkI6y^EKmsHR0X@|U<*A{-X9Iy@xMgAJw+binROpoDe;_Mj zLYFv)cs4Wy^CjcRus@3)P7*TF%wt!?Hjvb*YiE|AODrl*%s)~)?h z#|iQ}KSRmx$_AdES=;qGEH$NkKN$q+~{smYaa9K);Ej4fLzZ_RRr@ Ec}lYql>h($ literal 0 HcmV?d00001 diff --git a/kexec-tools-2.0.26.tar.xz b/kexec-tools-2.0.26.tar.xz new file mode 100644 index 0000000..949abda --- /dev/null +++ b/kexec-tools-2.0.26.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fe36a064101cd5c515e41b2be393dce3ca88adce59d6ee668e0af7c0c4570cd +size 306264 diff --git a/kexec-tools-riscv64.patch b/kexec-tools-riscv64.patch index e23b75c..d232420 100644 --- a/kexec-tools-riscv64.patch +++ b/kexec-tools-riscv64.patch @@ -39,8 +39,8 @@ index 51439f1..6ee6c30 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,9 @@ case $target_cpu in - hppa*) - ARCH="hppa" + loongarch*) + ARCH="loongarch" ;; + riscv32|riscv64 ) + ARCH="riscv" @@ -52,16 +52,14 @@ diff --git a/include/elf.h b/include/elf.h index b7677a2..123f167 100644 --- a/include/elf.h +++ b/include/elf.h -@@ -259,7 +259,8 @@ typedef struct +@@ -259,6 +259,7 @@ typedef struct #define EM_ARC_A5 93 /* ARC Cores Tangent-A5 */ #define EM_XTENSA 94 /* Tensilica Xtensa Architecture */ #define EM_AARCH64 183 /* ARM AARCH64 */ --#define EM_NUM 184 +#define EM_RISCV 243 /* RISC-V */ -+#define EM_NUM 244 + #define EM_LOONGARCH 258 /* Loongson Loongarch*/ + #define EM_NUM 184 - /* If it is necessary to assign new unofficial EM_* values, please - pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the diff --git a/kexec/Makefile b/kexec/Makefile index e69e309..ca17831 100644 --- a/kexec/Makefile @@ -1471,18 +1469,19 @@ index bea29d4..2e99e2b 100644 #define KEXEC_ARCH_MIPS ( 8 << 16) #define KEXEC_ARCH_CRIS (76 << 16) +#define KEXEC_ARCH_RISCV (243 << 16) + #define KEXEC_ARCH_LOONGARCH (258 << 16) #define KEXEC_MAX_SEGMENTS 16 - -@@ -177,5 +178,8 @@ static inline long kexec_file_load(int kernel_fd, int initrd_fd, +@@ -177,6 +178,9 @@ static inline long kexec_file_load(int kernel_fd, int initrd_fd, #if defined(__arm64__) #define KEXEC_ARCH_NATIVE KEXEC_ARCH_ARM64 #endif +#if defined(__riscv__) || defined(__riscv) +#define KEXEC_ARCH_NATIVE KEXEC_ARCH_RISCV +#endif - - #endif /* KEXEC_SYSCALL_H */ + #if defined(__loongarch__) + #define KEXEC_ARCH_NATIVE KEXEC_ARCH_LOONGARCH + #endif diff --git a/purgatory/Makefile b/purgatory/Makefile index 2dd6c47..0a9d1c1 100644 --- a/purgatory/Makefile diff --git a/kexec-tools.changes b/kexec-tools.changes index a156ad6..eb5e8e8 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Feb 2 13:45:39 UTC 2023 - Petr Tesařík + +- update to 2.0.26: + * m68k: pass rng seed via BI_RNG_SEED + * workflow: update to checkout@v3 + * LoongArch: Remove redundant cmdline parameters when using --reuse-cmdline option + * LoongArch: Add purgatory framework code + * LoongArch: PE format image loading support + * LoongArch: Add kexec/kdump support + * config: Add LoongArch architecture support in config.guess and config.sub files + * ppc64: remove rma_top limit +- refresh kexec-tools-riscv64.patch. + ------------------------------------------------------------------- Tue Dec 27 12:37:09 UTC 2022 - Ludwig Nussel diff --git a/kexec-tools.spec b/kexec-tools.spec index b39dc3f..28fb07d 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,7 +1,7 @@ # # spec file for package kexec-tools # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: kexec-tools -Version: 2.0.25 +Version: 2.0.26 Release: 0 Summary: Tools for loading replacement kernels into memory License: GPL-2.0-or-later