Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5874870ioo; Wed, 1 Jun 2022 14:40:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaWcUkAU/Mzv5GXw4knAix0sYOZ90/HI8mQ4O38gK9KNEEykhrTy0xBu5h2dAd5JsmsWT2 X-Received: by 2002:a17:90b:3802:b0:1e3:3f3a:3621 with SMTP id mq2-20020a17090b380200b001e33f3a3621mr10708344pjb.65.1654119655548; Wed, 01 Jun 2022 14:40:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654119655; cv=none; d=google.com; s=arc-20160816; b=nYbssBkzx5G9RK80rtyrs1JDubpwpgfQxwmmy6Ogere4o1uBvPHk73r11s2+m8YGhW J5HR2WHJiubGpTV7Etx4TudASRYCEQpAuiyRuYrZVb3wu3JF6368LKUZ8iwaAbV1vKii ii+aKN7a6ii8gQ128sEsqj+j85rRD4klnDYhu14vQTVXiEbbJdP938LBHyEZF1PIzk7h /VZfx3ShPbR4ka9MmK3zsQpnT/+K1j8tTrDteVfqfnq+UrnaS9J/1hfjXKm8sJIgIisV CLtndB1IRG2WCIJ5OBbyGOSfxvHRmAIwczBq+OhNF0t71pO09sVdZ/P30IvrT8plIpVV SXbA== 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=x7SiiXtdSg/AZep1wp9+274XMIvkQ8QgBS061aeEDxQ=; b=yrOp4LAZT5gYVVujvmAmREtah3T6D6dT3VbMAHauQjKpgR/SM73I0tm8kiWrGU7IRi h6WcFm45NVzsCmxFi4RvlPpiwP93R6KD651/45G/7PeMwsnxHRVgFsNtYS5zW95uwyFR 08wK1lYbIkggJc2nq4B1nYc039PGj32QLYhAMb3WrYYls0+kNJl1ZBoCVKgMC9m8vhCi uhgQo1Iwy0m92qUCMjv4h1246yfMEYkOb1NEXV9G5RRUW7mHWg1sRtf6T3P2BhEse76y 9bB5K/N5P0lhNrqDd+mYamj9+ok7oY+kc1+2hX9J/7FTWPhebIpCoWpzPGRETamg5ONm McyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JXFXO1zc; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 10-20020a63020a000000b003c6cb44f1a3si3010239pgc.689.2022.06.01.14.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:40:55 -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=@gmail.com header.s=20210112 header.b=JXFXO1zc; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F35C111AFF9; Wed, 1 Jun 2022 13:52:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231133AbiFAUwH (ORCPT + 99 others); Wed, 1 Jun 2022 16:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229927AbiFAUv5 (ORCPT ); Wed, 1 Jun 2022 16:51:57 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 161F11F62E8; Wed, 1 Jun 2022 13:50:08 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id i1so2823413plg.7; Wed, 01 Jun 2022 13:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=x7SiiXtdSg/AZep1wp9+274XMIvkQ8QgBS061aeEDxQ=; b=JXFXO1zcpCArlFcjqNamEdZhPBE8QTNRw27l06VnUJHEEDQps6Dm5772r/lpF0AViL jUbMJSgInhoF8fdb/a8PpMX2AzWPXUUTWwzfc1Vo7fUK2iEBMlff4y+uaKtgXPiktz19 oqidqUJXRRsjmYEItFn7PFBxGcdwixIshv5AUWk2LPAZkEDVGJ+1/QdNh/A5PLeVLbc6 zrscESu8MJg4nKMF09oG0jnTFF3YisTl/GlUiL5dcaWeTR3WWSTpy1035Irsm5q9yE2U KOFOMCCfIXU9hzRSEjr/NKMZEfJ8TUaaW2u1WwbU7zoAV0JMypXlk/S+t4hEOUG7eKv2 k1bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=x7SiiXtdSg/AZep1wp9+274XMIvkQ8QgBS061aeEDxQ=; b=yTHK0Vez0ccqn3fB/u7WlHV7aT0x9Rkx5AmXfwxHJrOlkwWNJelNdG/etxVfOA5JRX Fv0A/ZgWf9s/OZlAoaG7W9NVTRSSv5JAi/lFIqOJodUUy3fOhC8XMs5ONp38p7deUrYN woyob9QIylvob/tyzTzXDK5bL1pYUIByU0SGNXayeJgD97on1yT0N7pl3xXMmD4F3fdk Ki8w0BUvz6G4uITmYh7GlyHmo4RcMJhunhIs6JLJ1PE2+cyLJrhunf8AbPmXuPJGfGVh snLBLcf94uAqsQ9kBsfoC+SNRkNiZGR1zOyJO8lEMXu/nG5m+zzHvkHJGiPEfHYboR0H kynA== X-Gm-Message-State: AOAM532xfZW/2w52rdoo4DMgeL5YFBhyZLmKqMg2aM5kUkG4SjTZaQMt QQpDdVUcuvF9MKXuTxGZuM8= X-Received: by 2002:a17:902:d5d2:b0:161:f03a:eb41 with SMTP id g18-20020a170902d5d200b00161f03aeb41mr1256063plh.65.1654116606735; Wed, 01 Jun 2022 13:50:06 -0700 (PDT) Received: from localhost ([192.55.54.49]) by smtp.gmail.com with ESMTPSA id h2-20020a635742000000b003db580384d6sm1739544pgm.60.2022.06.01.13.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:50:06 -0700 (PDT) Date: Wed, 1 Jun 2022 13:50:05 -0700 From: Isaku Yamahata To: Paolo Bonzini Cc: isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, isaku.yamahata@gmail.com, erdemaktas@google.com, Sean Christopherson , Sagi Shahar Subject: Re: [RFC PATCH v6 064/104] KVM: TDX: Add helper assembly function to TDX vcpu Message-ID: <20220601205005.GB3778155@ls.amr.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, May 31, 2022 at 05:58:39PM +0200, Paolo Bonzini wrote: > On 5/5/22 20:14, isaku.yamahata@intel.com wrote: > > From: Isaku Yamahata > > > > TDX defines an API to run TDX vcpu with its own ABI. Define an assembly > > helper function to run TDX vcpu to hide the special ABI so that C code can > > call it with function call ABI. > > > > Signed-off-by: Isaku Yamahata > > "ret" needs to be "RET" to support SLS mitigation. Thanks for pointing it out. As it's fixed in github repo. will be fixed on the next series. -- Isaku Yamahata