aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/include/asm/crash_reserve.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/crash_reserve.h')
-rw-r--r--arch/arm64/include/asm/crash_reserve.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/crash_reserve.h b/arch/arm64/include/asm/crash_reserve.h
new file mode 100644
index 000000000000..4afe027a4e7b
--- /dev/null
+++ b/arch/arm64/include/asm/crash_reserve.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef _ARM64_CRASH_RESERVE_H
+#define _ARM64_CRASH_RESERVE_H
+
+/* Current arm64 boot protocol requires 2MB alignment */
+#define CRASH_ALIGN SZ_2M
+
+#define CRASH_ADDR_LOW_MAX arm64_dma_phys_limit
+#define CRASH_ADDR_HIGH_MAX (PHYS_MASK + 1)
+#endif