Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1577180rwo; Wed, 2 Aug 2023 17:08:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNgA7dXAE0NJl4xa6F/59ltLOeaEmSwnYm/z1aBSi56fi9EPjRmpNPaiU4j3nPngKSYKaW X-Received: by 2002:a05:6358:6f01:b0:134:e301:2c21 with SMTP id r1-20020a0563586f0100b00134e3012c21mr8090348rwn.15.1691021314378; Wed, 02 Aug 2023 17:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691021314; cv=none; d=google.com; s=arc-20160816; b=a6gn8u0hobeOPDJJwqe54tUXK6OWQkFB7Bi1QzrfuY3aRFWRatkDJABdN0ISRkN4ir 4DA6dbZOPNbyaiFZTnHC1YfJR6PYB8M56m473FJI2pRAUrxXRw0NgFJLmAnCAc+A9MMz VXGHR7dsI56I4ZujJIHGviLRa/4hPGLUeT3FDtoe3VVX9vqtkWS5vZpLso2n8MFnnSa/ oGarQk9ajkdIXIjk/cd1YGLFEEuLJReuQyfBDcagtbP8JWYSQLr9A8ZH5C4e0ZBvWQv5 isU7UBF75QdT9hxp+cs3byD4Jng6FElf1IY/gSGX/xk0Mpq4jawkuFv3CLNE/gt2wFzS cphA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Y9p/r3/7OOEeGD98k45cJqzqj6mNEuBO34pHN8nni+M=; fh=tFmNYfut2FotfAk4IGOQC2nXgt5WoiggL0hdeUzDomQ=; b=1KafLAzE0d9QAUNxoPIW9EzqW298jWhfhyB+IUbMp7pTBIL5SgcAgxUqHa3MvFtwDv tFJwvgkN0tHHu9eBxcOdYBDf1W6ohgcksqSpdYnkxj/0dRxj8y2p9MaZL93KaA3vMIHy NEJHNlA74zpRv8O364Y90Cd8mdiQ7PtAEvNHeOk6+HDLypYedi+Z4yJrGmic5cAYzZFK PJIAbLIhU/8c5M0NVsmzNUfI8JcsQGXuF4x4Gutq7kQfxFZY5Xfjt5eb8bgt90BVG3a+ xZJLrtf/8jLkOQFmOf/dgOKkA4422HYIK+9z38Qm3PQ90fCuNw6XdHcss+0ty2hfBPeF CEHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=fFKN5nHb; 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 v24-20020a63f218000000b005648b1d63aasi853050pgh.553.2023.08.02.17.08.21; Wed, 02 Aug 2023 17:08:34 -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=fFKN5nHb; 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 S232724AbjHBXaz (ORCPT + 99 others); Wed, 2 Aug 2023 19:30:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbjHBXax (ORCPT ); Wed, 2 Aug 2023 19:30:53 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F20269E for ; Wed, 2 Aug 2023 16:30:51 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-3490b737f9aso58265ab.0 for ; Wed, 02 Aug 2023 16:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691019051; x=1691623851; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Y9p/r3/7OOEeGD98k45cJqzqj6mNEuBO34pHN8nni+M=; b=fFKN5nHbyv551/4W30i+xv9zwo+3QEZKGkdrHoMkNbWnp7D69/RlaUhp/eF6/2v5F3 PY4ootJGDhDcUwe+92UvbjD4/1toXHiTlmtImD9LT/8YQiZYo1yq/3Gd4/VDg79/Fjr+ 6pmjunqIV0Ca8hZsxV+aVu04NE60qfC1zia2pWkVAMNlEmBowfsdO+ZCG2YoM1jl/JLo g0hFzMkrepyVv2HBAO+grYkMtS7Ff2jFJXIxiFQF080W3PmgZFJzBwbn5Io3N8oYuy6R Dxbqqy14GybNEz0zpdK7tsmDcO74eEg1QwBJKVXI6nZoxgpf0g/I8paf+i1lAj70Gw7g RYxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691019051; x=1691623851; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y9p/r3/7OOEeGD98k45cJqzqj6mNEuBO34pHN8nni+M=; b=Q7pt3XK3+5e7fwT4PQYVetcAyxXssiM2tYaPJxg2DtSDXuJDbFjX1PasRNH/Q3fcjA 9ACsJQ/OuqrxQyJZEYctzKxzbwkapKjZGXMMRhAiwO+CIyrbB0dYFkw58IRF4Cg6pFeC NVNnX/U4Pl6MqZAQBUmSpKOV2XzA5Vx7hCbJ/GH/IY9bQsMI9ogXTntVRkUJWnfomI48 N51SQfkjoSo3fLfms/k7xvnE3YrY9Q+yVF6Lu3Yf+INqZ3bqFb/RPReWQAC4Ak5WnUpg 4kR6Tah5LpgkCaZ9SVTTl0DJaZ2L/OCnSsSh+DeyPgaHPuLaQC6ecDsndj3BT3yHd716 e0/Q== X-Gm-Message-State: ABy/qLbH2HuVL6RqheCDqXnjwPhFKL/SYTiHWxB6FTSuzC0RsYNd0XDy HcOAag7vcGTmrLJ5X2I//jvX+XObsfJLvpHIBotcyQ== X-Received: by 2002:a92:c54a:0:b0:340:502b:1487 with SMTP id a10-20020a92c54a000000b00340502b1487mr1178689ilj.12.1691019050973; Wed, 02 Aug 2023 16:30:50 -0700 (PDT) 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> In-Reply-To: From: Raghavendra Rao Ananta Date: Wed, 2 Aug 2023 16:30:39 -0700 Message-ID: Subject: Re: [PATCH v7 01/12] KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs() To: Sean Christopherson Cc: Marc Zyngier , 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 , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= , Shaoqin Huang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Okay, so just the #define in the respective arch header with a global declaration. I'll consider this in v8. Thanks, Raghavendra On Wed, Aug 2, 2023 at 9:10=E2=80=AFAM Sean Christopherson wrote: > > 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 o= r > > > 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 #de= fines > for the various "KVM_HAVE" knobs, but we have so many of both that one-of= f > conversions without a real need don't make much sense.