Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4777116rwb; Tue, 8 Aug 2023 13:45:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+Uc6uVQnuU07hC9bhL7ZXytx0ZVlWii0Ukt+IKf7bvQqA7BobZUBah/G6yjArJgLfmmN/ X-Received: by 2002:a05:6402:10cd:b0:521:8777:b00d with SMTP id p13-20020a05640210cd00b005218777b00dmr652690edu.15.1691527557039; Tue, 08 Aug 2023 13:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691527557; cv=none; d=google.com; s=arc-20160816; b=VEykCJHpDv75EP0VxuEkV6xI/lNPpxnv6L4gmwykRIKubzDrCy8uEzme7Ij2MCRBwI +1rASPYXahz1iAWssMTSMZ4eSMx7rUqa1z53vuFLKAaKiCQNkfdLJ7ECNoxmwM0CFGgY Sa1vK7wk6yp3oN/syCvxYCCnANDMoPDv2gy14Hwsh29ah3gsRdd6kFVs1xSQGXeoi093 xN5QqM5gfezq366I4j48iMet2LTVZ6jXERX/HB6fzzlt1P0Qy6WIVkmhif5ekXyJs8o0 5nb35FTD0W+0c6RGuo50S3ehA2AzmeGBm5DhRsns3+2bhhEfkq7EQA3MOoPPrX4SUrYf UGnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=6MYaHzr1mCyklEc28suCKK2gqxC5WSppNko4Rfuqv4Y=; fh=Ntf8yWU8FEvMhlji6v+yFN58QeE3oUEz7ijeyNGbr+w=; b=OkSB2PaBNaYVqGP8B5XtBkwm3vNMQVHIWps7S2M4hLta1gYc4kE5EMPyNSCWKgvJzh XNKFJURY61p56EaxoInsR3EzGTgDtjdoUQEjmZXZtct0YWB/lU+jZpN1y8QcC/9s3cFF ka1k5yxX4v24oZKveD4uYUMu2LM7X1o3klwGO7VUnk5u1sxHRrtGlo5Ko76+vk7uA3nn cExc5WLDT43y1Sopu5L83MM6lwi30G4+LWkN1wa1M9Bympetb+u/kGnXl0zTOnXyOM68 y4sqe6WWKurQJELQVO+FT3hRFoSdLzZsqQeY/DC+S9mr6PMPcoFSN4EehsEjONsn/Lxn 3VCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="EI/M+9L9"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m23-20020aa7d357000000b005234f2c6b21si420083edr.202.2023.08.08.13.45.32; Tue, 08 Aug 2023 13:45:57 -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=@kernel.org header.s=k20201202 header.b="EI/M+9L9"; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234736AbjHHUbm (ORCPT + 99 others); Tue, 8 Aug 2023 16:31:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233790AbjHHUbW (ORCPT ); Tue, 8 Aug 2023 16:31:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB74F44806; Tue, 8 Aug 2023 09:43:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7512662509; Tue, 8 Aug 2023 16:43:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C06C2C433C8; Tue, 8 Aug 2023 16:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691512984; bh=qn/5n73aPx19R3sftb3hyCv0xP0bVP4jPYkwssW5D70=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EI/M+9L9WfV7CfX9Gg3l8wginZaWaHFChW2GM/OsGfB64YDDzgU8NJsfkDrHXAvR5 VAaNmxsPoqAHDEiP8QulOu4i3ulD9YXkGKshknFhvU2u/SxvikGwp/YsrNUGVLkPw1 FTzl+keanf3MdzsjLZoGYa7oT0z7q0DKG1X4hSjicnx40hnIFKQ1T80kw3emqiyqrU qSJHtLdCG2fha5vwJPzSzfRqjDfWoP2oD1r97l9SogvHJSiPgP8wzPENILebk1zzmj 2zFUZQP4wQ/G7opUpEJ2KrCWciEWKfgvHzrrOBU53m0/AjNq+SZusg16vaM6+4MQNT uUWZZf7j9O3Ag== Received: from disco-boy.misterjones.org ([217.182.43.188] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qTPnS-003BwZ-B2; Tue, 08 Aug 2023 17:43:02 +0100 MIME-Version: 1.0 Date: Tue, 08 Aug 2023 17:43:02 +0100 From: Marc Zyngier To: Raghavendra Rao Ananta 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 Subject: Re: [PATCH v7 02/12] KVM: arm64: Use kvm_arch_flush_remote_tlbs() In-Reply-To: References: <20230722022251.3446223-1-rananta@google.com> <20230722022251.3446223-3-rananta@google.com> <87tttpr6qy.wl-maz@kernel.org> <877cqdqw12.wl-maz@kernel.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: maz@kernel.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.182.43.188 X-SA-Exim-Rcpt-To: rananta@google.com, seanjc@google.com, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, pbonzini@redhat.com, chenhuacai@kernel.org, yuzenghui@huawei.com, anup@brainfault.org, atishp@atishpatra.org, jingzhangos@google.com, reijiw@google.com, coltonlewis@google.com, dmatlack@google.com, 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 X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 2023-08-08 17:19, Raghavendra Rao Ananta wrote: > On Tue, Aug 8, 2023 at 8:07 AM Sean Christopherson > wrote: >> >> On Fri, Aug 04, 2023, Raghavendra Rao Ananta wrote: >> > On Wed, Aug 2, 2023 at 4:28 PM 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 is >> > called from kvm_main.c's kvm_flush_remote_tlbs(). Do we want to rename >> > this and the other kvm_flush_*() functions that the series introduces >> > 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... Thanks, M. -- Jazz is not dead. It just smells funny...