From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A74F5C7618D for ; Thu, 6 Apr 2023 12:42:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DJTYCICprScLSoJYuadMC6MMQA9/2woONeVtl/DbEJs=; b=H9RrPXyIk74i28 WfhDj5L1bTa8QI4XekpDdX1f+b+U5c1ccmlRzLiVPKKxbLv/hOx2bn24kBlaygOvwfV3LOnBra+ir hsJ6TOF3e3WOT04NJH1xKWUCuPn9+tV56WuIDuBbRSUd9FLn0EnYal37i28nhoDkXrJFxuCzc3isa f862oEHPAIzibtFVAzDVSTSHcbPNWj1fbnEVRbXzE45racgGEzVZF4QSH/WJkphNBPpdcJjCIZH8M 0K3/TAhjwHKbNEpLxpXQix2/RclZsQWDkmxv3Wm0uEAZIRX79r42DOkKfN8+3Quor1SPlIe+SI4Wz yNmfTDZxMGlH3H8MuQKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pkOvA-007I5Y-0Z; Thu, 06 Apr 2023 12:40:56 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pkOv7-007I4r-1V for linux-arm-kernel@bombadil.infradead.org; Thu, 06 Apr 2023 12:40:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=HyuEKh43IWrWdzVowQkaLP3FmrQYVn2EQx+OBqF6IKE=; b=OTfNiEwwYqj1eXzVk8GGYFt99j lb9FiQit+vNRBvJWsfnsbh7pdcuhULQzT0jUHTM1oo/wvO7JO86mXApYNvM8CRQvMbH2ZL3TFSwMM LymyCc/40mXnWO1XtiUalA2d9ccxHJeagVSyPV1TvlMErhNnICGgW7WkazHQ0pxK241uOQDEv3pSV sTEOGyBpXMZmPpMn02sdu5EFYV87D1n3ureXfzou3cucKB1kU4MowP4vU8mRFGE5QltsqWthavZXl hw5e23dB3M9XJLhmGx+vAiE+/h6idPF1CzXo+7N1tCWqhVTjfiyq+MaElg5ObfWlwnIt/nMC4sHjz 3sTG6jhA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pkOuy-00HQ2r-RR; Thu, 06 Apr 2023 12:40:44 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 7D26E300194; Thu, 6 Apr 2023 14:40:40 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5C03D212E36AA; Thu, 6 Apr 2023 14:40:40 +0200 (CEST) Date: Thu, 6 Apr 2023 14:40:40 +0200 From: Peter Zijlstra To: Jonathan Cameron Cc: Yicong Yang , Mark Rutland , Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, gregkh@linuxfoundation.org, yangyicong@hisilicon.com, linuxarm@huawei.com, Dan Williams , Shaokun Zhang , Jiucheng Xu , Khuong Dinh , Robert Richter , Atish Patra , Anup Patel , Andy Gross , Bjorn Andersson , Frank Li , Shuai Xue , Vineet Gupta , Shawn Guo , Fenghua Yu , Dave Jiang , Wu Hao , Tom Rix , linux-fpga@vger.kernel.org, Suzuki K Poulose , Liang Kan Subject: Re: [PATCH 01/32] perf: Allow a PMU to have a parent Message-ID: <20230406124040.GD392176@hirez.programming.kicks-ass.net> References: <20230404134225.13408-1-Jonathan.Cameron@huawei.com> <20230404134225.13408-2-Jonathan.Cameron@huawei.com> <61f8e489-ae76-38d6-2da0-43cf3c17853d@huawei.com> <20230406111607.00007be5@Huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230406111607.00007be5@Huawei.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 06, 2023 at 11:16:07AM +0100, Jonathan Cameron wrote: > In the long run I agree it would be good. Short term there are more instances of > struct pmu that don't have parents than those that do (even after this series). > We need to figure out what to do about those before adding checks on it being > set. Right, I don't think you've touched *any* of the x86 PMUs for example, and getting everybody that boots an x86 kernel a warning isn't going to go over well :-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel