From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03DEE3783C7; Mon, 4 May 2026 16:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777913530; cv=none; b=AswhfJ2MMj/3kC4O2FTf0wpBZlUYaF5f5AA3TLhQbe4VcbHI5djk25Ij3OwZbl+iE8TpWyuB4YmvujSbWEE+Anwi4hJT4C7DT7d/Qe8XwkVSGGyQfoJFgBQD4pOOzyJ+p89+Xz0cX6iJeP7R+QpeU52/2fw+cvc2pJYQaB4zRUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777913530; c=relaxed/simple; bh=ZWrFTZDdVscuaXyVwTCApSTSuzmOfw24NQRySmZG/kg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qD5nYlLVpVAbOboUdcSWmzAgfIBozYH/BS3A9virEvPy+FfpDN0capIzBWCs6juGbtYmHj+rRQTsP23ekegtWLqY6vGskaVHPuOLgBdFR5icuBag8vOSiVBtflWERDeFzQnj+Qa6BhXijuFouPLkUoLGIqQjfxQl7hpsWTnKStI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j7QOHsjh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j7QOHsjh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67005C2BCB8; Mon, 4 May 2026 16:52:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1777913529; bh=ZWrFTZDdVscuaXyVwTCApSTSuzmOfw24NQRySmZG/kg=; h=From:To:Cc:Subject:Date:From; b=j7QOHsjhF3dUEROVqDk975aydxVWD4W4QbJBxFeZT9JdYvHuJc64AtnS+71hnl5oP /UdhNLFEt+dkX3lc1MmGS1a9x8ys827DSS49MI43UcVeE60HMJHTAk6/mPWcJkl3FD ua3YQYUr6X1RXnYTc/umD/xioyZqgf5NUJfRj8kNZt5Qs0v/sflKRYOG2/ZLkbHFFF n5J18cozkt1+vq5NGz22xRpiJOygtSw0JutvX5R4chE+99VOAalBperyOwgKN8fMb5 0UuWBu+0miz63VJCxGeLkykPrOa619OYPuSh9grItnMOWsz/K6pqrQ37LpklBOWFAD iur3q3WT0Uqxg== From: Tycho Andersen To: Tom Lendacky , John Allen , Herbert Xu , "David S. Miller" , Ashish Kalra Cc: "Borislav Petkov (AMD)" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Brijesh Singh , Michael Roth , Alexey Kardashevskiy , Dan Williams , "Tycho Andersen (AMD)" Subject: [PATCH v2 0/4] SEV re-initialization fixes Date: Mon, 4 May 2026 10:51:43 -0600 Message-ID: <20260504165147.1615643-1-tycho@kernel.org> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Tycho Andersen (AMD)" Here is a v2 of the HSAVE_PA clearing fixes. Changes are: * return ENODEV instead EINVAL for the re-init cases * note ABI breakage in patch 3's commit log * CC stable on all the patches v1 is here: https://lore.kernel.org/all/20260427161507.32686-1-tycho@kernel.org/ Thanks, Tycho Tycho Andersen (AMD) (4): crypto/ccp: Do not initialize SNP for SEV ioctls crypto/ccp: Do not initialize SNP for ioctl(SNP_COMMIT) crypto/ccp: Do not initialize SNP for ioctl(SNP_VLEK_LOAD) crypto/ccp: Do not initialize SNP for ioctl(SNP_CONFIG) drivers/crypto/ccp/sev-dev.c | 70 ++++++------------------------------ 1 file changed, 11 insertions(+), 59 deletions(-) base-commit: 7fd2df204f342fc17d1a0bfcd474b24232fb0f32 -- 2.54.0