Re: [PATCH v2] x86/crash: Disable SGX in the kdump kernel

From: Borislav Petkov

Date: Fri Nov 13 2026 - 18:41:36 EST


On Fri, Nov 13, 2026 at 04:20:36PM +0800, Yuanhe Shu wrote:
> Sorry, I misunderstood your point - language and my reading
> comprehension got in the way.
>
> Based on the v1 review and your feedback, my proposed approach is a
> small kdump_disable_features() in the x86 kdump code that checks
> is_kdump_kernel() and clears the cap, called from setup_arch() after
> parse_early_param(). This keeps the disable in x86 kdump code without
> a parameter hook. Does that work for you?

You should do what Dave told you:

https://lore.kernel.org/all/f20043bc-87a1-4ce3-89aa-49fa1f2ff092@xxxxxxxxx

and no more.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette