Lines Matching +full:used +full:- +full:by +full:- +full:rtas
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Routines for doing kexec-based kdump.
7 * Created by: Michael Ellerman
16 #include <asm/code-patching.h>
20 #include <asm/rtas.h>
42 * instruction's address + (32 MB - 4) bytes. For the trampoline we in create_trampoline()
45 * does a branch to (32 MB - 4). The net effect is that when we in create_trampoline()
57 DBG(" -> setup_kdump_trampoline()\n"); in setup_kdump_trampoline()
64 create_trampoline(__pa(system_reset_fwnmi) - PHYSICAL_START); in setup_kdump_trampoline()
65 create_trampoline(__pa(machine_check_fwnmi) - PHYSICAL_START); in setup_kdump_trampoline()
68 DBG(" <- setup_kdump_trampoline()\n"); in setup_kdump_trampoline()
97 * Return true only when kexec based kernel dump capturing method is used.
109 * The crashkernel region will almost always overlap the RTAS region, so
118 basep = of_get_property(rtas.dev, "linux,rtas-base", NULL); in crash_free_reserved_phys_range()
119 sizep = of_get_property(rtas.dev, "rtas-size", NULL); in crash_free_reserved_phys_range()
127 /* Does this page overlap with the RTAS region? */ in crash_free_reserved_phys_range()