Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH v4 5/5] RISC-V: Add crash kernel support | Date | Mon, 30 Oct 2023 11:44:56 +0100 |
| |
On Apr 19 2021, Nick Kossifidis wrote:
> @@ -605,6 +606,18 @@ static void __init reserve_crashkernel(void) > > int ret = 0; > > + /* > + * Don't reserve a region for a crash kernel on a crash kernel > + * since it doesn't make much sense and we have limited memory > + * resources. > + */ > +#ifdef CONFIG_CRASH_DUMP > + if (is_kdump_kernel()) { > + pr_info("crashkernel: ignoring reservation request\n"); > + return; > + } > +#endif > +
Why is this necessary? It breaks https://github.com/openSUSE/kdump/tree/master/calibrate which wants to run the kernel with both elfcorehdr and crashkernel.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
| |