Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1327821rwl; Wed, 29 Mar 2023 16:23:47 -0700 (PDT) X-Google-Smtp-Source: AKy350asJrox723izSy3Zj+QaZIl98vM4uy+pPzlyS0Dk15bmNHwgpUb+PhH2L7unwmUYrfNGXSt X-Received: by 2002:a17:907:9d1a:b0:8a5:8620:575 with SMTP id kt26-20020a1709079d1a00b008a586200575mr21601348ejc.3.1680132227220; Wed, 29 Mar 2023 16:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680132227; cv=none; d=google.com; s=arc-20160816; b=kciMTcdcf/PIBJQjSyZjnFPyLauBFSa6hlwh574adMQYH2SJdyHEyMblIiyjt898tr xBuuh4vlUqBgp9OAriACk22QOfnOuCuhBqHteliOix8/0mA69WkWWMWBkfb1K4Y+DHVo 3x6sQ4EgIqQGNfkxH/SXLBMfzQNB2gIQy0XhdGAPSrSWWwsFM5OZTL0VEpa/zLjoHSTc 7JcerP26jEceZN+eS/1buhVpoRdQkJmUKtzgTwALxFswdOulq0xZ/EVUCmV5cJPSmMHf FiBZiqDhYD/hxM/oWt4LTeCXRez5OsiUOsxQnbkwCS06eUWHeI4tQwPk/0Q+97pKOHdg 1qFg== 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=Rxq/vuSpInfYGqF100OlU+qAGSifmYxPvkU49clv7gI=; b=yOPslK2yOu3FxkqpYWJDEMoQotOqKoFtR8l1mJ1bj+sbOrnsYO39c0yKKqZpfviSnU o7lkXmwBSjy+ijTV/ewA61jMgRwqhtoJ/Qf4HRI1q2M+6unc19z1yCrdvK2SJ3CI7B// dkrSR7XDiyBoz1qTW5Q5wBUKoZ+wRsXM6blBaMQT2ECB2gKIJhN1VbTmvenls06L9eu2 0qZvpW6yY+UN3/IyPje25GxJIm7gmbngSh6mOV2Q1+2+OCqgXnT8k4LBrPL4c+21nAoz csJC89NFugIx8n0uEpR7w9GL48qF3Gvp4IQZqDmticmzYX5Sd+jgAeWaT0zkXGq5v75o o3lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ew0P11Cj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w12-20020a17090649cc00b00930d1b8e44dsi498972ejv.345.2023.03.29.16.23.21; Wed, 29 Mar 2023 16:23:47 -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=@gmail.com header.s=20210112 header.b=Ew0P11Cj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230504AbjC2XXB (ORCPT + 99 others); Wed, 29 Mar 2023 19:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229735AbjC2XW7 (ORCPT ); Wed, 29 Mar 2023 19:22:59 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B52D926A4; Wed, 29 Mar 2023 16:22:58 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id j13so15601093pjd.1; Wed, 29 Mar 2023 16:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680132178; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Rxq/vuSpInfYGqF100OlU+qAGSifmYxPvkU49clv7gI=; b=Ew0P11Cjc5Sfc4IF++NP/wDrXiOBhGgsRa/u+WD31TSlFZGiys9CS31gMyEsj1DdxB fC09rc6XFylQDwHIA4pjwiztVeNeepTV2tCoa486LOaqPYT3XIX7zdl+zsaclQamDB5u bn5r9LrUyjGaRgICe+E8Nv6TLNGP+3nrRcX+McsHBqlx8DOEnnDZ5HHp+tkxGX3CTjsI fSl4bRZh5zrPMpwA5xVXi6BcvfbFiWhHl/N+UYc3d0UAqZou3Le5/lBsxIFarKKQH6Z5 qiMP0lDjOBgsYvNpzmJ0HDj6xBGkQYhUUddeIWhzZLz7eXfhDZZ7mJc4WuFtcwhBJJOm vGnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680132178; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Rxq/vuSpInfYGqF100OlU+qAGSifmYxPvkU49clv7gI=; b=ss1cBr+hqwaY7+kOT8e1Yeq8TKpvTaQz4raI3qjwys4Cy1kyq2XsDnAdGBEVRGG3QO FtDjyikG5DviYWxtKpiju+MARkduezC7sNKhCUANGb9Emtrh+b2wVIsHLN8RjI4PbyKk boaB/y/bis1evOqCmVxDat5JNzcRB4QewDqk2dgWLOHg5hdMhjVFwETHnlLVMxMa9R8d Hgiiz84HsC0qGmzmPjxTm4VJyEKELf4JDVmPvc4SOpVPZTsiIaSY+7bYDncsdvEpn6bN j1wstuHLzEfRE2iO5Nwa6CMN4KbH0YFqrFSMqIa9dSpSV8tx0zmNfYg43PEZulu026lU vLSA== X-Gm-Message-State: AO0yUKVadwP3EYwrwuEUJ9vWoXVzaYs/f5m5qbMfNDJX7VqbnerQXR3F IDY2i8eLpWM0cUpqf4Rd70I= X-Received: by 2002:a05:6a20:4a13:b0:d8:afd4:4ac7 with SMTP id fr19-20020a056a204a1300b000d8afd44ac7mr17731367pzb.4.1680132178038; Wed, 29 Mar 2023 16:22:58 -0700 (PDT) Received: from localhost ([192.55.54.55]) by smtp.gmail.com with ESMTPSA id i22-20020aa78b56000000b005aa60d8545esm23531104pfd.61.2023.03.29.16.22.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 16:22:57 -0700 (PDT) Date: Wed, 29 Mar 2023 16:22:56 -0700 From: Isaku Yamahata To: Zhi Wang Cc: isaku.yamahata@intel.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, isaku.yamahata@gmail.com, Paolo Bonzini , erdemaktas@google.com, Sean Christopherson , Sagi Shahar , David Matlack , Kai Huang Subject: Re: [PATCH v13 017/113] KVM: TDX: Add place holder for TDX VM specific mem_enc_op ioctl Message-ID: <20230329232256.GB1108448@ls.amr.corp.intel.com> References: <7cdfc307ea8717849e71063ceebf1e328448e773.1678643052.git.isaku.yamahata@intel.com> <20230325110550.00006091@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230325110550.00006091@gmail.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Sat, Mar 25, 2023 at 11:05:50AM +0200, Zhi Wang wrote: > > diff --git a/arch/x86/include/asm/kvm-x86-ops.h b/arch/x86/include/asm/kvm-x86-ops.h > > index b46dcac078b2..58fbaa05fc8c 100644 > > --- a/arch/x86/include/asm/kvm-x86-ops.h > > +++ b/arch/x86/include/asm/kvm-x86-ops.h > > @@ -117,7 +117,7 @@ KVM_X86_OP(enter_smm) > > KVM_X86_OP(leave_smm) > > KVM_X86_OP(enable_smi_window) > > #endif > > -KVM_X86_OP_OPTIONAL(dev_mem_enc_ioctl) > > +KVM_X86_OP(dev_mem_enc_ioctl) > > I guess it should be KVM_X86_OP(mem_enc_ioctl) here. Yes, thanks for catching it. -- Isaku Yamahata