Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4834557rwb; Tue, 8 Aug 2023 14:56:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWlguej05fa4DEUnSQAykauWg8/zKPmjMAGNdByz7ghMMd17qx7u9OWRgaZ4S65697nLPN X-Received: by 2002:a05:6402:74f:b0:51d:9db8:8257 with SMTP id p15-20020a056402074f00b0051d9db88257mr817730edy.30.1691531794270; Tue, 08 Aug 2023 14:56:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691531794; cv=none; d=google.com; s=arc-20160816; b=ZCMOuE5YqfZCP/gcVZfaTG7uBmuB8J9J5WB6p2aMndR6+BnsYwf8QYb47qnabVhza3 Iw6XCJQpNjgK3Fa9XCnjnCBQ3jd+DAanpQTYiSLCdFjwCm1JuVjEvzhg+dKjyM3OU107 VSN8kIln+i1IskTS6xL1ibMdhdYhQjhx6b6/svgKALTx/OwfvPhXjjMWNysSatIP5W9H vEMUAv52tmeU4EE+mkJ6JZA+xyeemQxKQeUzUjwqPohl8cLxG086JdQQ/z2NwoT7DS5c Q3S0/9JkzrKCOBGy70PMcwpNd0ulO64qZjx2hd0KJS8eJ9OJmFVbeYr6Nej9SPje+/u6 DQsw== 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=e5cUkGvBinqrQEB7Ikj5Ug8tOjVRS6TZ8gJMeTTJk/U=; fh=BDJJtXEa2aa9J5FOJKfIOwlVszT1b6YenyWZpxr0ylA=; b=Qo4BXUfsOxcxNpCFDm17ifw+TCfbbiSokO/67LFM450oRese8aPKO8f4jQVA2W3fnm 8r8CtxByiwEunyucbgifx1ztLO+1GZ8+L9aFzTV8O2RMxRCtuqtnL58KW/DqZJF7VChG T8Rxmctx8Gx1AMYeSCYeN0Esob8szU604O7Lf2Rm3vmWdgXYdUFZf7r5Gbsi7Ztk/+zY VQ3UCdf8O5mo+mqjLLvhM5MkJN+z+bCydMQH9vLNHSsy0RtjB3y1zCcz48e9evy4Zl91 20UwB7/lmMUmFpFCxCLp4l+heSbfn+1ykh//N+nTWuXRRhlkz+Lu2SWzbSgJyQkygKsw VYbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=MEkJuLCC; 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 c23-20020a056402121700b00522270f709csi6979604edw.514.2023.08.08.14.56.10; Tue, 08 Aug 2023 14:56: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=MEkJuLCC; 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 S235059AbjHHUvF (ORCPT + 99 others); Tue, 8 Aug 2023 16:51:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235466AbjHHUuj (ORCPT ); Tue, 8 Aug 2023 16:50:39 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80FF144479 for ; Tue, 8 Aug 2023 09:46:45 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-407db3e9669so1611cf.1 for ; Tue, 08 Aug 2023 09:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691513202; x=1692118002; 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=e5cUkGvBinqrQEB7Ikj5Ug8tOjVRS6TZ8gJMeTTJk/U=; b=MEkJuLCCzNqujltO/2hEBF2IZ8JWjwedY1wVwMFzuxok1cUuORptjOLuKh3jhngmbg OszqqJ2FqeHwHlyz5sFzOsmGpkD/3QVma5URjR1jvw5cArnTbvACynfjopC1KnzTKMyP LXtBLl+32K1Fk6s33cihV9KIyTralnRC9ZedyF08T1fha1zO1t3FCcIBW73zDo4JKWLl vJ8fFQFUq8E0fvlL0hxqbxzzMtCdpELvpY0iRowFTc93kwORZVBnOlcAefdf1Jr8F9Be CvcMGmnUR49gQaXX06ieIIW2SXQ7B8dXiV4ZHtlX/+YS3IaUh5D5bc+PU8DnZ2XozQpU wELA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691513202; x=1692118002; 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=e5cUkGvBinqrQEB7Ikj5Ug8tOjVRS6TZ8gJMeTTJk/U=; b=VXmerfTiXTJILZcqkFnNOUhaZhzSYqgdG7R35E9QSn1Te9oGYn5F3tHNcGxa0GJoF6 S88twydK0jGgw51s1fNcyofdgLA6VABJ6doOwboxCws/Y1bQjSVoinHf9B1p7Hmib2Z5 ldjch9WQfyzXvuKTAEUh6Re6uQw5diQI9qdoiFGhdHjCoQ7/1mPBNF/kXtYpyP4ers8x q0fLnXAjWlVHXS5MaxzxfMDrFmqLhXiou+4chBP/H3XbtU2L3vhOmgMNifs6PcxxuqVa q3u86VY2stvmWafRmXKzU0KcmisUS50jqq+cXCI85z0ksCABj3XFkcpRrnEYv2WVD4Hj m0kA== X-Gm-Message-State: AOJu0YytTGWCDfZ59H7ynwT/IUflvgDkx3JW3AYLneBg8pmhCMcVgfte azw1If17rXBJ/TRqdZ9TbID17+Q85Ss364AXjNQdeg== X-Received: by 2002:a05:622a:11d3:b0:40f:dc70:fde2 with SMTP id n19-20020a05622a11d300b0040fdc70fde2mr2783qtk.26.1691513201715; Tue, 08 Aug 2023 09:46:41 -0700 (PDT) MIME-Version: 1.0 References: <20230722022251.3446223-1-rananta@google.com> <20230722022251.3446223-3-rananta@google.com> <87tttpr6qy.wl-maz@kernel.org> <877cqdqw12.wl-maz@kernel.org> In-Reply-To: From: Raghavendra Rao Ananta Date: Tue, 8 Aug 2023 09:46:30 -0700 Message-ID: Subject: Re: [PATCH v7 02/12] KVM: arm64: Use kvm_arch_flush_remote_tlbs() To: Marc Zyngier Cc: Sean Christopherson , 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 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_NONE,SPF_HELO_NONE,SPF_PASS, 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 On Tue, Aug 8, 2023 at 9:43=E2=80=AFAM Marc Zyngier wrote: > > On 2023-08-08 17:19, Raghavendra Rao Ananta wrote: > > On Tue, Aug 8, 2023 at 8:07=E2=80=AFAM Sean Christopherson > > wrote: > >> > >> On Fri, Aug 04, 2023, Raghavendra Rao Ananta wrote: > >> > On Wed, Aug 2, 2023 at 4:28=E2=80=AFPM Raghavendra Rao Ananta > >> > wrote: > >> > > > >> > > Sure, I'll change it to kvm_arch_flush_vm_tlbs() in v8. > >> > > > >> > While working on the renaming, I realized that since this function i= s > >> > called from kvm_main.c's kvm_flush_remote_tlbs(). Do we want to rena= me > >> > this and the other kvm_flush_*() functions that the series introduce= s > >> > to match their kvm_arch_flush_*() counterparts? > >> > >> Hmm, if we're going to rename one arch hook, then yes, I think it > >> makes sense to > >> rename all the common APIs and arch hooks to match. > >> > >> However, x86 is rife with the "remote_tlbs" nomenclature, and renaming > >> the common > >> APIs will just push the inconsistencies into x86. While I 100% agree > >> that the > >> current naming is flawed, I am not willing to end up with x86 being > >> partially > >> converted. > >> > >> I think I'm ok renaming all of x86's many hooks? But I'd definitely > >> want input > >> from more x86 folks, and the size and scope of this series would > >> explode. Unless > >> Marc objects and/or has a better idea, the least awful option is > >> probably to ignore > >> the poor "remote_tlbs" naming and tackle it in a separate series. > >> > > Sure, I think it's better to do it in a separate series as well. I'm > > happy to carry out the task after this one gets merged. But, let's > > wait for Marc and others' opinion on the matter. > > Yeah, let's punt that to a separate series. I'm more interested in > getting this code merged than in the inevitable bike-shedding that > will result from such a proposal. > > Raghavendra, any chance you could respin the series this week? > I'd really like it to spend some quality time in -next... > No problem. I'll send out v8 by today or tomorrow. Thank you. Raghavendra > Thanks, > > M. > -- > Jazz is not dead. It just smells funny...