Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4C8DCD129A for ; Wed, 10 Apr 2024 15:37:06 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.703374.1099017 (Exim 4.92) (envelope-from ) id 1rua0H-0007Yn-Th; Wed, 10 Apr 2024 15:36:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 703374.1099017; Wed, 10 Apr 2024 15:36:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rua0H-0007Yg-R2; Wed, 10 Apr 2024 15:36:49 +0000 Received: by outflank-mailman (input) for mailman id 703374; Wed, 10 Apr 2024 15:36:49 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rua0H-0007KL-Ff for xen-devel@lists.xenproject.org; Wed, 10 Apr 2024 15:36:49 +0000 Received: from localhost (ip-201.net-81-220-136.rev.numericable.fr [81.220.136.201]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id 25484fe0-f750-11ee-b907-491648fe20b8; Wed, 10 Apr 2024 17:36:49 +0200 (CEST) Received: by localhost (Postfix, from userid 0) id E1467E3200; Wed, 10 Apr 2024 17:36:48 +0200 (CEST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 25484fe0-f750-11ee-b907-491648fe20b8 From: Andrei Semenov To: xen-devel@lists.xenproject.org Cc: Andrei Semenov , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , George Dunlap , Julien Grall , Stefano Stabellini Subject: [PATCH v1 0/2] AMD SEV initial work Date: Wed, 10 Apr 2024 17:36:35 +0200 Message-Id: X-Mailer: git-send-email 2.35.3 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ///HERE YOU GO Andrei Semenov (2): Implemented AMD SEV discovery and enabling. Implemented Amd Secure Processor device driver xen/arch/x86/cpu/amd.c | 53 ++ xen/arch/x86/hvm/svm/Makefile | 1 + xen/arch/x86/hvm/svm/sev.c | 4 + xen/arch/x86/include/asm/cpufeature.h | 3 + xen/arch/x86/include/asm/cpufeatures.h | 2 + xen/arch/x86/include/asm/msr-index.h | 1 + xen/arch/x86/include/asm/psp-sev.h | 655 ++++++++++++++++++++ xen/arch/x86/include/asm/sev.h | 11 + xen/drivers/Kconfig | 2 + xen/drivers/Makefile | 1 + xen/drivers/crypto/Kconfig | 10 + xen/drivers/crypto/Makefile | 1 + xen/drivers/crypto/asp.c | 808 +++++++++++++++++++++++++ xen/include/xen/types.h | 2 +- 14 files changed, 1553 insertions(+), 1 deletion(-) create mode 100644 xen/arch/x86/hvm/svm/sev.c create mode 100644 xen/arch/x86/include/asm/psp-sev.h create mode 100644 xen/arch/x86/include/asm/sev.h create mode 100644 xen/drivers/crypto/Kconfig create mode 100644 xen/drivers/crypto/Makefile create mode 100644 xen/drivers/crypto/asp.c -- 2.35.3