Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1275537ybp; Fri, 4 Oct 2019 12:07:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEDDeO0bh2XE+uEV7MBTez8lCu1pmLjbfrTB5XeikGxdQzMF/WXyuzr92WFY2wN2JbNJfc X-Received: by 2002:aa7:c34b:: with SMTP id j11mr17053480edr.245.1570216039491; Fri, 04 Oct 2019 12:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570216039; cv=none; d=google.com; s=arc-20160816; b=QlItPBMMWtX5kmrLwpQey3HnksyVoh4qaX6fJvQ+oYXEPHYwS/C78L5oQqARsFAKrQ VjZ3Rdzveop4xmY+G68dCwT4uMeoNotAIjJ0P+27N+QKO7JMg8SKtEOoj2buydU6Rhjl I/LKAILGI8+9kP1JwjxR1t5G4lMdnKfXfpCisHiOXIfz9uO10Y+zYTYIipo2Nir3SJm9 6I9rgvZcdWPL2qylUapZll98fwzp7n/sQdklgcegV4eh0uXKJis9BgXZFcHF7cEemvMX 4bDmelOxlUVEeAeXyV+DbmrLc6lELi3oHvt+rcAt9lqKAJ4/JoNAesg62g3MDphxdRJy SVmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=TEfJlWUhWrJ8EeojdnNO6PIunlwDcbHqhfWR6PvLzw8=; b=ccJkWYD35eWikGdaEVegHZlvGyoi/rV05aSRAYm+PWFGVvJ4+xoY0n0SgV+30DtGrd 1BXuE97I/g4eONs+fHnelAizRPMyem7lBnEoMUN5aMqxfq6W0Ri4mpnndPOX6/reTSOo nZ0OWbAQZfX4XFX/eImXk6UA5wcjIowcOGBt708XReLkSiQTR6grx36Z0RUtZi+gvvPi MBrZDKOxGm9vwfW8oUrePkNfxW6CaaeekNwZdXaA8FdX06D564O7o7SkX0QR8mWbzZI0 4wU06wuF7YooKVzsMJJYkmghFknGyEDdVJZczypTVGsPp0AIiw7mCUNmBtwR6V079Du6 Wgzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="SwM3iXO/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si3941209edq.49.2019.10.04.12.06.56; Fri, 04 Oct 2019 12:07:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="SwM3iXO/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729648AbfJDTGp (ORCPT + 99 others); Fri, 4 Oct 2019 15:06:45 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:41666 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727308AbfJDTGp (ORCPT ); Fri, 4 Oct 2019 15:06:45 -0400 Received: by mail-qt1-f194.google.com with SMTP id d16so9968938qtq.8 for ; Fri, 04 Oct 2019 12:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TEfJlWUhWrJ8EeojdnNO6PIunlwDcbHqhfWR6PvLzw8=; b=SwM3iXO/Zm76pvGJxa6lfP9dIfeUoT8EKT7pc+VkF5tLZ29A/3QuMdKfgRI20Htdit JR3XeGxDUw9dSfKTGXtCylfe4hMH8osiiv/QI3+SJL79soMhEnAXE93U95l9WKlILlxj CPzeGRrB6yvwHEnF/+LrtlUcHb7K9f0GFAa6Qb8mnJF8uHs/3Oy5yCePfGdweOeYa9N0 9HrXHlaLNTjvyyTkwkmg5V1vDZgNm1xgPyMjtYCCj2oPlxpQFxRQQnp23+91YJeOceEY PTH+ZhwCrhZQvbUMNZJWWNmGLBSrLo+gpdEdtqcpSOf6cltgQj5t3IiEwjFVGSz7blll ZdCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TEfJlWUhWrJ8EeojdnNO6PIunlwDcbHqhfWR6PvLzw8=; b=KBDHlNfe6mdS6r+PejILu4T11QhSnZEaA3t2jETrDjZgyTNKgeVJO5UgrcTURDPmfV /HR9ahafHMzCWvwo7kEt04Ko9IzV3kf6gbWTxzhrdFgDi5twVBAfq4fKBsbFmiojUfg3 aaCOZvYJ/l4BVzRtfB30Qj63UI6gsUe/Dd+MvqeF34OYdepdjHdggpt4VgH/ksN51Q+f lIGRrAspZz5O/6+8c0ESGN6XofMvSlU/OckgEIZfFfVBh6R6z+zELThzdJgSzGvL14al R+4n14gglZNrID+a+L2cfwHH3KgK0vxw2yqX4AF8Q1qFff7oed30wqL60a0DDtm3c7xs ZY9Q== X-Gm-Message-State: APjAAAXIWH+uYwElWO/0anNzQBmRcRF7KZMv/KhwdHnpv0rjyQ+ZdS+Z FdKkBOLY3fLtAga4Z/F10Zk= X-Received: by 2002:ac8:f33:: with SMTP id e48mr17930787qtk.123.1570216003764; Fri, 04 Oct 2019 12:06:43 -0700 (PDT) Received: from quaco.ghostprotocols.net (179-240-136-122.3g.claro.net.br. [179.240.136.122]) by smtp.gmail.com with ESMTPSA id n192sm3186811qke.9.2019.10.04.12.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 12:06:42 -0700 (PDT) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 39F9E40DD3; Fri, 4 Oct 2019 16:06:39 -0300 (-03) Date: Fri, 4 Oct 2019 16:06:39 -0300 To: John Garry Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, linuxarm@huawei.com, will@kernel.org, mark.rutland@arm.com, zhangshaokun@hisilicon.com, James Clark Subject: Re: [PATCH 0/4] HiSilicon hip08 uncore PMU events additions Message-ID: <20191004190639.GB5399@kernel.org> References: <1567612484-195727-1-git-send-email-john.garry@huawei.com> <27e693fd-124e-1aa8-3b8a-62301a5a1d10@huawei.com> <20191004143658.GA17687@kernel.org> <20191004143835.GB17687@kernel.org> <969729ce-6246-6fa7-45c9-3dd9cb07059d@huawei.com> <20191004151853.GC17687@kernel.org> <0492ebd9-f867-423d-034c-9fe1c74902e7@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0492ebd9-f867-423d-034c-9fe1c74902e7@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Oct 04, 2019 at 05:30:46PM +0100, John Garry escreveu: > > > > > > > > > The missing events were originally mentioned in > > > > > > > https://lkml.org/lkml/2019/6/14/645, when upstreaming the JSONs initially. > > > > > > > > > It also includes a fix for a DDRC eventname. > > > > > > > > Could I get these JSON updates picked up please? Maybe they were missed > > > > > > earlier. Let me know if I should re-post. > > > > > > > Looking at them now. > > > > > > It would be really good if somehow we managed to have someone from the > > > > ARM community to check and provide a Reviewed-by for those, i.e. someone > > > > else than the poster to look at it and check that its ok, would that be > > > > possible? > > > > > For this specific case, I'm not sure how much traction or value there would > > > be since we're just adding some missing events for custom IP. > > > > Someone else inside your organization? > > For this, sure. Colleague Shaokun (cc'ed) provided me the metadata for these > JSON additions, so when he returns from national vacation I can ask him to > provide necessary tags. Ok > If nobody is available, then so > > be it, let that be clear in the JSON file (see below) and then I > > wouldn't be waiting for acks/reviewed-by messages for such cases. > > > > > But I do agree that more review of JSONs from the community is required - as > > > I brought up here regarding a recent addition: > > > https://lore.kernel.org/lkml/749a0b8e-2bfd-28f6-b34d-dc72ef3d3a74@huawei.com/ > > > > > > Can we enforce that at least linux-arm-kernel@lists.infradead.org and/or > > > get_maintainer.pl results is cc'ed on anything ARM specific as a start? > > > > I think this should be the case, would you be willing to add a note to > > that effect at the top of the JSON files? > > Adding notes to JSONs would be painful unless the parser is updated to to > filter them out. And, as I understand, the x86 JSONs are autogenerated, so > that tooling would need to handle this also. Ok > > > > And an extra note at tools/perf/pmu-events/README telling users to look > > at the json files to figure out what Reviewed-by tags are required for > > something to get merged? One extra Reviewed-by would be ok?Who would be > > the reviewers for each arch? Would that be at the top of the JSON file? > > There is no per-arch JSON, and, in addition, I think that would be hard to > formulate such formal rules. Ok > As an alternative, how about just add a maintainers entry for reviewers per > arch? As a start, I don't mind being added there for arm64: > > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -12767,6 +12767,10 @@ F: arch/*/events/* > F: arch/*/events/*/* > F: tools/perf/ > > +PERFORMANCE EVENTS SUBSYSTEM ARM64 PMU EVENTS > +R: John Garry > +F: tools/perf/pmu-events/arch/arm64 > + > > Patches per-arch should have some nod/tag from a member of the respective > list. Or at very least be cc'ed :) Another Ok, please send a formal patch, and it would be really nice if the other ARM folks would... Ack that ;-) :-) And provide extra entries for the other pmu-events directories or even for specific files, which is a possibility, right? On my side I'll script a bit more and make sure that a post commit hook warns me if the right tag is not present. - Arnaldo