Re: [PATCH v3 2/2] x86/sev: Add support to unaccept memory after hot-remove
From: Dave Hansen
Date: Thu Jan 29 2026 - 12:40:08 EST
On 1/29/26 09:32, Pratik R. Sampat wrote:
> In that case a fall through for TDX (with a comment explaining why) and
> panic for rest may be the way to go?
No. panic() is an absolute last resort. It's almost never the way to go.
What else can we do to ensure we never reach this code if the platform
doesn't support memory un-acceptance?