Accepting request 1062651 from Kernel:kdump
OBS-URL: https://build.opensuse.org/request/show/1062651 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=146
This commit is contained in:
commit
db773f41ac
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7ce2e5def38ec04f79feb107d02243dd586fbc68569eccf02f44bad3a13ec07d
|
|
||||||
size 303884
|
|
BIN
kexec-tools-2.0.26.tar.sign
Normal file
BIN
kexec-tools-2.0.26.tar.sign
Normal file
Binary file not shown.
BIN
kexec-tools-2.0.26.tar.xz
(Stored with Git LFS)
Normal file
BIN
kexec-tools-2.0.26.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -39,8 +39,8 @@ index 51439f1..6ee6c30 100644
|
|||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -58,6 +58,9 @@ case $target_cpu in
|
@@ -58,6 +58,9 @@ case $target_cpu in
|
||||||
hppa*)
|
loongarch*)
|
||||||
ARCH="hppa"
|
ARCH="loongarch"
|
||||||
;;
|
;;
|
||||||
+ riscv32|riscv64 )
|
+ riscv32|riscv64 )
|
||||||
+ ARCH="riscv"
|
+ ARCH="riscv"
|
||||||
@ -52,16 +52,14 @@ diff --git a/include/elf.h b/include/elf.h
|
|||||||
index b7677a2..123f167 100644
|
index b7677a2..123f167 100644
|
||||||
--- a/include/elf.h
|
--- a/include/elf.h
|
||||||
+++ b/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_ARC_A5 93 /* ARC Cores Tangent-A5 */
|
||||||
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
#define EM_XTENSA 94 /* Tensilica Xtensa Architecture */
|
||||||
#define EM_AARCH64 183 /* ARM AARCH64 */
|
#define EM_AARCH64 183 /* ARM AARCH64 */
|
||||||
-#define EM_NUM 184
|
|
||||||
+#define EM_RISCV 243 /* RISC-V */
|
+#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
|
diff --git a/kexec/Makefile b/kexec/Makefile
|
||||||
index e69e309..ca17831 100644
|
index e69e309..ca17831 100644
|
||||||
--- a/kexec/Makefile
|
--- a/kexec/Makefile
|
||||||
@ -1471,18 +1469,19 @@ index bea29d4..2e99e2b 100644
|
|||||||
#define KEXEC_ARCH_MIPS ( 8 << 16)
|
#define KEXEC_ARCH_MIPS ( 8 << 16)
|
||||||
#define KEXEC_ARCH_CRIS (76 << 16)
|
#define KEXEC_ARCH_CRIS (76 << 16)
|
||||||
+#define KEXEC_ARCH_RISCV (243 << 16)
|
+#define KEXEC_ARCH_RISCV (243 << 16)
|
||||||
|
#define KEXEC_ARCH_LOONGARCH (258 << 16)
|
||||||
|
|
||||||
#define KEXEC_MAX_SEGMENTS 16
|
#define KEXEC_MAX_SEGMENTS 16
|
||||||
|
@@ -177,6 +178,9 @@ static inline long kexec_file_load(int kernel_fd, int initrd_fd,
|
||||||
@@ -177,5 +178,8 @@ static inline long kexec_file_load(int kernel_fd, int initrd_fd,
|
|
||||||
#if defined(__arm64__)
|
#if defined(__arm64__)
|
||||||
#define KEXEC_ARCH_NATIVE KEXEC_ARCH_ARM64
|
#define KEXEC_ARCH_NATIVE KEXEC_ARCH_ARM64
|
||||||
#endif
|
#endif
|
||||||
+#if defined(__riscv__) || defined(__riscv)
|
+#if defined(__riscv__) || defined(__riscv)
|
||||||
+#define KEXEC_ARCH_NATIVE KEXEC_ARCH_RISCV
|
+#define KEXEC_ARCH_NATIVE KEXEC_ARCH_RISCV
|
||||||
+#endif
|
+#endif
|
||||||
|
#if defined(__loongarch__)
|
||||||
#endif /* KEXEC_SYSCALL_H */
|
#define KEXEC_ARCH_NATIVE KEXEC_ARCH_LOONGARCH
|
||||||
|
#endif
|
||||||
diff --git a/purgatory/Makefile b/purgatory/Makefile
|
diff --git a/purgatory/Makefile b/purgatory/Makefile
|
||||||
index 2dd6c47..0a9d1c1 100644
|
index 2dd6c47..0a9d1c1 100644
|
||||||
--- a/purgatory/Makefile
|
--- a/purgatory/Makefile
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 2 13:45:39 UTC 2023 - Petr Tesařík <petr@tesarici.cz>
|
||||||
|
|
||||||
|
- 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 <lnussel@suse.com>
|
Tue Dec 27 12:37:09 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package kexec-tools
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.25
|
Version: 2.0.26
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for loading replacement kernels into memory
|
Summary: Tools for loading replacement kernels into memory
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
|
Loading…
Reference in New Issue
Block a user