Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2102925rda; Tue, 24 Oct 2023 12:21:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHp0a1AMATytguNGKuTzZdm3t5lEUSKLeEpceGRs/e0eGc1Re99og5js/gQOuAriwezzWT X-Received: by 2002:a05:6a00:1515:b0:68e:3f0b:5e6f with SMTP id q21-20020a056a00151500b0068e3f0b5e6fmr11402243pfu.24.1698175300300; Tue, 24 Oct 2023 12:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698175300; cv=none; d=google.com; s=arc-20160816; b=C6GfCqMT6WMRiM3gfBwAxHywoflKsE07i7CmcQ2yOxTEBYM78DqamAl0gaRhirztAq 4s9ren6+QipIGY6h9Ewgh4c+ymkxXnNonpIoWMyC9W8AL4zZnBN7wiA6Wd2bYV98SDRO aDxMvOFa8GufC45vrqtxor0gurK1Ja69FTw3xoieGDqoX2vxhGWhv3mW5ZlSUS2l2B4H NVHVFGBo2WGabE3BnbWVtEhejMHtvh2u6oZdn2857em/oiMTGFmgrqlwo7G3qI7WRyZ3 LQLrDCLQdVdj6FwYqyU4SisUdybTl4M5+K7UWXPUFpxozUKXhQfdjpI3P3SJiEPGgtJJ SMIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=XkPBe+q2Fd8HwrowwRNbd02bJEcCWTElAobJsH4r7wQ=; fh=4SBs4c/DZjnCE6vAWzj1P488oW14xPRLJSyN0IoPmig=; b=x6M0pZ0ty51as3rqQv0jbY7uw6xU98VB+OSlVVqa2gD4uDnr5TBQJGHIjsAOE7ppW6 5RxksrZqDzCdEZWKWvXSwJ8PkwMQcI6xlQfGhCX1b54PY4Hphc3CIT6U26jTv2hSYZFD JmPfBF/su9VMdh64DzboNCtUhc6yIKZhyWUDZGydOfRYwMaxpT0rhFlGTYn135atiDFc Vh0ezlpx/FROIk/VS29DUMEDKX96xjFnYTuY1mBPbFAd5eP2LWidPg7QIl3/WEr+4LNz yerANMCAYOj866Xee5pakF9wIPIvLLaBUx7T2Bmk/TJVdfWha1wnpkvKnwLlm3sHWi3G wAYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=H0ZDTUBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id b3-20020aa79503000000b006bec15892c9si8691322pfp.141.2023.10.24.12.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 12:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=H0ZDTUBj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9116B8021399; Tue, 24 Oct 2023 12:21:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344219AbjJXTVS (ORCPT + 99 others); Tue, 24 Oct 2023 15:21:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343884AbjJXTVR (ORCPT ); Tue, 24 Oct 2023 15:21:17 -0400 Received: from out-190.mta0.migadu.com (out-190.mta0.migadu.com [91.218.175.190]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C08410C3 for ; Tue, 24 Oct 2023 12:21:15 -0700 (PDT) Date: Tue, 24 Oct 2023 19:21:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1698175273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XkPBe+q2Fd8HwrowwRNbd02bJEcCWTElAobJsH4r7wQ=; b=H0ZDTUBjF9ElzypQp7tDrswPltNTX86gbYWyDZZcr37nX42M7lC0JCUdH66liiWLqEf62x vbAateyLcy9vQZBTrutUI12pqaXhm6I/9kqU5mOOjEiE+QXGw4Tih7l7eyYc0ZVmx3+WZD 8AfOKRM+Aa5R2lVAU8sPoOnpjzQqJ3Y= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: Raghavendra Rao Ananta , 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 Message-ID: References: <20231020214053.2144305-1-rananta@google.com> <86r0ll4267.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86r0ll4267.wl-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 24 Oct 2023 12:21:37 -0700 (PDT) On Mon, Oct 23, 2023 at 07:35:44PM +0100, Marc Zyngier wrote: > 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. I did a second round of fixes on top of what Marc has and pushed that to a branch [*]. If everything looks good I'll take it for 6.7. [*] https://git.kernel.org/pub/scm/linux/kernel/git/oupton/linux.git/log/?h=kvm-arm64/pmu_pmcr_n -- Thanks, Oliver