Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp74239pxh; Thu, 7 Apr 2022 14:24:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/iQTXG8P6At2eD6p5iGa8Nh+gPp1QkCU+b0pnUlvXk3zIPcOwNPsn/Tl5GxeEtnb3CQU7 X-Received: by 2002:a17:902:b692:b0:14c:935b:2b03 with SMTP id c18-20020a170902b69200b0014c935b2b03mr15918863pls.81.1649366647260; Thu, 07 Apr 2022 14:24:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649366647; cv=pass; d=google.com; s=arc-20160816; b=D6g7d4o9HcQJsOO01WghGy8XHaMnjtz8MmQzT8L+w24hkRSgMvsqx2ssoAB48GzHQ3 JwTyxd0OMuQMxprgz6PkCua52oKoblc3lAVM1G6okKy+yzd3FaZJQ5m1y2AErr+UOLkz Yd9YcDRPoxzJfSb6Mfjy7QdIR6THCwy2t6ptyyGZPGUL3/KrPwQs6UPVMozfcxASigAW ydjZpasa1FKtSAAzwlA3V285041jKRGKEcpQICP3sJa1gOJGPZgUbW+xjL7Vlj/Mr8PW wyMa5dAPM1BjUpKbfQJ79q79AtsnYsLGBKOZERjuZiSJCgJnKBBfVqDT/bLfv0nhGLrq LlTA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=+1HQu5tXLyNzG2fNFKfMgcJJpdUO1/tc+1V2wh6FpZQ=; b=XScNwZfPfsU73ifX41Q+TA10Wxm03reHlH9M3F7pHGlLYzeJYm6YU4VUcInbidNrCH 9aaZoujNsXM2xoedbZCg9OFOwOpg35Gy+XbyZJJLNJpBRipkgdl0/j1V7sdWO5cmhm6a 4hPJPjZUwV8i4TFQiPbMkukV4uIj+jvYCsaodA0hGeWCvAYG9ZwL8+H4aAXh+rvECM+r zi8RxqEi0vN6EPufLZgjt9y/Vv6cl4EHQc2q+1alcjOeaeLkuK2SsLAbu3NCWSwc20xZ wEuQb/32K0OWZP26pTGyJZUj8CXFTBc/PkOCmyMQwsKOFodrQfCthYzo8EADuJk9ZLkn HvAw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=dMpY+GjU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id z6-20020a170902834600b00153b2d16576si630669pln.382.2022.04.07.14.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 14:24:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=dMpY+GjU; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EE2272F2F09; Thu, 7 Apr 2022 13:16:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346508AbiDGRpI (ORCPT + 99 others); Thu, 7 Apr 2022 13:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346509AbiDGRoy (ORCPT ); Thu, 7 Apr 2022 13:44:54 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2043.outbound.protection.outlook.com [40.107.237.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D427A22C1F0 for ; Thu, 7 Apr 2022 10:42:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PsmEjzWmAXE6BE5Fj70KsZNaxZArdm9/ohMxo5L0TnXSJsLzmcRC1o5BQond2mNke1LFmOiaacXRgImJWvDpcS/KZGt8kV+9YKzBnKHhLN1xFydtTVfHiR5hwKDCOaE/5T+gUX0lBeZRSlek67iaDY3a0AbSDpRDgirQlNyxR1SSfzD7oDVyx9DQ1FbxBuWRFF03J4KktNMM8nxMSYVwD1WVK1C+EZ7AeMzFxPYqyNyoVfu1FqJXUiZT8dJY6668KPvBtYQPvvuDvtGB6DzZpUZrQ8st46uiGQSTLDGjisI9QyKxPYbYUEBK+dyZ6hCSdrIqFDbIojDDpq31NWqy2A== 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=+1HQu5tXLyNzG2fNFKfMgcJJpdUO1/tc+1V2wh6FpZQ=; b=DWkxZlkpzM09l0ZXimHcZCjwDBbIYCUuxcjDEMCqlPY08lFLHDdzmvqu0627JxyMuDqdeEcAgp7RbbtjRaEbbMhubHuGDLiQ1rEh8ADyBhIireDpDi19d8ZxMAHPVCg/XiLWzR/3GZ2v7U5q4pyruK5JLBUI/y9YgxBM20GbXT8h4duPZfqm+FS8Mn5eY4OzpBk8BfWbuoiKm/V4QlR7+Nim+0tSW3WCOLc1Uin3D6EQnbG6Qv5bXFS98oGVQ5y+ml11Lw9EMl4f9kg7ycVW4uCOflnqBE8iSmH/M0MlsOUQEgncYe5CVQkTo90OGzo+Lz6CJrr5iQdRWW7BB67Sww== 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=+1HQu5tXLyNzG2fNFKfMgcJJpdUO1/tc+1V2wh6FpZQ=; b=dMpY+GjURvQrG06oRIsOTHo2JKIe7c0igt6cJC/ATI++iM4acgrMp3AALMM5Uxv4+BmNPL/0Z92eWhZyMtOhXXX/QCgASg06EX8AcgQBeZmN+NX+fz6ZFrS0MHShrP4bcboLHrNLgz7SfjMchmBfMJlJQI+s6GBG1zMrEseQHjw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) by BN6PR12MB1299.namprd12.prod.outlook.com (2603:10b6:404:1d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.21; Thu, 7 Apr 2022 17:42:49 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1946:2337:6656:ae2e]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::1946:2337:6656:ae2e%8]) with mapi id 15.20.5144.022; Thu, 7 Apr 2022 17:42:49 +0000 Message-ID: Date: Thu, 7 Apr 2022 12:42:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCHv8 00/30] TDX Guest: TDX core support Content-Language: en-US To: Sean Christopherson , Dave Hansen Cc: "Kirill A. Shutemov" , tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, luto@kernel.org, peterz@infradead.org, sathyanarayanan.kuppuswamy@linux.intel.com, aarcange@redhat.com, ak@linux.intel.com, dan.j.williams@intel.com, david@redhat.com, hpa@zytor.com, jgross@suse.com, jmattson@google.com, joro@8bytes.org, jpoimboe@redhat.com, knsathya@kernel.org, pbonzini@redhat.com, sdeep@vmware.com, tony.luck@intel.com, vkuznets@redhat.com, wanpengli@tencent.com, brijesh.singh@amd.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <20220405232939.73860-1-kirill.shutemov@linux.intel.com> From: Tom Lendacky In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH2PR08CA0004.namprd08.prod.outlook.com (2603:10b6:610:5a::14) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c844fb38-50ab-412c-e888-08da18be0897 X-MS-TrafficTypeDiagnostic: BN6PR12MB1299:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sPywdbMXrTh1AObqgC2nRgk7Wn29rlTfi/YQWkWGd7HxbzM5i2Kw4nb+LIT8FBU6vtGN5c5kQ7GfHgoDWtorC8ORsyZc9BfVAZAUmRHfsSKV6Vy83hENNZtbMe7E+xuN9uEqpJeLF7sUzTpKh3Lys8+/X123qBipjc7c9BrGploDEwbI+OFJv7CbHnAqTpxEDkYAWtAkbh7QkgKDUB3eBkSty2ybueNI6qb++ZZItrVA5qk5JgZQb7p7WyuCEKTDklJflOaTYa71OvoqNp5Buagm92NpsRhmvHRZvMaAaYAckbcnkDrNI0I2Dx+5SVlSgLRRv5RxgQAo0PA/nhec95jOBCl+ey/wjiRyuCyqvIY+F7ZMVKqWcSZpnY1T7k6m1cEFMCK4y7iUeLczLbcz3MuHk49m6iBMFOxMTiZs26CEyfK3hWYZpER0c8H+HRctJO/SWqVu6AyHx+G7vJ8VBqXm2veXIP93I8/dK/65pZM6R1MYTvPvHgoFED3R89HEFnWqaZg/4NlqUVSc1f9HKzlnQ+RRYKUBZNtT9VmmnfcDNEE7SeRJ1NiynX6q9PVTieTRLDygpc7IYgFKku80E41E+5/Q9hKx85NbIUOkCGvPunQbVzFy4q4fhTcIi/LF4WK7jTpSWi1+7Ofl0d2loJLZZcupJ4QnG3lpz47kA+k0VuG4sQ9qv4pcDHDLKpa6FeHNxVTd5YQ/Wz6lmTwtSJCAIpHLHhHr+Hv0+IFhvpz1imAIgoJ3gbwPgmy2vSEe0PkWHbXhJyjH7YvEZUGcW3sAeBfG+Ne+RO+see1QTNiVSlUqUn6f0pRUCr0h0g3LAShfHa/mK+lflI7uykkYfw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5229.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38100700002)(6486002)(6506007)(8936002)(53546011)(966005)(86362001)(508600001)(6512007)(4326008)(66556008)(8676002)(31696002)(66946007)(31686004)(2616005)(7416002)(26005)(186003)(316002)(110136005)(5660300002)(36756003)(2906002)(6666004)(66476007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L2tPRjQyZVR0eUdSQzBySWVHYksxN1NwOGR0NTdFMVNzUzIrSXVBSTI5dDBs?= =?utf-8?B?U0lMdEV0RUpLMkJqVThWTjVwUmlrc0l0ais4R0Z5UTkwZVp2bjZabDlLL0tE?= =?utf-8?B?OWEzVm9kYXF3ZFB4RjJQTGNh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mZ2?= =?utf-8?B?bGF0V1F4d0J3cE9YeHdncFZYSkNsLzhwTkpXY0l6WGJqalhBbXpYVGpoWG1D?= =?utf-8?B?V0lUUk1BVDZtSkFTOWR3T1NoYXJiRXIrWHplUWM3T3JaWkc2ZkRUcEJORHIy?= =?utf-8?B?TUI4UjByRnFuaEh4amk5YkVHaFVDMTJZbUs0c1RTUnFHVGtlM1FXcDJmL1k4?= =?utf-8?B?eGJaSW9iQ1RpbWNBWGZNV2ZBU1F1d1NTanhIMWVyQVBPK0c2SCtTbW5jSEJh?= =?utf-8?B?Rk1kUUxxQ1YrVGxoaW5ubmZlNVBYL01BNXJKOThoV3E0bndVL3ArK2hXMlZ4?= =?utf-8?B?V2d5RFRPWk4wdUx2S2J6bVhySkNaSkc4WWNoTXdrVlBLMWVYdXAwYk5SYjlX?= =?utf-8?B?SGxBTVNZK0x6bkFuS0Q4NGtmMVVPVEVUTmQxdlB1bU9yS3RKSUE3dz09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c844fb38-50ab-412c-e888-08da18be0897 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2022 17:42:49.5403 (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: 7hjE7IBZRNAw5C8EUncjZH0i8j3V3nXm6n1uhfaar3MEhLV8q6fduiCMFZ55SkeQk/YIgYlHwiWpp17eEtQ7pA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR12MB1299 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/7/22 11:50, Sean Christopherson wrote: > On Thu, Apr 07, 2022, Dave Hansen wrote: >> On 4/5/22 16:29, Kirill A. Shutemov wrote: >> ... >>> arch/x86/coco/Makefile | 2 + >>> arch/x86/coco/core.c | 22 +- >>> arch/x86/coco/tdx/Makefile | 3 + >>> arch/x86/coco/tdx/tdcall.S | 204 +++++++ >>> arch/x86/coco/tdx/tdx.c | 692 +++++++++++++++++++++++ >> >> This coco/ code currently doesn't have a specific MAINTAINERS entry. >> That makes me a bit worried that folks like Kirill won't get cc'd on >> patches. >> >> Should we just do a MAINTAINERS entry like this? It would also be >> really nice to get some SEV folks on the list as well. I suspect the >> coco/ directory will grow more common SEV/TDX code over time. >> >> X86 CONFIDENTIAL COMPUTING >> M: x86@kernel.org >> R: Kirill A. Shutemov >> ... >> S: Supported >> F: arch/x86/coco/ >> ... > > And/or a dedicated vger list? There is a linux-coco mailing list (linux-coco@lists.linux.dev): https://subspace.kernel.org/lists.linux.dev.html Thanks, Tom