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

Borislav Petkov bp at alien8.de
Fri Nov 13 15:41:04 PST 2026


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@intel.com

and no more.

-- 
Regards/Gruss,
    Boris.

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



More information about the kexec mailing list