Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1045515pxb; Wed, 1 Sep 2021 16:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwudTfOM3UPZjPK/JgAwD42fclIi7tQTyDOeONY0TDCBc2TwT//giBpqwoI/EyFIOSd9q1/ X-Received: by 2002:a17:906:6c8f:: with SMTP id s15mr328929ejr.52.1630537777041; Wed, 01 Sep 2021 16:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630537777; cv=none; d=google.com; s=arc-20160816; b=ibyzRNuxRozVp5O2se0i3bCuShnxVUXyvdSklkboYICA12umV62RBABMNgGg8ylyJQ 4DWLFyTcqQmHb/Eby2Ud4ush4/ccCTWDXWr8y1SN3weuzyN7pFZ9yCl6pXILK2o1CgX3 9TYg9RXosmU4QbFYNbtiZn37XdIYdAMFrhSdY3yjO2rCY2Csxuxyp3KFLQAKBWfv+sa4 RSPZXFxR9gNPi90m53rqLEd/5KvsFfj8/r0/22U7bgzTJcHDBHJzW12EC8B/XssCw7Bu 6nLwefLZXya8fmfxB+higL7nr9K5fyRJuV/S70VqbJmHqRgUAgF1TEf7RX14WmJadqkt lj4A== 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=IIkEYN/zkqRwKdkFSskoNZeF/xcwIFT7kXI6bRG007g=; b=w+jzt2Pd7kwGGVj+0yLkWqxA/xzhXmHnBgGcTN0mb/2CkzorIhibmFjLqIaCAm28+0 tRt9E3B8WALgh/5xHA9s63ONFK6lrvUH3oKHSVlAIpf0Bhp8s31up/eNipL7Ew0txCtN bv0VXpHt90EbnF7b/QzOsPQlqf+jYPKBjyOxiJy+kwoFQAfLap5c70ADGH7VKoJX6kFZ 3yT+iNSUmNv2xiSCWydjYmuvJxssPlJMgtaHpKEX44uvo8EnYv2kIJ1xe1ER4kvoDRLd q9LleEuVxFnYNxLkHXyrh3q+IfrUAgoZNTk+e3BqZuhs0RywbiN9PpYNxd2V2HQI5ZOp Em1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dUgjBt4H; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si156243eda.417.2021.09.01.16.09.01; Wed, 01 Sep 2021 16:09:37 -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=@google.com header.s=20161025 header.b=dUgjBt4H; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbhIAXGH (ORCPT + 99 others); Wed, 1 Sep 2021 19:06:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbhIAXGE (ORCPT ); Wed, 1 Sep 2021 19:06:04 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B86C061757 for ; Wed, 1 Sep 2021 16:05:06 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id gp20-20020a17090adf1400b00196b761920aso118977pjb.3 for ; Wed, 01 Sep 2021 16:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=IIkEYN/zkqRwKdkFSskoNZeF/xcwIFT7kXI6bRG007g=; b=dUgjBt4H9jP3nfaLhbtcM7L9zfWITNYwixqO8H1IHP/vYd5LxMFLqwhxd+O/i15UJ4 Tmi3b8bMBrACyaRE3kwIG0ZK2ZGmiIdN7nkdN3uXTzd/YJVzVYscvxYXJ/upqEBnHf81 HJGvsexFNAA7fea2+pD6EbRHDS0QwgNZH7bM+ZS4xaqI378frujD+kL2xrmeqc9xn5OX RcaYlV4oL1WfmrnIoqOnuhTJer/40BvlDK/pAIIcNFiepom0zDfkgEkNkwdJG2+Lg6ex TDr7/AtVUBPwnIXXnvFUvYvXdwZ5hrUwL/GQY/P+osHpTFlRNvrU1EHuSsrnS6NmYpuB BOYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=IIkEYN/zkqRwKdkFSskoNZeF/xcwIFT7kXI6bRG007g=; b=olGEj9mbd9DIjw5POnNhmzfsh7BhJroVzjN0m18oKKi4oAgI1NLxZF+50r7YOAb/MP E30xMfOPA81THXE1391O+hfnkTbmGbtVISpJtsP4EgKK7byoidkj5H+T2xneBWICDLbl h4Z0FUnpLDxoN1O0+RzBEYYfIOwdLJ5Eg6JBxrmvWh4hmFckjLe7gR29jWH8XChvcfwo d+H6B5TtNUMOmmG7qRsH+nyAaN3QN+y9KMTKJnkGLWMz6F0CzpufryBQAhETHQCdGxWE gZFi/qRMuiRaB0y55/j4PNmsDMmEGTG6QY8DHgLuFDiYsAJtnfZ/KTzKDxn1rU7CkBdP TnfA== X-Gm-Message-State: AOAM532Zt+ohUXGRc/5sJlLct0T32LOZZInK54ho4C02BSDIhZgi/lhp r1zeepoNSg1TfR9WYEFuRfUakg== X-Received: by 2002:a17:902:8604:b0:137:974f:f87 with SMTP id f4-20020a170902860400b00137974f0f87mr103411plo.54.1630537506174; Wed, 01 Sep 2021 16:05:06 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id o15sm66668pjr.0.2021.09.01.16.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Sep 2021 16:05:05 -0700 (PDT) Date: Wed, 1 Sep 2021 23:05:01 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, isaku.yamahata@intel.com, David Matlack , peterx@redhat.com Subject: Re: [PATCH 07/16] KVM: MMU: change try_async_pf() arguments to kvm_page_fault Message-ID: References: <20210807134936.3083984-1-pbonzini@redhat.com> <20210807134936.3083984-8-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210807134936.3083984-8-pbonzini@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 07, 2021, Paolo Bonzini wrote: > @@ -3919,25 +3915,25 @@ static int direct_page_fault(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault > else > write_lock(&vcpu->kvm->mmu_lock); > > - if (!is_noslot_pfn(pfn) && mmu_notifier_retry_hva(vcpu->kvm, mmu_seq, hva)) > + if (!is_noslot_pfn(fault->pfn) && mmu_notifier_retry_hva(vcpu->kvm, mmu_seq, fault->hva)) > goto out_unlock; > r = make_mmu_pages_available(vcpu); > if (r) > goto out_unlock; > > if (is_tdp_mmu_fault) > - r = kvm_tdp_mmu_map(vcpu, gpa, error_code, map_writable, fault->max_level, > - pfn, fault->prefault); > + r = kvm_tdp_mmu_map(vcpu, gpa, error_code, fault->map_writable, fault->max_level, > + fault->pfn, fault->prefault); > else > - r = __direct_map(vcpu, gpa, error_code, map_writable, fault->max_level, pfn, > - fault->prefault, fault->is_tdp); > + r = __direct_map(vcpu, gpa, error_code, fault->map_writable, fault->max_level, > + fault->pfn, fault->prefault, fault->is_tdp); More unwanted spaces! ERROR: code indent should use tabs where possible #95: FILE: arch/x86/kvm/mmu/mmu.c:3951: +^I^I^I^I fault->write, &fault->map_writable,$ ERROR: code indent should use tabs where possible #96: FILE: arch/x86/kvm/mmu/mmu.c:3952: +^I^I^I^I &fault->hva);$ ERROR: code indent should use tabs where possible #123: FILE: arch/x86/kvm/mmu/mmu.c:3987: +^I fault->gfn, fault->pfn, ACC_ALL, &r))$ ERROR: code indent should use tabs where possible #147: FILE: arch/x86/kvm/mmu/mmu.c:4008: +^I^I fault->pfn, fault->prefault, fault->is_tdp);$ total: 4 errors, 0 warnings, 180 lines checked