Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp66453lqz; Fri, 29 Mar 2024 08:43:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVZeQQgWQ4tw5+oLBXMdRP4US6PH7FgMb3NkqBcjw7r5FF/QXRArQ/RGZDpG/yIuC6HdWBqiYV4s//IW0k7KLuJ5c27sER/NWCySfIZFA== X-Google-Smtp-Source: AGHT+IFvieoydm5/jOZDqzy305V57tL0oQ5jj5WztOKnakkUiTm0GMwQt5PeyyoUHLzEu8mgn5Zg X-Received: by 2002:a05:6870:13d4:b0:229:7ce9:815f with SMTP id 20-20020a05687013d400b002297ce9815fmr2273890oat.12.1711726987538; Fri, 29 Mar 2024 08:43:07 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u13-20020a63ef0d000000b005cdacf9065fsi3858954pgh.720.2024.03.29.08.43.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 08:43:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Reqi5eJF; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-125093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3F4BEB35F08 for ; Fri, 29 Mar 2024 15:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36A2E13B2B1; Fri, 29 Mar 2024 14:42:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="Reqi5eJF" Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2112.outbound.protection.outlook.com [40.107.100.112]) (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 528022EAE9; Fri, 29 Mar 2024 14:42:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.100.112 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711723377; cv=fail; b=TJKYv5AeiDkEY747dWyTN4gr6bX+Fp63DTcaLT/A4MfQHpVSvJIonzkAJ0Kgd8K/CVK/zYNF6A0EopcPpOUaXL5QpESVqA1kCynzNiMqF5bF580xKcSQBeZTBvKgDQUYHvTLv/kDYzhgAMD1kBxLTvFAMOxkJtzAZMHSPJkaNe8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711723377; c=relaxed/simple; bh=HkKcUyK8G1CE6K9f6L1KlymPYQLQNVo2UshuUoDk9f8=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=WFVADaZ5GNJYHPEzaCxJ0ZjwAWlTJJfJLODyGYnubLtL21NxooGO/TGMicDh542yDIUv5trtYkHtUmWzodv1AkjPmQ2tjWWnvo+AbxIsRZjQ6V5sIdd1l5WLzTf7+egkhGArp5eSlPRuvUad1lbzyyMqnu8HHUBhTRpyxifoBD8= 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=Reqi5eJF; arc=fail smtp.client-ip=40.107.100.112 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jIthOkvhVnwlexJ9jau8ecjZx4Ye0i6o0K1WBrVXcM6MZcvL9h1lUDYQ+wEbjSxtarN8lD5CzdX3EZwGawH/4HiURAseYyyFAGToyzcOfHCNBDBf0Gja2JS/3YeMST5Rzlh6IlotVYSPDgjhB0bP23K3DXK9odVyi0AXUecoALKxNqgmteWqEw8OSgEkSx/qEHDAeuZDrVD0lBIdTh6R5pPTuglbib1+8SbdVd+ixMEPy/UHloEWOauLlefTqbYQ609gQfoedpAjB7XBazadV13fRmB12h2gis5BUp+jiWj9YNhACiWn4Pj69b2j1Dby0ATSvm0ukBXmyPUPPGeCjg== 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=G2AVw32XdJZBKDv2fgwwJu+JlG/1ARshs0VrrTzQPwY=; b=f7NpoanQkWAAPFgRSg7E6sB3iDoX3zEQ/dZ156MzL01jh5LwDUvuHETlzDKGF/QNvO+BtpIW9TQQuYjXv2V3cyQaoyQ4QcfuA61yIjhbaXwvhZzWqzCycUtGXRB6HmXDcpNuFmSy0pzRdDrQypSsi7P/LeJBIT89U5qf6788qZ3ZXumKk5Si/yl7unKlpm8kFpq+lCeu9EWN3iQJh3K27k/u3mxV5lSSYFKjiQHN91uvJkrFWCUT8Q9LaHE5p9kPpENQ+cdDgMFWEHV9SMuKt01isaM/u5rWAiP8MELD+d0ERsysKGVRPGGBjTLRshQ0jziqbpd6uyWaXdweqiwJNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none 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=G2AVw32XdJZBKDv2fgwwJu+JlG/1ARshs0VrrTzQPwY=; b=Reqi5eJFZL5HRK1XPPruoVTl52yKvVS0z8gFkSK0iQZ5VUgPQ/js+hYokn/1/fKCQA9QkxSmn9pSu7JVr5f1R5VooZkOZ0SEIeH4JP8jUQxzW74jq7yq5R1GmRev/Zg+Mad9q1bheXWoXvYEJowAZUwpXoOvG1rnuikkyZLPz9M= Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by CH3PR12MB8281.namprd12.prod.outlook.com (2603:10b6:610:128::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.33; Fri, 29 Mar 2024 14:42:52 +0000 Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1032:4da5:7572:508]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::1032:4da5:7572:508%6]) with mapi id 15.20.7409.031; Fri, 29 Mar 2024 14:42:52 +0000 Message-ID: <256a0447-d7a4-5983-34f9-ffaba51035b0@amd.com> Date: Fri, 29 Mar 2024 09:42:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 3/5] x86/kvm/Kconfig: Have KVM_AMD_SEV select ARCH_HAS_CC_PLATFORM To: Borislav Petkov , X86 ML Cc: LKML , KVM , Ashish Kalra , Joerg Roedel , Michael Roth References: <20240327154317.29909-1-bp@alien8.de> <20240327154317.29909-4-bp@alien8.de> Content-Language: en-US From: Tom Lendacky In-Reply-To: <20240327154317.29909-4-bp@alien8.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SN1PR12CA0111.namprd12.prod.outlook.com (2603:10b6:802:21::46) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|CH3PR12MB8281:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zcBlbw8AJRmeX3qKb1s96BXKZCT5j8IKKnfWcAmJ1u2ajn0po8XOnR6o/gu3kDSyHzHLsG72kAx4DE3bA7sTVWmczutL8SYiIC3jIk3nMOjX1Yu6/bQVHAknhkTmPyJQvLsQPK6/8fo2ooKr76IR+H1Hr9HN0Fca63N0ryYWmjmRtZWLmV46S8JhYsermJTZg5iscMGOzI8b19obcCiEk2aqqHEbWqEOa4FCPW/XV994dEnvmeeQTCxcoTbLN+zjfKjdVte/Jv+j8gtbsl5fgc+mTpWZBPJvPXwk98LiJuDCoxDKOIeFAAYyVzu2D637Wn2P/4G62vpnSCjlx/CrT1ko2in/NzjCXTmAV01eAlWUIMjuIl7Wv2s/ZgOEXQTrL6nGeBVLFcIzo3f4Uq1Hshnl/DnuWUv69bfZOWui7N3scqLecOUjxF7Tqsvf/bWmVEQYwCQOZsGEkIDg9a0Gf4Kn8mwm1ll94qplaRYU0idcRaklCmnDKSrxtQtnt9Nwr8raH0UgQeMJEfyqel2UREDSX/R1SPrTzcgF4GhX2DwZpdGOAXbkY4gFo0X8KbcgSV4L6dfeOFk2BseaQBMIHMlVFmhBIDpQdDrxPDDPUPtw3uhI6YSV09c7WY6PoOXDnWZIT2WWgCzO+3QEr0XON4IGPFy9RCmZ3GgjSjK220Q= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5732.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YWV0Z1o4a2dLVmtMMG04Ni9xaVVHTXg1dnZBYUtNbjFIV3dQRXlRdit4UmM1?= =?utf-8?B?VzI0aTRSZ2FIL05XRW5rMm9qR1F1UW04aURIK0NlbEdvK1pmcTEzUG91UTVM?= =?utf-8?B?RWZLZTh3bHRaYS82c0JLSWZUcDkzSGwrL1crOVlpQUh2WmtJT0VEKzNvT0k1?= =?utf-8?B?SldoNkVVQ3ZpQXY1UWllR1hmR1UxMWsyVnJQS3FKTzhCWVpOTzl3bU44Z0c3?= =?utf-8?B?RmJHcG1aV1NhUENOTmpZUEp0WVV6d0JhVmpmeFAvYmVVMXJWRldnY0pabE4y?= =?utf-8?B?aW1DVk5LM2FOQWIyZ1ZMYmdndC9pWUVHMENkYTZiL1ozc0NmWTJwVkdOcmpp?= =?utf-8?B?VEFHOHhJc1RXZWNNVDZiY2p1bVVtY3hYMVpHRE5NNTVLdFdoK01ZdGZXY3BZ?= =?utf-8?B?eGF2SGFNODZHcWJEcFBYaWI4WXQ4a0JYcUFQSitZNkRjYm1scE9FaHA1WGls?= =?utf-8?B?NklVL2RjMCszQXRPd1hXMDlLU24xSmRiMUJETWxVRnI5QnNDQ0tIR2JPeGFH?= =?utf-8?B?V1VMUDE5WTNSQjZSMnpxYzNkLzZ2RFZLVEJKMkpQdGJoOUphb0NSa1pvQUl2?= =?utf-8?B?SEpkbU5temJxNUtPcXFxR1Rxd2x0MWlya29BdjlLemZOMTJSc1BQd2VVa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zNGlvWXc4N3JDQ3hQUjBzc0tBVmFz?= =?utf-8?B?S2ZLcFkyYVcyYWVacnA2WkowbDIraXpHWmloWW1pVU1aby9CTktWWkdtTUcv?= =?utf-8?B?TjJHTEhWaU1kQmlRV0ZlbU9yVjhjNkIxVnBPZ21Ma0UzZXIxTE9uMy9sY1kv?= =?utf-8?B?c1dDQXVvYTRpcmdGa0MxYnBBckJ4RU14MW4rTlJIRU5UYkIvYnV3bWNjVndK?= =?utf-8?B?YURRcTkrYlpFdm5kNnl2WE84WmR0RU9FdHhsSk8rWkxxckVHcTRZV3ZIWXdU?= =?utf-8?B?K3RDMko5dEY3ZlZEL0tJQ2tjY0laRUI0blNaN2IrcUZ1TkRCVXNmUEs5UzEx?= =?utf-8?B?RVhJVmM1THhkZlAvdEg5T28zU05ScjBRL0FxWE9NYzd5bkNQTm13eGxDSHFs?= =?utf-8?B?elZPZk1OYzhvZnJuRERiTHVpU1BOa2hWOHVPTUdHT2RDWThSbjNXMzI4NlYw?= =?utf-8?B?RUpQWncrclo5dktDS2NXOGR0TmNnUWVEUS84aGNVWnZuaklQOG9SWkNwcW4x?= =?utf-8?B?c1kwUzBwdzIxWWpKb0NzU0p0Q21CTHg0c2pQTzY1SUltdjY0Z29zbWh6cnYy?= =?utf-8?Q?cbIFocGv2rxiF5US8YMgmsD0r?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5078b3df-db70-4bf6-eb06-08dc4ffe8332 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2024 14:42:52.2910 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ICvT/WQkfKu3+H14xYhchjIlKf6Ja5tounxJRj9XHYkDlUH543U0TBp9h0hfg8MYLJcKYQjylCCKdpd1i7T9nA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8281 On 3/27/24 10:43, Borislav Petkov wrote: > From: "Borislav Petkov (AMD)" > > The functionality to load SEV-SNP guests by the host will soon rely on > cc_platform* helpers because the cpu_feature* API with the early > patching is insufficient when SNP support needs to be disabled late. > > Therefore, pull that functionality in. > > Signed-off-by: Borislav Petkov (AMD) Reviewed-by: Tom Lendacky > --- > arch/x86/kvm/Kconfig | 1 + > 1 file changed, 1 insertion(+) >