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

From: Borislav Petkov

Date: Thu Nov 12 2026 - 23:30:51 EST


On Fri, Nov 13, 2026 at 11:50:19AM +0800, Yuanhe Shu wrote:
> Clear X86_FEATURE_SGX from an x86 early handler for elfcorehdr=, which

First of all this cmdline param naming is maximally unintuitive and why does
it even exist in the first place?

In case some user decides at kdump load time to disable sgx?

When do distros normally load kdump kernels? During boot?

So it is probably a script doing that.

So no user is even going to pay attention to this param or even know of its
existence.

And how does an init script know that the kdump kernel should not dump EPC
mem?

Do you catch my drift here?

--
Regards/Gruss,
Boris.

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