Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3314522iob; Mon, 16 May 2022 19:06:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSW6xnG7579dW4Gl9nIprmpcNysHMEJWry+22AeUbaLO1goXj0+nw2HFiteyEAjxn8Q/FP X-Received: by 2002:aa7:d501:0:b0:42a:aa82:e4ef with SMTP id y1-20020aa7d501000000b0042aaa82e4efmr11305214edq.241.1652753179083; Mon, 16 May 2022 19:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652753179; cv=none; d=google.com; s=arc-20160816; b=JpxGs0Cu5Ks4J4QiShSFQ2clJQYDZ8YqOhFyGi3EiCGy0NzN7c30j0Wh3BLYYW7i8v 9DswowF8QVjYJETgC1j9MWD6h1Ry/tEzS9TYQf+lawtVaUDgudKcw/y7Uf9YjFZPYlsh Bz8yCVpRSC8K4kzFQQht7Zjk87EGPHHb+o8EdCQu7Zm6/QdCAAzJ7W4vynVa1j9Tv6cE y3Tw4A7+IoV0nGx2ZeDhKm2LVBHZreExpyDXPaYFHFx2tdQue0JdmX3YNiIMswt5Vx0s J5NMVy+wBzfE5oNN+pxn9WLuHD5mm+c/X1VgJ/eVXnq6qF6Vme7L8Y8oP+nKJdluWiDQ TgSA== 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=MiA2IbbGB4PrztiBYAGqSxVhR5Rwcu/jU2Fpvn36Dl0=; b=nfr13RG8R8kmgEeyheDG2Ow1mlxn47Bnfgs3AvA2Rtxrx/4pPSULNzXYxpEBPv9Df7 3XXsifrPPEjbtvhwe8LNIL9/rbXnvP4Da+PRJ9jG9EluTFULEd7bmm4B5c1StmDj5seh HG2CcCx40L1ixZXeldmKq9rdr+siBWMyO88TReNkcpnGIov189toWdS+z+QdeP4yV1pU NPmE9jFsvbFfsiT0gaxkVHvw/UMd/8Kszj4THWuK2VyouECGv7yiHd27YMA6IKO0oFd6 6AJYCI3yIybOVNFViiYD6PY/TBfyXHNmqLH5xOLoElW/0YhZ3q9WqzDe8fi1+2BHdpqq Oo7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=deJtJBiC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs26-20020a1709073e9a00b006f3c6ceb0efsi1264023ejc.51.2022.05.16.19.05.53; Mon, 16 May 2022 19:06:19 -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=@google.com header.s=20210112 header.b=deJtJBiC; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347693AbiEPUWL (ORCPT + 99 others); Mon, 16 May 2022 16:22:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348923AbiEPT7D (ORCPT ); Mon, 16 May 2022 15:59:03 -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 09A6A3ED35 for ; Mon, 16 May 2022 12:52:57 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id oe17-20020a17090b395100b001df77d29587so344618pjb.2 for ; Mon, 16 May 2022 12:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MiA2IbbGB4PrztiBYAGqSxVhR5Rwcu/jU2Fpvn36Dl0=; b=deJtJBiCfl3UmX5GrP4pGKU4l3G56jfiOmXHqodW6G/JMHuzegFzyHLrLeu+ZaHJkg NmN40D91Pl+R2RlRC4Jo5htGdRwHzZhP5A/FL+L0HT4z5xXc5nOo22Qqc1DTZZ7VTcAO W4mh6HvlyBjzkOcNSOcolsmPzM80BE14dVS/8ewQQuSd0OGpSfOVLvkpA+KWxYzObt+O cPHv7+4KH2Dn3pa0srAGD45Z+roR2Z33UakwPw6V99hO6dKk1/cmC3CVpBlrDNZMJ//o c8igbCLZxPOHU2OONg1QdnFk5l5IEkUTgpV6xdqR8UOxb+0bp6XrWxEuBMIFkarojoai 2qig== 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=MiA2IbbGB4PrztiBYAGqSxVhR5Rwcu/jU2Fpvn36Dl0=; b=MjIEJHpyOvbV/38HQktmIqKJ31U+pQB07O5uEnlYDsBI2+gpXTF2TtCPrzDKLCyhhL Nroa49pSDtCyt0puEPRSkp+4+p27D+4y5W4uDdaumfNl1eraTsb0d9eKNH11j5mUIqBj 4Tln2AgPg8iwnlQ4T9yr7Z0uRwTKsJ6TP1eiSoFq5kLk4LOeXg3fz1Gx/8EbvjAKbpkH iFA5Vye09T3wn8Edwcl+PEcuujnVRPWAB4WZl6D1KfyF044HWMA4SeXCZTuqBQENBaf7 WB63WOT+p3B1Cs7vi+EVhFU6E5/w3QiTHaQEbQR/Ya1VMkKGyGu2QyPsr05I6qlY/EVU C9ow== X-Gm-Message-State: AOAM530SjkbXPsF/F25IOTEChqVO7EQty0aGNuYZ9Iq9TJ9U/wWQUIpp ESfyM7IdoDnku+ul6ZVx7T+kdQ== X-Received: by 2002:a17:90b:1482:b0:1df:5b39:8a4 with SMTP id js2-20020a17090b148200b001df5b3908a4mr6265490pjb.233.1652730776434; Mon, 16 May 2022 12:52:56 -0700 (PDT) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id q23-20020a170902bd9700b0015e8d4eb2e2sm7337538pls.300.2022.05.16.12.52.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 12:52:55 -0700 (PDT) Date: Mon, 16 May 2022 19:52:52 +0000 From: Sean Christopherson To: Maxim Levitsky Cc: Vitaly Kuznetsov , kvm@vger.kernel.org, Paolo Bonzini , Wanpeng Li , Jim Mattson , Michael Kelley , Siddharth Chandrasekaran , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 09/34] KVM: x86: hyper-v: Don't use sparse_set_to_vcpu_mask() in kvm_hv_send_ipi() Message-ID: References: <20220414132013.1588929-1-vkuznets@redhat.com> <20220414132013.1588929-10-vkuznets@redhat.com> <94cec439f345313c1a909f6a012665dd10686d47.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <94cec439f345313c1a909f6a012665dd10686d47.camel@redhat.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Wed, May 11, 2022, Maxim Levitsky wrote: > On Thu, 2022-04-14 at 15:19 +0200, Vitaly Kuznetsov wrote: > > @@ -2089,8 +2108,8 @@ static u64 kvm_hv_flush_tlb(struct kvm_vcpu *vcpu, struct kvm_hv_hcall *hc) > > ((u64)hc->rep_cnt << HV_HYPERCALL_REP_COMP_OFFSET); > > } > > > > -static void kvm_send_ipi_to_many(struct kvm *kvm, u32 vector, > > - unsigned long *vcpu_bitmap) > > +static void kvm_hv_send_ipi_to_many(struct kvm *kvm, u32 vector, > > + u64 *sparse_banks, u64 valid_bank_mask) > I think the indentation is wrong here (was wrong before as well) It's correct, the "+" from the diff/patch misaligns the first line because there's no tab to eat the extra character. Amusingly, the misaligment just gets worse the more ">" / quotes that get added to the front. I usually end up applying a patch to double check if I suspect indentation is wrong, it's too hard for me to tell based on the raw patch alone unless it's super bad/obvious.