Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1400532rda; Mon, 23 Oct 2023 11:19:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENCAOE9uTOFQqsh1kvzpAC3+ZjXO8vJ/8e3vaxk795qPZQADKgbONMc0VdjPZRjuSpfrII X-Received: by 2002:a17:90b:1d01:b0:27d:5be:f218 with SMTP id on1-20020a17090b1d0100b0027d05bef218mr8223235pjb.23.1698085195041; Mon, 23 Oct 2023 11:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698085195; cv=none; d=google.com; s=arc-20160816; b=bI6Lfyjp7Oh4FFctcii/OFvCxgpnWrHa5vMrWgYA96+oxJLcQRXb7zp/CIJ+3AfXYS 0LK4a/SVU0emyRE8SzW6KJ70QDInmK+Edye0r8wmZmTglxn1lNnupleLeHkPdc9CCwQN /+WQOsNvISMdoeYP3N83OQ+g0WCKIslywIEQotCI21ctwMFKQi38nxcO4Y2GY6NgPezR gsERXKVpWqVUNVbXQWNBQ0BBndT5jBTupLgP2bDzrLBfif+od+mGAIPVWxNS4kMDBIor 1/MgF2ex5oajz3I+JVjMcG3aC38XV4CB1KXYxCYlLfVZHrEKfVM6T4+J12Bkz6fWE7j3 JSHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature; bh=G+vS3XWq0BZl6Bgan1o+HzKfcgCSCmisx9rz1xyPJOY=; fh=DFPnDq2cx+hgqp1yrQ9Laae/MsEoRqwrGgkRKdTDxsQ=; b=wsB/6BoJZlMyjUVYyp8NYa4lKb/Liy3S45AiM4M+gzWu1TLQH0uDEUv8R5ImMHE5lJ 1f6dQoGomtUsZLtO4OnAzmfr5cf3LmoCke1pebqSiqnvVyjoyVoZ63D6xNEHbxtxqZUE XZ/pFyXZ02J0XURMT0goxCimQOhyiqrKfhfsPppHkhzKAH+7PDHZZJyu3rTWDCVnqrGW aDYjP83uFJCBpVQTQcqd3b18Bh6pSRO/YV+AUaqg+NEU4/AuMM1SOm/ptS4VU/x6M5lX 4SZWAkMGSsX9nQ98CSoS3koOWXLfvVTd1JAoaOaiqbSt2wOdykEfdDwr+uXzH8JQzy9X f6Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SQlOiKX/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mu2-20020a17090b388200b0027cde7f5860si7106570pjb.30.2023.10.23.11.19.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 11:19:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SQlOiKX/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id E10868045BD3; Mon, 23 Oct 2023 11:19:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233227AbjJWSTt (ORCPT + 99 others); Mon, 23 Oct 2023 14:19:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbjJWSTq (ORCPT ); Mon, 23 Oct 2023 14:19:46 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87DB499; Mon, 23 Oct 2023 11:19:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31B9CC433C9; Mon, 23 Oct 2023 18:19:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698085184; bh=oS4z+Mn7/hwPC7bpjt/NEir6aeKFv3WVk0pLVerqzFw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SQlOiKX/tPZPymq+Xg2Z6Xpi9AS+MXP05zyw3Ng7z7apeSdOL+E/U8V+gToVXJxti j/QPFhH6ZQBPPqZIl25EZa2U2kAC/tXgHgbanJ5lFc5JDmjBQR5ZtyVMkgInHreYdh 6YgKJbSzOWIsTJcJ7muXYx42fAYolMzOjwJsQ6gR7aTOdidcMRlbMcflr/16pJkfov IOQFMgTnKZF/BJtBziMQzskTpBowwToKN7gIbU+0uIeI27BthgK9ex3VPiWHa7WLuy qyoaidWIivH061C6n04JcJR87Z8HbLyNlJ2XD2pPa3I9YDrCRymN/rUHmrroP4g15A KbQKEFUgxoZwA== 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 1quzWf-006wp4-Cd; Mon, 23 Oct 2023 19:19:41 +0100 Date: Mon, 23 Oct 2023 19:19:39 +0100 Message-ID: <86sf6142x0.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: References: <20231020214053.2144305-1-rananta@google.com> <86v8ax4hae.wl-maz@kernel.org> 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=UTF-8 Content-Transfer-Encoding: quoted-printable 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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 11:19:54 -0700 (PDT) On Mon, 23 Oct 2023 18:58:19 +0100, Raghavendra Rao Ananta wrote: >=20 > On Mon, Oct 23, 2023 at 6:09=E2=80=AFAM Marc Zyngier wro= te: > > > > 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. > > > > [...] > > > > I've gone through the initial patches, and stopped before the tests > > (which I usually can't be bothered to review anyway). > > > > The comments I have a relatively minor and could be applied as fixes > > on top if Oliver can be convinced to do so. Note that patch #4 has an > > attribution issue. > > > > > base-commit: 0a3a1665cbc59ee8d6326aa6c0b4a8d1cd67dda3 > > > > maz@valley-girl:~/hot-poop/arm-platforms$ git describe 0a3a1665cbc59ee8= d6326aa6c0b4a8d1cd67dda3 > > fatal: 0a3a1665cbc59ee8d6326aa6c0b4a8d1cd67dda3 is neither a commit nor= blob > > > > Can you please make an effort to base your postings on a known, stable > > commit? A tagged -rc would be best. but certainly not a random commit. > > > I usually do base on a known -rc. But this series needed a couple of > series from kvmarm/next (mentioned in the original patch), and hence I > rebased on top of them. Well, that commit has since disappeared, as git cannot find it (as demonstrated above). Which is why I insist on a public tag as a base, as everything else is completely volatile. > How do you suggest I handle this in the future? Rebase to a known > -rc on mainline, apply the required series, and then my series on > top? No. You base your own series on an -rc (ideally, -rc3). If there is a conflict with another series, it is our job (Oliver and I) to fix it (bonus points if you indicate a resolution for the conflict in the cover letter). If there is a hard dependency (something that would actively prevent your series from working at all), you cherry-pick the minimal set of patches that makes your own series functional as a *prefix*, and post the whole thing, including the patches you depend on. Oliver and I will make sure the common prefix is dealt with without duplication. And for what it is worth, this series directly applies on v6.6-rc3 without a conflict. M. --=20 Without deviation from the norm, progress is not possible.