From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) (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 38B394AC144 for ; Wed, 2 Sep 2026 19:13:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788376406; cv=none; b=YeU9r85OrczymAILK1iJBSevZoB82yIPY5XUu1o0TMP9H9llMWcVc/74Bf4lVGTN2t08ePTouWLDX0rO0LtSiAvpFwMjVrKu0ClspxpSKIJ7hyUYwOSb6fj3JmkHb9VLXGf6pTaFmWKereXvXH+EIZB4xI++zCR1YniwqOIVXJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788376406; c=relaxed/simple; bh=y0nOywplQ3deuSEhSsaVE3Xyee6bNT1wa/osER2A2b0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=G1GAYCf8nsxGtkD/GiXtnxv0Fa4UjaZHUEUDaFTpSkXvQ5p44hW7lwmmmlPICLYd+MvX3yCQBn6V6P9XhSD/Sb9L6dKhxVPs3s/i3kUJoJv1k/NxQh4C6TSexPn23v+IN62n1zsX+vE3tu0/b3KoIM2K+qrvAvMF9E6sadSNRsk= 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=ikKfQANQ; arc=none smtp.client-ip=209.85.210.200 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="ikKfQANQ" Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-854f274dd69so1711511b3a.1 for ; Wed, 02 Sep 2026 12:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1788376404; x=1788981204; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:reply-to:from:to:cc:subject:date:message-id :reply-to:content-type; bh=N/WHyg1m6TTdS/dUEqB2VFq+qj0dM9IofHpTvipqAJU=; b=ikKfQANQ1ZMjs61k690NKiAYStnMkDdxCSvDcB00Tx2hzEu6cvAI5zDDwsmSzlUSkZ 3kHmHG3acHfuO+Kug6u0v83GCG6b0cLmcV+NY4ixNGPqwNqkD1L+9sqMBg7L4s1IfBsn g3BG5f/A3oz8OqzSxnykI9W92bemnWvfav0azMWgKNHxXfrlkK/WWho88xHO+W1egwoo AvSYCe9auPkf8M9ckY3E1CVsFNtXpPkzEuzl6sqav8wCqDEAtovTpITNXpYE83x9ywIO piKLbnUATanjS69yRKQ1ChQuT+HILsYwZ54smecCx39WOnlt3v0pUsccbOtVfEuU8B7p HGTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788376404; x=1788981204; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:reply-to:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=N/WHyg1m6TTdS/dUEqB2VFq+qj0dM9IofHpTvipqAJU=; b=Yl/rlJ5YdkxM87VtQgR1dVKEI8oTiUVd+SMPrxyKsxgtuiJTskG4/2WpeH7p7PMqUJ dF8Nb6P6HsGNfGf12LDN+jrQkFJsarTYQtfrBA1z8W5I/lMqBtqGJXE7iYHHfH9oq6Rf gCPgTV5oEA/22Ni9VHoy3y5l/2KLkFSr6v9TSXX7U9jMEZDbUMlLGkPHvUenSvmJDRon SqtcgK+NhOwBwu10oGCiQApcdT+lJC4tTJNvsGYl042Y9EaV27fRBJ8ppnYLyHzz0FHK QqCKVAkx9Mjy+MO0u1uGJMIs4LTXx92CNB4q/a8rbVH6emBiQuPgJvEpnveeeP//0HRt JJjQ== X-Forwarded-Encrypted: i=1; AKwUvBw9pOp1DLP4EaXx3dWJ3DvnLTk35tAC/67MdS41VqnNnWtfuDirgGuDv5AMnb1pe9VmelnZ41E+A2Qh2y0=@vger.kernel.org X-Gm-Message-State: AFuF++mcN4uVbHVqrEq2sTywzhBJ4ycbgplPdqcXOMmi1Z/kcpV5iifU y44jyvFF+qqh6TlyGn9SKxZRvHw4V1rX/aMUZ8gcO64kVho3MrWYmq7ATzkXO26ax+L+FFv8I4O vIdeabA== X-Received: from pfbbd13.prod.google.com ([2002:a05:6a00:278d:b0:851:d12e:df63]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:ab8a:b0:845:31a6:d84d with SMTP id d2e1a72fcca58-85ed20ee9f1mr11533931b3a.7.1788376404046; Wed, 02 Sep 2026 12:13:24 -0700 (PDT) Reply-To: Sean Christopherson Date: Wed, 2 Sep 2026 12:13:19 -0700 In-Reply-To: <20260821-stable-item001-snp-builtin-kvm@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260821-stable-item001-snp-builtin-kvm@kernel.org> X-Mailer: git-send-email 2.55.0.970.g62bdec98f9-goog Message-ID: <20260902191321.2644150-1-seanjc@google.com> Subject: [PATCH 6.12.y 0/2] x86/sev: Make SNP usable with KVM=y From: Sean Christopherson To: stable@vger.kernel.org, Greg Kroah-Hartman , Sasha Levin Cc: "H. Peter Anvin" , Suravee Suthikulpanit , Robin Murphy , linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Gao Shiyuan , Vasant Hegde , Joerg Roedel , Sean Christopherson , Stable@vger.kernel.org, Ashish Kalra , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Joerg Roedel , Will Deacon Content-Type: text/plain; charset="UTF-8" Tested SEV, SEV-ES, and SEV-SNP, with KVM as modules and fully built-in. Ashish Kalra (1): x86/sev: Fix broken SNP support with KVM module built-in Gao Shiyuan (1): iommu/amd: remove return value of amd_iommu_detect arch/x86/include/asm/sev.h | 2 ++ arch/x86/virt/svm/sev.c | 21 ++++++--------------- drivers/iommu/amd/init.c | 36 ++++++++++++++++++++++++++++++------ include/linux/amd-iommu.h | 4 ++-- 4 files changed, 40 insertions(+), 23 deletions(-) base-commit: f717995cb7dcd8998ab15516b8006aea09cfde0d -- 2.55.0.970.g62bdec98f9-goog