xref: /linux/arch/arm64/include/asm/crash_reserve.h (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1*85fcde40SBaoquan He /* SPDX-License-Identifier: GPL-2.0-only */
2*85fcde40SBaoquan He #ifndef _ARM64_CRASH_RESERVE_H
3*85fcde40SBaoquan He #define _ARM64_CRASH_RESERVE_H
4*85fcde40SBaoquan He 
5*85fcde40SBaoquan He /* Current arm64 boot protocol requires 2MB alignment */
6*85fcde40SBaoquan He #define CRASH_ALIGN                     SZ_2M
7*85fcde40SBaoquan He 
8*85fcde40SBaoquan He #define CRASH_ADDR_LOW_MAX              arm64_dma_phys_limit
9*85fcde40SBaoquan He #define CRASH_ADDR_HIGH_MAX             (PHYS_MASK + 1)
10*85fcde40SBaoquan He #endif
11