Re: [PATCH v10 3/6] x86/sev: Disable CPU hotplug while SNP is active

From: Borislav Petkov

Date: Thu Jul 23 2026 - 16:11:49 EST


On Thu, Jul 23, 2026 at 02:44:47PM -0500, Kalra, Ashish wrote:
> Actually, i will have to remove cpus_read_lock()/unlock() across the whole
> patch series and also in the original code.

You need to do that in the same patch which adds the hotplug disable so that
there's no hole in hotplug handling when bisecting.

Make sure to explain why you're doing that in the commit message.

Thx.

--
Regards/Gruss,
Boris.

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