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

From: Yuanhe Shu

Date: Fri Nov 13 2026 - 06:48:33 EST


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