From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D0AF2C326D for ; Tue, 7 Apr 2026 18:21:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775586098; cv=none; b=VpFFVRmT7rPX30fuFrmWgttSTL90/zuohzPq5r3zyicgYhfVN6x/TpBYCM3SEF3OED6HY0vBSq9zpayQV63z3Cs/tTvS8fqnQ8hz3jdMlNBBQtbB9k7EiyG5gmNUsl2i5arcFZ11gA0YLwMvwvtP17XhTgP/+BloiK902/1IE60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775586098; c=relaxed/simple; bh=cNG5rL3dDRxPLhf+AACoCVJhDq+QeKTcux5ursLDaD4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=LZUqqRMbQtFnAiqLQvwortjp1vrou2cX5kLNNobLSpRonoKpVPs+DYU1Jkf9V9z0GCB99AcxgoR6job/1vWmMmwxTyTeEUg4BCtgy4ntI08QM4KzlCxsaz+yKJQf7i5sF0n8F5jslV/nKBSVvUuTR1XC1q6sJR367NcBu8oEuNM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=hP4r3Mc7; arc=none smtp.client-ip=209.85.215.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="hP4r3Mc7" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-c76b06f37a7so2012258a12.0 for ; Tue, 07 Apr 2026 11:21:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1775586096; x=1776190896; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=quW+CKXHXogXGxCCnQqcA4P+X4VGz9VRPN6lHbJRyAI=; b=hP4r3Mc7fYLzDvNJlbahG35SSHi5/GbyUzUC9L5gLwh7h6uMNZ742SDtdb3rqe6xya iYkdi0DxUBvdvrllOYGU+jxVxJGSmB9BIk/q6AfV7u3yufP3hl9k7uhdvUjwCIjvyEpE gN+BAevAhlyPLfQtdRMstkmWDmhnJKSkkP3tCWjidAn2THzlD9cfeAI+r39XXanoq41n +kWY3JtRRJBeol6lyQpYfR66IbIY7SObcEftCY4lJ0ApNkkyKy0BVCo7YsiFEzEyiTl3 5kge/QZ8T24eRcUgh/1pdqaZTZ/SDxn51hLlzsUvJp2hJ+79fBYqOq+RLrVTrQB6ZS/G QW5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775586096; x=1776190896; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=quW+CKXHXogXGxCCnQqcA4P+X4VGz9VRPN6lHbJRyAI=; b=njl0dSOKDWnmt1IG6nAzKmpInt3zLXwKLR+NY5IgUx4vH7qrc3TdvugB6U1rdtLnVK nmnaDa8bSwK/B+DJKX84MmrMtTT9uWbOP5xssfUAFIt8WmOV/cATrZFy1eutJ2Q940s/ upyLXWU2xMyW1oRLKR9qU1X+Y89ETfVywgef6dX4H2mzq8tBAOBbKhQoYPzosIV8DLYO vhagad6M5EmMfNBCGB0F1HKHqTI4B2e6w7cCyHR1ap1xX479+lu+XFXKO0x8O9pSZFia rVIAytC94yvnbLUghp2i3bWJrl/3OjMsflIa7ByoN5zqEOTjXV6Y2zqosJ9D0oWilRUc I0HA== X-Forwarded-Encrypted: i=1; AJvYcCXagy4R+JvT1PmXHcqp0736nAic12Zp5ndUGPv0OsqP82wTiWeEz6r3zEdNSnvPZzokY6z1NxxNACJ96OI=@vger.kernel.org X-Gm-Message-State: AOJu0YxnkJXQqpMZ8Bcd/PhChFGXA9gIk7Xys2TUd3CZ9L4DX3UihANX l5che7iRTDDZX5N5hCLaJCgUiP0VHzGS+HCoG8UFzoZalqNXPJW4lQw5G6yHgMpylPXMvvYuhRq NfCZyKg== X-Received: from pgbdo2.prod.google.com ([2002:a05:6a02:e82:b0:c73:fc44:8ba7]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:3d8b:b0:39b:949d:6078 with SMTP id adf61e73a8af0-39f2ed105f1mr20018287637.6.1775586096240; Tue, 07 Apr 2026 11:21:36 -0700 (PDT) Date: Tue, 7 Apr 2026 11:21:35 -0700 In-Reply-To: <53f20505-df88-4311-8bbe-8f0fd3012b4d@amd.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <647abba4-8d47-44b0-9e11-b3f1d04c408c@amd.com> <2723ab8b-8fad-469d-9ef2-918358953b16@amd.com> <524fc5dd-e06b-4857-82e7-f0a969966bc9@amd.com> <53f20505-df88-4311-8bbe-8f0fd3012b4d@amd.com> Message-ID: Subject: Re: SEV-ES guest shutdown: linux-next regression with QEMU 10.2.2; smp>1 From: Sean Christopherson To: Srikanth Aithal Cc: Tom Lendacky , Paolo Bonzini , open list , KVM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 07, 2026, Srikanth Aithal wrote: > On 4/1/2026 9:48 PM, Sean Christopherson wrote: > > > - With older host kernels (< next-20260304) + QEMU 10.2.2 =E2=86=92 c= lean shutdown > > > (no hang, no termination message, QEMU exits normally). > > > - With linux-next (next-20260331) + QEMU 10.2.2 =E2=86=92 hang at the= register dump > > > after "reboot: Power down"; only Ctrl+C triggers the "SEV-ES guest re= quested > > > termination: 0x0:0x0" message. > > > - With linux-next + QEMU master (or 10.2.2 + cherry-pick of 56d89db2c= fd8) =E2=86=92 > > > no hang (the termination is converted to a guest panic instead). > >=20 > > What guest kernel are you using? Bisecting to that commit for just the= *host* > > kernel is baffling. I could see it preventing KVM from loading or some= thing, but > > it should be completely out of scope with respect to guest activity. > >=20 > > How are you initiating shutdown withing the guest? What's the full QEM= U command > > line? > >=20 > > Can you also provide the OVMF image? E.g. in case the hang occurs in E= FI runtime > > services or something. > >=20 > > I want to get this sorted out before the merge window and so would pref= er not to > > delay root causing this by a week or more. >=20 >=20 > The bisection was actually performed on the guest kernel (not the host). > Sorry for the confusion. LOL, that changes things slightly. I reproduced this on my end (finally bu= ilt a new version of OVMF that supports SEV-ES). I'll take it from here.