Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1107138ybp; Fri, 4 Oct 2019 09:35:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFjsxWxComOrfa34TYb9aX2e+adgBazMqHVxx1lTQwTyth9IESJzf30sdDqw34mIB+Bs+J X-Received: by 2002:aa7:ce8b:: with SMTP id y11mr16156005edv.231.1570206932103; Fri, 04 Oct 2019 09:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570206932; cv=none; d=google.com; s=arc-20160816; b=whHOel4PZKF2sjhEStbWucRhKU4tZeKxR8etWIOmEFEzPDqXo+mW2qbpkq7jcL579x RsHE37Y84Aayj8gLOCLoWZoSQZskfrJ0JQkv7Evx8iYnwN6/G1tUGWIHTFK5UnWGJihM 4JjXvGwVYdnWng29n5tzlaDz60uKEpEnpOXOPI6aNMLtGIEGR8sE8y4fzwptfh4oviUh lDT/EugK6zNg0L2CZQA88cPXPVy6sVVEOfieHpvod4A0y2TkAVBONgxLyJ+7vrOCsR5n htOmRL6VH2LOiGX0GBm4eXTbdqTHD4ByeCrOBoifTFd4PW5wUdY6+5DnN+VNNU8G9OIz bOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=YSROdGhyDJUqOoh88fhIwbAwJ76UcZDa/pHtwAm9+qE=; b=VcXw9+h+D1fHWEjAKyLyVegT2zZ0zX4xrqppT4X0MVVK0XKNEleutywo8YS9MbBX1o B4khDiKrjxZIp21Xf+u37+4J7FRuytD9zqlM5UdqhsondvTvIIelyrx/9DbAKC061Wp8 j5OHvyBtOicz/85u4JQogNqAfTSOkHzZedLCoFjdy8Xfk/sYLlK/IzvSzjphDcg/i2gE Fdi+IzWxS/weclF/J3fQo2+wOX3fL/3S8WUTwYhwEc5dR0a2TdQZ9+iiwGVu47DJxQlk q0v2gENiqsVWTjgWkGybpWvotSxpqQULpsL4LOfN2/DLX2p+nH7Xczf5xJb5J/9J1ZQL qPjQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si4543900edy.188.2019.10.04.09.35.07; Fri, 04 Oct 2019 09:35:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729527AbfJDQbP (ORCPT + 99 others); Fri, 4 Oct 2019 12:31:15 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:46268 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728600AbfJDQbO (ORCPT ); Fri, 4 Oct 2019 12:31:14 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 7D9AFF4F25F2F0353BAC; Sat, 5 Oct 2019 00:31:08 +0800 (CST) Received: from [127.0.0.1] (10.202.227.179) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Sat, 5 Oct 2019 00:30:53 +0800 Subject: Re: [PATCH 0/4] HiSilicon hip08 uncore PMU events additions To: Arnaldo Carvalho de Melo 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> CC: , , , , , , , , , , James Clark From: John Garry Message-ID: <0492ebd9-f867-423d-034c-9fe1c74902e7@huawei.com> Date: Fri, 4 Oct 2019 17:30:46 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20191004151853.GC17687@kernel.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.179] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >>>>>> 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. 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. > > 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. 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 :) Thanks, John > > - Arnaldo > > . >