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 X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C41F9C388F7 for ; Tue, 10 Nov 2020 18:27:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69F57206D8 for ; Tue, 10 Nov 2020 18:27:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="tZUnHuTp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731345AbgKJS1K (ORCPT ); Tue, 10 Nov 2020 13:27:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:34004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbgKJS1J (ORCPT ); Tue, 10 Nov 2020 13:27:09 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BE440206D8; Tue, 10 Nov 2020 18:27:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605032828; bh=2Qy0eUUr2sDu8ZbdEWr+M1dw21t+81WPA8m1V1v66TQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tZUnHuTpmhT0/NDTDOgZ5LF9BAVF3yiKt/sWPGg/kVIjB87qjBUgfD+ApM0RybkRa hDhIJ9xgBG1t27JD6e7TpiPDhbOHHBn41GrKmCDwaMivZJC27OYtSto3ECvZf8LZcc BUhFyWN4oO30JHey6sBNTBP46osK4dLIUY3ShZuw= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kcYME-009X0b-NI; Tue, 10 Nov 2020 18:27:06 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 10 Nov 2020 18:27:06 +0000 From: Marc Zyngier To: Thierry Reding Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Jonathan Hunter , Nagarjuna Kristam , Sowjanya Komatineni , devicetree@vger.kernel.org Subject: Re: [PATCH] arm64: tegra186: Add missing CPU PMUs In-Reply-To: <20201110182212.GI2297135@ulmo> References: <20201013095851.311478-1-maz@kernel.org> <20201110173601.GA2297135@ulmo> <3da5c9b1f93699634aad997b77536a92@kernel.org> <20201110182212.GI2297135@ulmo> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <59f8937f14ce485558ec957d0f73ba7d@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: thierry.reding@gmail.com, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, jonathanh@nvidia.com, nkristam@nvidia.com, skomatineni@nvidia.com, devicetree@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-11-10 18:22, Thierry Reding wrote: > On Tue, Nov 10, 2020 at 06:08:31PM +0000, Marc Zyngier wrote: >> On 2020-11-10 17:36, Thierry Reding wrote: >> > On Tue, Oct 13, 2020 at 10:58:51AM +0100, Marc Zyngier wrote: >> > > Add the description of CPU PMUs for both the Denver and A57 clusters, >> > > which enables the perf subsystem. >> > > >> > > Signed-off-by: Marc Zyngier >> >> [...] >> >> > > >> > > + pmu_denver { >> > > + compatible = "nvidia,denver-pmu", "arm,armv8-pmuv3"; >> > >> > checkpatch complains that this isn't documented. Did I miss the DT >> > bindings patch or do we not have one for this? >> >> We don't. But I don't think adding a compatible string for each >> and every micro-architecture makes much sense unless we have something >> useful to add to that compatible string. Such as a full description >> of the implementation specific events. > > I'm wondering if this isn't going to upset Rob's json-schema bot and > make him mad. Rob going mad? Never! ;-) If you *really* want it, I'll respin this patch with the Denver compatible added to Documentation/devicetree/bindings/arm/pmu.yaml. M. -- Jazz is not dead. It just smells funny...