arm-kdump-advertise-boot-aliased-crash-kernel-resource.patch removed from -mm tree
The patch titled
Subject: ARM: kdump: advertise boot aliased crash kernel resource
has been removed from the -mm tree. Its filename was
arm-kdump-advertise-boot-aliased-crash-kernel-resource.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Russell King <[email protected]>
Subject: ARM: kdump: advertise boot aliased crash kernel resource
Advertise a resource which describes where the crash kernel is located in the boot view of RAM. This allows kexec-tools to have this vital information.
Signed-off-by Russell King <[email protected]>
Cc Baoquan He <[email protected]>
Cc Keerthy <[email protected]>
Cc Pratyush Anand <[email protected]>
Cc Vitaly Andrianov <[email protected]>
Cc Eric Biederman <[email protected]>
Cc Dave Young <[email protected]>
Cc Vivek Goyal <[email protected]>
Cc Simon Horman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/arm/kernel/setup.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/kernel/setup.c renamed from arch/arm/kernel/setup.c~arm-kdump-advertise-boot-aliased-crash-kernel-resource +16 -0
@@ -1000,9 +1000,25 @@ static void __init reserve_crashkernel(v (unsigned long )(crash_base >>20 ), (unsigned long)(total_mem >> 20)); +/* The crashk resource must always be located in normal mem */ crashk_res.start = crash_base; crashk_res.end = crash_base + crash_size -1 ;insert_resource (&iomem_resource, &crashk_res); + +if (arm_has_idmap_alias ()) { +/* +* If we have a special RAM alias for use at boot, we +* need to advertise to kexec tools where the alias is. +*/ +static struct resource crashk_boot_res = { + .name ="Crash kernel (boot alias)" , + .flags =IORESOURCE_BUSY |IORESOURCE_MEM , + }; + + crashk_boot_res.start =phys_to_idmap (crash_base); + crashk_boot_res.end = crashk_boot_res.start + crash_size -1 ; +insert_resource (&iomem_resource, &crashk_boot_res); + } }#else static inline void reserve_crashkernel (void ) {}
_
Patches currently in -mm which might be from [email protected] are