34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
This patch is an adaptation of OL7 similar patch for aarch64
|
|
|
|
arm64: skip memory integrity checks in purgatory
|
|
|
|
This takes place with caches disabled and can be very slow on arm64.
|
|
|
|
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
|
|
|
|
Patch migrated from ol8 to ol9 without any modification
|
|
Signed-off-by: Darren Archibald <darren.archibald@oracle.com>
|
|
--- kdumpctl.old 2020-11-05 01:29:19.000000000 -0800
|
|
+++ kdumpctl 2020-11-05 01:39:56.986731735 -0800
|
|
@@ -18,6 +18,7 @@
|
|
#kdump shall be the default dump mode
|
|
DEFAULT_DUMP_MODE="kdump"
|
|
image_time=0
|
|
+ARCH=$(uname -m)
|
|
|
|
[[ $dracutbasedir ]] || dracutbasedir=/usr/lib/dracut
|
|
. $dracutbasedir/dracut-functions.sh
|
|
@@ -687,6 +688,12 @@
|
|
KEXEC_ARGS=$(prepare_kexec_args "${KEXEC_ARGS}")
|
|
KDUMP_COMMANDLINE=$(prepare_cmdline "${KDUMP_COMMANDLINE}" "${KDUMP_COMMANDLINE_REMOVE}" "${KDUMP_COMMANDLINE_APPEND}")
|
|
|
|
+ # arm64: skip memory integrity checks in purgatory
|
|
+ if [ "$ARCH" == "aarch64" ]
|
|
+ then
|
|
+ KEXEC_ARGS="$KEXEC_ARGS --no-checks"
|
|
+ fi
|
|
+
|
|
# For secureboot enabled machines, use new kexec file based syscall.
|
|
# Old syscall will always fail as it does not have capability to
|
|
# to kernel signature verification.
|