Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4721881pxv; Tue, 6 Jul 2021 07:40:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRpKOuvCEZZGsQILO68D2SoZE62dR1pqmdSdc6raWo7xQETCo6GTy+1/b51qOI1Bcu59Iz X-Received: by 2002:a17:906:f6ce:: with SMTP id jo14mr9499172ejb.308.1625582430887; Tue, 06 Jul 2021 07:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625582430; cv=none; d=google.com; s=arc-20160816; b=MXGlh1UWwAZ1XgC7p8HBQmPrbZ1crluLWtyadUhwU6krZKsMB7EGuOmC2l2/ovGDY4 zY+Q7uqMpXi+LoOcj0qyIIi4jONWx61bq1Nwa+Bsrfhy3b9mloCv2PJQ+O+sNj36+a4n WwP5l7iHvNhLogItyxELfRWilUjC6tKgWuAzfS1NVE/G71U3UpIYkFVR8f8ZbOTlIm+i HQuFVRuHuOU4ViE5XC4m7XQeMMXBWt1ruDxGFCSaaQKEEnxgxXTQaRNl3dFRpFhIERhz pdsGfk58VQieoYoqyOCk58yO6duPdubXKMzv026aQS+7b2mdl4DXuqELkpmfyqrsn9iZ vKCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ZxW9Rv0F8Pv8lXM8dccMdV9Dj0K23zHOKjCbKUj49i4=; b=SURqxLbQY8wS4sT0Jz1z3YtOvfX81dz3XPvaewGqNL1YiN491y9f6sk3MIUK+TxW02 K518hExZsQVjLTAbEPDw8ewvazBe7AzQ1Ugjd6yqHRBPKZ1jyUvyUKo88uSadmzyUiPf qlFk4dXVjZuwKDxzmkGu2AbrlaZsYLNzDbe52ogFQsu4bUZxCDdSKC1Gnl06IM93fwlZ oMWNLva9m666jExY4HjdnsE7sOIjIAV7602joYELvXKoDOuF2n+wZc5Oa+B5ysuTAGR0 ycjfH4bLSRENIQt2Hw23UC1qFcdrtMvzSY664Ym0FR0NefFt77AOq7wYC/nhYThdKBiB AHvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L51ChAVO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y15si15478434edd.287.2021.07.06.07.40.07; Tue, 06 Jul 2021 07:40:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L51ChAVO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232166AbhGFNnY (ORCPT + 99 others); Tue, 6 Jul 2021 09:43:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:32751 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232064AbhGFNnX (ORCPT ); Tue, 6 Jul 2021 09:43:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625578844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZxW9Rv0F8Pv8lXM8dccMdV9Dj0K23zHOKjCbKUj49i4=; b=L51ChAVOX9HzAiOnbMSwYFbQDkO5bMCii4Ta1I8MzvmDDUy1gEiVMueiS0idZ+0qrMYj4k EWjAPI4ZU9dAv2NX2RX6Fv5cP8MIp61708/3n2xbtjk816NIqYfk1LTdqUTMIz2lAUqMH9 hUEPuKaFcDy6P2e4yFnv1aEag0P9nxU= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-265-zobyMnzdPVSDN520WAWWmQ-1; Tue, 06 Jul 2021 09:40:43 -0400 X-MC-Unique: zobyMnzdPVSDN520WAWWmQ-1 Received: by mail-ej1-f70.google.com with SMTP id de27-20020a1709069bdbb02904dedfc43879so1368843ejc.1 for ; Tue, 06 Jul 2021 06:40:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZxW9Rv0F8Pv8lXM8dccMdV9Dj0K23zHOKjCbKUj49i4=; b=s3sh4xL/Kdw6TqxZexKle4lMoaVXAv7UMInz8E37rtxeS//GBxpnHcoOxM4KSo5gZU ys0t3KhXTI8iXF4/zNeHjOJSEAhPuWLX8J6MW8QDoIeT8xmHnDJVgmotya2Od4ZFHO6n iTemlwE/Bxf08FdHAbpicMVRunx5YRGagF2OeMgyaez1C/eimeUFwdtaDgjGTE/DENRb /RobPLY65USZVEWxHy+cDtOsNx1KtUyNQXV2mTItzzfbvIHkFNOgHvspDnp72uCDi8Te 2dxblEHCsWk6Rqh9ZuRaileGAZbp0EKvbUr8KE0P09MirTsRCRYagqTzaQ/HnCf9YWyI pjrQ== X-Gm-Message-State: AOAM5300u0Yh37cAAjpd9zSUhSsA865XYqk32r8v8Wo7pgOp1A9NxvUX yjX1mxSQuSCYNxUIGY4cbCrNP6/G/MTYj2Fi4JEswrhJUahg6QxNSqi+jKa2B5+wertYlrCLfmv Vyc1iFkfBLC4JFcIklulh2sl3 X-Received: by 2002:a17:907:da3:: with SMTP id go35mr16895067ejc.243.1625578841909; Tue, 06 Jul 2021 06:40:41 -0700 (PDT) X-Received: by 2002:a17:907:da3:: with SMTP id go35mr16895046ejc.243.1625578841737; Tue, 06 Jul 2021 06:40:41 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id q5sm5727972ejc.117.2021.07.06.06.40.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Jul 2021 06:40:41 -0700 (PDT) Subject: Re: [RFC PATCH v2 15/69] KVM: x86: Export kvm_mmio tracepoint for use by TDX for PV MMIO To: isaku.yamahata@intel.com, Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , erdemaktas@google.com, Connor Kuehl , Sean Christopherson , x86@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: isaku.yamahata@gmail.com, Sean Christopherson References: From: Paolo Bonzini Message-ID: <323b4e32-1db4-ef2b-4780-cdd1bce55eae@redhat.com> Date: Tue, 6 Jul 2021 15:40:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/07/21 00:04, isaku.yamahata@intel.com wrote: > From: Sean Christopherson > > Later kvm_intel.ko will use it. > > Signed-off-by: Sean Christopherson > Signed-off-by: Isaku Yamahata > --- > arch/x86/kvm/x86.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index 795f83a1cf9a..cc45b2c47672 100644 > --- a/arch/x86/kvm/x86.c > +++ b/arch/x86/kvm/x86.c > @@ -11962,6 +11962,7 @@ EXPORT_SYMBOL_GPL(kvm_sev_es_string_io); > > EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_entry); > EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_exit); > +EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_mmio); > EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_fast_mmio); > EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_inj_virq); > EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_page_fault); > Reviewed-by: Paolo Bonzini