Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22073427rwd; Fri, 30 Jun 2023 03:35:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlFZlLqVHoGDHywavj6V9lXGmv3q/33ew7kCFk/mwcON15fv7D3eoFo2HKzbzcUMiqEDkDv+ X-Received: by 2002:a05:6a00:801:b0:682:4edf:b9c7 with SMTP id m1-20020a056a00080100b006824edfb9c7mr3321167pfk.2.1688121333227; Fri, 30 Jun 2023 03:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688121333; cv=none; d=google.com; s=arc-20160816; b=VCwgUgeefkCc3eZbMN2wNGCJA7YEejsGaevfY/lj9Epvief3gDhG2RhtW5dZZS5TTj zJa9iseLLQ+biFa9FyvUNl/OhvjhGxra3wcbyg+4r12bjXT5xxNR8/98h+CLie9/ILaY nuNzDfAcbCrqBFHaWgQHOolCKt8E527Yi0gd9lq4izmLYGTR/fdJGFpeAEVPPYS3PRqC ONZznVPxQM6YohRcjqAUV/+xVuEwhn60fk/2kH7+Z8FDpawfc9mAFS5y7IROqWdgyIqp tR0HCyIkmum+aJxYxTtOw8/EsiAgMSXNhlH2bZgbskHz+PiYB9rpa+vN4aYpxbcIjQD1 J9VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SWZsnTvvc92i/tz/2TezgnWUIW4+N6jHK+Z5GJ49u6I=; fh=kiPCHWcv3+34uJbB9f7ul2wR3LqJtFfdIyaTghi04yw=; b=hOWGaNcmQDusRQStKyHZ0cKqaHsbB6Q/sm+3zuY/IszpWP/4qYq1YEsvNXOFi8rSTi baaebeoG9r8ccb5wpTNwb3eRWKjxXKVEyeAWPgdbmqw3JD31z6TXl5E2Ajzc03DUyqTv 5uKZMfd24Qy/W7vjXlu/O2mBwWMAhqILQmzv37zJTxeWLPB239/9WqdJ7x0xspPt0tBo cVWRgaCnz7e9Nc/YP8DdR8iZJbVQLGe7NFEP1L7BNH/FkxtTFqXYDA0m4FuW0TO8hNHK wPneFw3Taz6xlvpoKP73pd4vAoL7U2FuJfh5l/0K+UxksV1+zsetEI1Kj/498cLnm+Ke pzeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zuku41uD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u127-20020a627985000000b0066957b1c0a0si3054549pfc.288.2023.06.30.03.35.15; Fri, 30 Jun 2023 03:35:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Zuku41uD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232281AbjF3KXI (ORCPT + 99 others); Fri, 30 Jun 2023 06:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjF3KXG (ORCPT ); Fri, 30 Jun 2023 06:23:06 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F65E2974; Fri, 30 Jun 2023 03:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688120586; x=1719656586; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XOJWnYkaajaycqJGspwc8mIlN3y/eWtpUL/gkm1GaoA=; b=Zuku41uDgP47883htCNpVJcIbCeZSTMwsHTKQx+REGJ2S1DPdTuV/XSb v0tKZaDzFaJ8BbzTGIleK/ffbFXGGXaGamK/CCTG61YGJ4Tqrk9DRmEL7 V48Y4gDQVOq8vkSgCs0J/gwRo9Hir3aRqWQ+lZdsTeXLjrceblCKI+G0C YwojCtLyzZHLfdfb3sA/bIwKnaMhHRwjZeheYpR7DuZfVsaPKB+9TqHx4 lDi2i4mseZak+yo9vQfmqogb/c/cnogD1SGpbCfGz8ryaRm7LflRvhrrD cV4qTXfa3PXBHfOaRyXOMH+NrKP4EuHMKZKQJonSxvLgCr9jJ+YfxpZ5F w==; X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="362403551" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="362403551" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 03:23:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10756"; a="787678202" X-IronPort-AV: E=Sophos;i="6.01,170,1684825200"; d="scan'208";a="787678202" Received: from valeriik-mobl.ger.corp.intel.com (HELO box.shutemov.name) ([10.252.49.47]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2023 03:22:57 -0700 Received: by box.shutemov.name (Postfix, from userid 1000) id 7005D109754; Fri, 30 Jun 2023 13:22:54 +0300 (+03) Date: Fri, 30 Jun 2023 13:22:54 +0300 From: "kirill.shutemov@linux.intel.com" To: "Huang, Kai" Cc: "peterz@infradead.org" , "kvm@vger.kernel.org" , "Raj, Ashok" , "Hansen, Dave" , "david@redhat.com" , "bagasdotme@gmail.com" , "Luck, Tony" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "linux-kernel@vger.kernel.org" , "Christopherson,, Sean" , "mingo@redhat.com" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "tglx@linutronix.de" , "Yamahata, Isaku" , "Chatre, Reinette" , "nik.borisov@suse.com" , "hpa@zytor.com" , "Shahar, Sagi" , "imammedo@redhat.com" , "bp@alien8.de" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "x86@kernel.org" , "Williams, Dan J" Subject: Re: [PATCH v12 20/22] x86/virt/tdx: Allow SEAMCALL to handle #UD and #GP Message-ID: <20230630102254.gb36e77w4m4obx4b@box.shutemov.name> References: <20230628152900.GI2438817@hirez.programming.kicks-ass.net> <20230628203823.GR38236@hirez.programming.kicks-ass.net> <20230628211132.GS38236@hirez.programming.kicks-ass.net> <20230628211641.GT38236@hirez.programming.kicks-ass.net> <20230630090309.6mnsvfhcptekmzfu@box.shutemov.name> <84e13c5e32f001b8c79f0f18fe18f3225cf47dfb.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84e13c5e32f001b8c79f0f18fe18f3225cf47dfb.camel@intel.com> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Fri, Jun 30, 2023 at 10:02:32AM +0000, Huang, Kai wrote: > > > > > I'm okay either way. > > > > Obviously, arch/x86/coco/tdx/tdcall.S has to be patched to use the new > > TDX_MODULE_CALL macro. > > > > Cool then we have consensus. > > Kirill will you do the patch(es), or you want me to do? Please, do. -- Kiryl Shutsemau / Kirill A. Shutemov