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

Yuanhe Shu xiangzao at linux.alibaba.com
Fri Nov 13 00:20:36 PST 2026


On 11/13/26 06:19, Borislav Petkov wrote:
> I don't think you even read my mail.

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?

--
Yuanhe



More information about the kexec mailing list