Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1408794rda; Mon, 23 Oct 2023 11:36:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF+1OWncbm2MfvkaYVSZ3vZv1cXds1ShOeebXXlhow9GswnDZXap6K4enZ+Vta2pddDTXuh X-Received: by 2002:a05:6358:880d:b0:166:dc89:8c9a with SMTP id hv13-20020a056358880d00b00166dc898c9amr12054725rwb.22.1698086177684; Mon, 23 Oct 2023 11:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698086177; cv=none; d=google.com; s=arc-20160816; b=HytcJdYfPwdJY63EAwMDvJWztlGMCOUynorwSLbnLwzMyuOomx6+6SozV0bEcVRLm0 i/ZW4+EauqJ3me/Tj/huLVr2qb+DTYCrfNbOvqQaUCLtafRcuf+IKMgYEkvFnGeoBQsw 3mYVdx0vmmWl9Qj16S89RV0UFQluA4zf5nNGC/Mqu25qSO0UInMVfM7zFquD8Nsh/8gW txqI+w+KIUJhJpRAbwNYHnj4Escm6hpPlBDKNUXy0FAA7P+Ts25iCCpKhgl9j3Y7i6fb uARyEKonSOltQn2A5VAOEdbAJdo9oOwmSuFY8Cen3JZNQPpifFf4HVe9ez9siwh7rhn+ q06Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=RNa9bE8JlqQtV7297ki/0LXixm0tBp1OMIBTlQplZJs=; fh=DFPnDq2cx+hgqp1yrQ9Laae/MsEoRqwrGgkRKdTDxsQ=; b=HRQSZTqcid1i8iogLytvKQuFRgtLl+ydVVLbNV3CyCzRKKWukPfGWXXSNd3N97MqQZ 2zgL2loo7oU4Gg2LNIuJvLEQCy5TBoiUGeZPGjESMvGJgu5GBP2LGzKkLeiP5c7LGS2g 9WBzsJ47zZA6VZ9BwTF0S2dXmjfq8rw3/MgVZwiSAA1UflasnIJFM3f8DDR50r+P4zgS m0PqxG07pK0LzyNoTsYqZtX70DpedEoqzU8C6hq7VTE+871KI/iEdJGvV2stp29TpQeh EVoc4dHnfrNzv1JJu9hJL1eYlOOWirEpqlWeWqCBGH75QJnrtv/N/1rIszZS0xPJp1nH 16ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mlQCUgXe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id y17-20020a637d11000000b005859c1e41a0si6656414pgc.201.2023.10.23.11.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:36:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mlQCUgXe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5A5D68065831; Mon, 23 Oct 2023 11:36:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbjJWSfz (ORCPT + 99 others); Mon, 23 Oct 2023 14:35:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231449AbjJWSfw (ORCPT ); Mon, 23 Oct 2023 14:35:52 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F09F101; Mon, 23 Oct 2023 11:35:49 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFA2DC433C8; Mon, 23 Oct 2023 18:35:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698086148; bh=WHd8d0jouAtFnRWy/nehrEIWGuiFo70FfejIW0lR98A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mlQCUgXeOkPMlnOORKfW4wTzAB9yX6aLvM8bFtJnCnu1mb5WFxPIBxUqj1qe4Qsh7 bu2yE1Vsr00HNYUm6H6MQLvvYST4rv/4fuyDKI3B8SykvQOzqK902lHfArSePy7ZuC hhO5V9fn8/QVlnILo2gLIbv+Q5iIMREzal9jg/45QPGdH85o862bpvaX1Ct9xGekDd rlRS4mn+z52AmZaw8sor+R+9QUh2XsfWoEfGe7RuknUp9bX4mVhaONDRp69UCSyFnN z6ABjEtA/6tBeMdpoTG/hPFGYmilsFUkl/9NFbexXXAhSIrmuTfUIy+ccq36aregQl t2L2eUwE8jDxw== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1quzmE-006x8t-7w; Mon, 23 Oct 2023 19:35:46 +0100 Date: Mon, 23 Oct 2023 19:35:44 +0100 Message-ID: <86r0ll4267.wl-maz@kernel.org> From: Marc Zyngier To: Raghavendra Rao Ananta Cc: Oliver Upton , Alexandru Elisei , James Morse , Suzuki K Poulose , Paolo Bonzini , Zenghui Yu , Shaoqin Huang , Jing Zhang , Reiji Watanabe , Colton Lewis , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v8 00/13] KVM: arm64: PMU: Allow userspace to limit the number of PMCs on vCPU In-Reply-To: <20231020214053.2144305-1-rananta@google.com> References: <20231020214053.2144305-1-rananta@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: rananta@google.com, oliver.upton@linux.dev, alexandru.elisei@arm.com, james.morse@arm.com, suzuki.poulose@arm.com, pbonzini@redhat.com, yuzenghui@huawei.com, shahuang@redhat.com, jingzhangos@google.com, reijiw@google.com, coltonlewis@google.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, 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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:36:15 -0700 (PDT) On Fri, 20 Oct 2023 22:40:40 +0100, Raghavendra Rao Ananta wrote: > > Hello, > > The goal of this series is to allow userspace to limit the number > of PMU event counters on the vCPU. We need this to support migration > across systems that implement different numbers of counters. FWIW, I've pushed out a branch[1] with a set of fixes that address some of the comments I had on this series. Feel free to squash them in your series as you see fit. M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/pmu_pmcr_n -- Without deviation from the norm, progress is not possible.