Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1179351rwo; Wed, 2 Aug 2023 09:50:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlGWm/JLTUSf/uvWb+GErHFKredxfboE0rivvkgzJYwqJatrGoUDK9CWOISGGMWP2CeJsyjZ X-Received: by 2002:a2e:86c8:0:b0:2b6:e361:4b3c with SMTP id n8-20020a2e86c8000000b002b6e3614b3cmr5645103ljj.14.1690995006223; Wed, 02 Aug 2023 09:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690995006; cv=none; d=google.com; s=arc-20160816; b=iQDVbDY7pF7xGQEr4/odoknLKOYvapfBN6cS5KhL/YYggRyZBOiCpfaSXtjBpvAAMO a5P0tih06NGxzk1yxMP3DqpM6H5bTNvEyI0wBYMI8OmleknOfyv49qravsTLinhANFJi RdUKa+ZNXLKwpS/SeRplfBKE2xV6KAlDALoxXEljhtUrPICq/B/YqdZQuisGt825dmHj g8B/U+bnIc9A9bkNuCoRAsjZxDL3rZNK0aCsvJOxJY1MobMpSVHeOAoETes+LPxKEugj Cu8Q7x0LSefD059AreKC0t41B2T/9P/d3E/Exc9+zWMF07HZYvIf74ac4Ujqpw38oesY tUqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=J4aKHKt7aK1dph2vrDmFCSsCX7pNGRd0NMwM4bEJgp8=; fh=Rg/Qb72yGgIS9SFLmhH37EhV7zRlAoFhOMnL3a7Hp5I=; b=05V9NWpGpWL3LMvfDbDRMu+VE9X3EpDvJNYUdZ+FDx3CLFpIPm0xcOOjgtg7qVHZ90 PckEFHsnBiWRaxABhhShxxbUpcC7bqwbcPaFoYS2I6PX6IdP8Xl7h4oPSkYRHo6mQf3y mYX/GpOLYFKf48d8bbQ6rg1tyY4DK4MCMigGkFMF04lfdF6k17j5T8LvjJPg3A1H2tXY wQ3TA/A9/dRrTZFpy0ksBJeSiT1AbfVEl8Dc5nfLMULAX7pbvJ03i5Kt7a7KCy5GiS7n UFE99NtM8IMuL+Aq+uK0ISmFruOjt4nqsO1ThKym7LC1v2Fof3n0kW+JS18B/p1am6Ud 7gbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=zT0xCNei; 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 ca3-20020aa7cd63000000b005222d16f2d4si7735069edb.533.2023.08.02.09.49.41; Wed, 02 Aug 2023 09:50:06 -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=20221208 header.b=zT0xCNei; 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 S230028AbjHBQKu (ORCPT + 99 others); Wed, 2 Aug 2023 12:10:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230486AbjHBQKt (ORCPT ); Wed, 2 Aug 2023 12:10:49 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 324981982 for ; Wed, 2 Aug 2023 09:10:48 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-c6dd0e46a52so7152857276.2 for ; Wed, 02 Aug 2023 09:10:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690992647; x=1691597447; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=J4aKHKt7aK1dph2vrDmFCSsCX7pNGRd0NMwM4bEJgp8=; b=zT0xCNei+dnr4osudv9CAX0NFIvpN9o/MM9DYDQ2quRiRk2ySEcgwiLx53XnB1e+LY cWfI4OmX27mBOaJ58zlzT26+ZLcNHSkLH9hi8/662YILNSSO1QkU4G145NcnSjse7Tfi xrBWi/aY8NG6dUaFl22owtMyugIfQwHdkO/hgFnA80wpzq4X517qJXwcuOIoXxcIvofm vONKX+ciK2E9BoSSjIdQ67NLAviV68y9PDQBJ3S/jrfYmNcLzOoOg269tqqWjlilRydM bYWsCmY8tkmpgydfPs6qY/prFitzHw68WvsqFmR4BcVKfrWapat3cp0d7IklIiRVq+z3 Zr2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690992647; x=1691597447; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=J4aKHKt7aK1dph2vrDmFCSsCX7pNGRd0NMwM4bEJgp8=; b=AsrSfeWITqxY1l/86Gxe5Sny3d7rL29TLAQtinZSEOR53b+qFIsj4FAq7vu0csWGcD DRIs8RLFcwF9i+y8xVJj0qf9jY1lXM5QI8rMJOL4Foyz+F4X6KW7JOHPp8Pwg1/aqAe7 G6IKcxBRA7MhSgwLdR7MukUSRQD/V8LpNq1c/Aqk4B87XszmEQfpYVm2ofxTrK2K+wy9 ePKuubSjkFoXxNkBB2BDH7uOHnu2JzkfOzQ7wnSifT8DHMGlZU3VqYzeh1pJd9cEVaeP 1WmifgVc+kG2tF1GgdLnHwM0HLWJz9qKhiDBZND8I3UTBjj1nqHYEiZoQ1jVbxwGDrVN X46w== X-Gm-Message-State: ABy/qLbmrxIEC2Jh5OT/TzhWeDMtzvG3HUT8VPYuJQgvzrJr5tsPdxT8 EwbvUqYLtcuuLVFqsrjbGAeknZ4RFW8= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:ab0b:0:b0:d0e:e780:81b3 with SMTP id u11-20020a25ab0b000000b00d0ee78081b3mr101602ybi.2.1690992647424; Wed, 02 Aug 2023 09:10:47 -0700 (PDT) Date: Wed, 2 Aug 2023 09:10:46 -0700 In-Reply-To: <878ratqw2l.wl-maz@kernel.org> Mime-Version: 1.0 References: <20230722022251.3446223-1-rananta@google.com> <20230722022251.3446223-2-rananta@google.com> <87v8e5r6s6.wl-maz@kernel.org> <878ratqw2l.wl-maz@kernel.org> Message-ID: Subject: Re: [PATCH v7 01/12] KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs() From: Sean Christopherson To: Marc Zyngier Cc: Raghavendra Rao Ananta , Oliver Upton , James Morse , Suzuki K Poulose , Paolo Bonzini , Huacai Chen , Zenghui Yu , Anup Patel , Atish Patra , Jing Zhang , Reiji Watanabe , Colton Lewis , David Matlack , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Gavin Shan , "Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?=" , Shaoqin Huang Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_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, Aug 02, 2023, Marc Zyngier wrote: > On Tue, 01 Aug 2023 01:42:54 +0100, > Raghavendra Rao Ananta wrote: > > Thanks for the suggestions; I can go with a common declaration. Along > > with that, do we want to keep defining > > __KVM_HAVE_ARCH_FLUSH_REMOTE_TLBS in the arch code that supports it or > > convert it into a CONFIG_? > > This isn't something that a user can select, more something that is an > architectural decision. Maybe in a later patch if there is a consensus > around that, but probably not as part of this series. +1. I agree it's annoying that KVM uses a mix of Kconfigs and manual #defines for the various "KVM_HAVE" knobs, but we have so many of both that one-off conversions without a real need don't make much sense.