Message ID | 20240510211024.556136-3-michael.roth@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2054.outbound.protection.outlook.com [40.107.244.54]) (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 227C513B5A4; Fri, 10 May 2024 21:21:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.244.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376085; cv=fail; b=Tn1HMszWMVwpUtdtezGbOMfuIjfsWO3PP73xB96+SGmRj5GSsXp6eK4N7Ev5lqXWpRUJiGuiw1g93vfMk9nTlV5qVm9/hcfWWJvc8RaiU3XYjCWo//bH5RTa3Gqt169YPXbnnq1TWL4AD7+2KAPLQ6BvAPAxN8rpO25enWOyTY4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715376085; c=relaxed/simple; bh=BcYxg/4Sp3zdr7LsH8asOGvULTnkzW+IZmjD4eZ0ayg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bFXqg0iCDFaJP204N/G5QYIkOFAps7BskT86TJlLs674ReC6JDbAASEHuYpS432fyHs1UJsvlplglOfBnBHjnx9bRBzhAlfinpPekjONsLsTS3mnS0KT/pBlu+m5ZbjyKi4B9pSP77U5bPytx3Vk/vlaVPjKWqvc/HR1y7wOiz0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=lT1MgQ8T; arc=fail smtp.client-ip=40.107.244.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="lT1MgQ8T" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KoeiPWiNfCkFBHv2twTlpMldEaSYgX8ZxDc5Ph41ihobfEE4e8jkXlAh10dreIoqp+JzO7rmxauZo1Npm3m9LgCA+JGS7v0nUURWVxnc7JdV37fd361kX//GpTZW3P+n2OBSAPRXnHblzeZTREzd6YmeuBDr1mxo5r7M/KWr9KoQhQHf/FYEj/YnEAWdDrbw8RqNW2bM02U0pWfdGOFiDrKy7Z2uOdOF9lwlxXIzjDF51z9u5EYoWQrESaW2sHEIZZGy2GS37ec8z1WHimmj+rubuGCWJdWKUbfgGv1YP5miRW1g3vlJUnizC6UiebWGei3hVWwGY8hgbOJUECt7Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/w7HkGwErEFXk5K+70K1QxZapZm3c5E5wfTsmBvpDxo=; b=nVxXK/SHNBhc8H0lEWFdjFEWh7PSxkeEDLxAW0Tsn0LS+gmyhK7zG28fm8qBEBx4ebK37ukWlKiiS4tnFVzRE6KYjxkFSxwtmHO4nCIgScncR75qPdIMEdXbPrzvzL/coQBfqurw5iJTdYS1kSN+EUjSzTC3r1t50jqMJs8c1XRCwwLr4Xm5Dsjat3eODnjMACL1NL7Q/5FoaCkPEKUynTNFP+AmPbZKdXS06lNlOxlFhGVYh5m2++bhjU/PUYXyRWFjefWhK9XObEnbBgot/vs2Oo36F8na031noySJ17DOR6nVMWrS+cLOCTCTlkhnPPNLKgM1JsRFpgPEjXmSYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=redhat.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/w7HkGwErEFXk5K+70K1QxZapZm3c5E5wfTsmBvpDxo=; b=lT1MgQ8TVR1s4/0hVLaKLp6Y86rOCntedzpRS5l3pB7hALaF6Y+hkne3PLB1AWC5eL8xYJEIrNqsDU6oLccScLEFGZMLAvjysjJmKSJLDq4DPAR8SJoM6S30AoPTlgJNwD5cYZPZXUePoRKyfvcccWESFVN+K4lz7PPbnRmvfGE= Received: from BN9PR03CA0372.namprd03.prod.outlook.com (2603:10b6:408:f7::17) by DS0PR12MB6415.namprd12.prod.outlook.com (2603:10b6:8:cc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.47; Fri, 10 May 2024 21:21:18 +0000 Received: from BN2PEPF000044A2.namprd02.prod.outlook.com (2603:10b6:408:f7:cafe::51) by BN9PR03CA0372.outlook.office365.com (2603:10b6:408:f7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.45 via Frontend Transport; Fri, 10 May 2024 21:21:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN2PEPF000044A2.mail.protection.outlook.com (10.167.243.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7544.18 via Frontend Transport; Fri, 10 May 2024 21:21:17 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 10 May 2024 16:21:16 -0500 From: Michael Roth <michael.roth@amd.com> To: Paolo Bonzini <pbonzini@redhat.com> CC: <kvm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Sean Christopherson <seanjc@google.com> Subject: [PULL 02/19] KVM: SEV: Select KVM_GENERIC_PRIVATE_MEM when CONFIG_KVM_AMD_SEV=y Date: Fri, 10 May 2024 16:10:07 -0500 Message-ID: <20240510211024.556136-3-michael.roth@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240510211024.556136-1-michael.roth@amd.com> References: <20240510211024.556136-1-michael.roth@amd.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044A2:EE_|DS0PR12MB6415:EE_ X-MS-Office365-Filtering-Correlation-Id: 1dea16b3-0fea-4fc1-ed40-08dc7137216b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|82310400017|376005|36860700004; X-Microsoft-Antispam-Message-Info: NJcvsrAOvIkoldWYRBV30y5h+noi04Es/ucism8btk+Xeh3rTacyPojc1bPxEGvs3bQ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JY1iso6CkFlzRy4A2RtZBUVjWKHrBGC9kxviiGw4tMeNQ7MqV7zQRLSM/zIeBhy4UPaa1I6blRQ5sbrbKs1IIK4VqRD6Y8NzZMqSPQW16jp+QwNrXUt3npyueJkiGHqrwk5yEzz4BLfwy+NO99BhCh4X3+q6/hU+COz0PPWxw5XBQH50+J3dGqCZ3lBDnT+7o8HwDmBVoG/GilB00pl7uCm2pzOo7CY0iDd8kCPajRoDta2A8HROjmmJeoNfuVCPimPZbynLLEaP X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(82310400017)(376005)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2024 21:21:17.7160 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1dea16b3-0fea-4fc1-ed40-08dc7137216b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF000044A2.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6415 |
Series |
[PULL,01/19] KVM: MMU: Disable fast path if KVM_EXIT_MEMORY_FAULT is needed
|
expand
|
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index d64fb2b3eb69..5e72faca4e8f 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig @@ -136,6 +136,7 @@ config KVM_AMD_SEV depends on KVM_AMD && X86_64 depends on CRYPTO_DEV_SP_PSP && !(KVM_AMD=y && CRYPTO_DEV_CCP_DD=m) select ARCH_HAS_CC_PLATFORM + select KVM_GENERIC_PRIVATE_MEM help Provides support for launching Encrypted VMs (SEV) and Encrypted VMs with Encrypted State (SEV-ES) on AMD processors.