Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8260024rwb; Wed, 23 Nov 2022 18:37:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4RRM1OeV8j9nfMJBMfJDBC3+vdvpje8d7V9C5pfCjACaXepWgOJxYJ/u1IvOvy5A0A+DyP X-Received: by 2002:a17:902:db09:b0:188:7dca:6f4d with SMTP id m9-20020a170902db0900b001887dca6f4dmr24918438plx.68.1669257463025; Wed, 23 Nov 2022 18:37:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669257463; cv=none; d=google.com; s=arc-20160816; b=OXeUlaHMgXf/JzfE0B0wCb105F6V8suIJ6sjxckW4hzvaoUXU/ft78cwYS1lENWiiA hp8jmmqDrbe7vnJTB+TnqzFv6/31fEG1MdtOulZdm61Myy2GXlFrHcn/MHg3pyalZQES GWYBLCOCT0Bkwigw975j/rt+9D7zNDIImk4yOXuRZVM2A+GrGetDPk2G1fQgC2d3ynZH 5tKyJBy+WlUC1WrLdNJcLU/r/KAOMOUQNSpi+ilNvJycDdbJq3QBvGzqFq0V3P5+vQ60 MvChC6D4moBBr5UsFH8K7rhxu97gOW62HpiWXMJc59miD5PTA3mBwGr6P5bCwg6Dl7y/ Sddg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cVuJUat3dt3JwodxtbOzjcgB4rwUSGPCzezIrCE2U8A=; b=RbnLW/cIreiLCaZHDfxIi+WP0ZEb/G/dNm2bQW0YX+vQ0ogxNwOYWBqyoiP5qbdb2n AbvmAHIEfz9RiktX1Tze9JdIr3VSUmpdaYLBq7mLw/x5n1r6R0aRpdTnc5GQtOms8/O9 ZfCIq4HS1mtDHLtpzzs9lM5U0UI+WKdTpy87K9Tm6PuUB8mW+34oTk/0BV/HR/L9E6Cc zmIV5jojZ6DvxOsFkLqu/9tg2VEwOm9tG0IkO7ZGyJJYZuuBrmecYSuAjD6mVaejKPY9 BDm1lRNas5AVxuvGqRUcIWNmFz5XicTljYtcauQJnpx37pqM4Po2fmSE5ZzorKAz0if1 5HUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N+D15SLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170902f54b00b0017f7dc60325si20493850plf.555.2022.11.23.18.37.28; Wed, 23 Nov 2022 18:37:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=N+D15SLw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229647AbiKXCSx (ORCPT + 88 others); Wed, 23 Nov 2022 21:18:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiKXCSv (ORCPT ); Wed, 23 Nov 2022 21:18:51 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED1C27C009; Wed, 23 Nov 2022 18:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669256329; x=1700792329; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=hd/CA+AqpxNj+oylnAnOQIda+Prjkled9nsCoQeGtoc=; b=N+D15SLwclRh2eR4RXSyY8zxuZHjm2IQmqCySCX3hmp0iFwDtyZUltqg 4Rj2tm/O1vhgdSYzxG/4qTPHfhPH7yAF0xS4qjbyHIyTtqhL3IIDmA2vx nOoiefsSrUjljQMLbFAjQBsmWpDG+Hhj55TreE8itcMRZclcx+UVmOHDE Y68lNd0eWHL/FjjuEUTIQ89K328rA63dZ/tT0ZtZzjTXhOpHygYBU2jGs QGJwbz/9YUPAsOR3gTkBOy/memgiq091olYWfPJfg3wrfmJpZak4B7BSn WOgMnwf4KtUi/jhzNg5Hi08rdxwe9Yv52gETvKmk/gGBdvA6FaR5KTWCz Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="294585009" X-IronPort-AV: E=Sophos;i="5.96,189,1665471600"; d="scan'208";a="294585009" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2022 18:18:49 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10540"; a="730978517" X-IronPort-AV: E=Sophos;i="5.96,189,1665471600"; d="scan'208";a="730978517" Received: from xingzhen-mobl.ccr.corp.intel.com (HELO [10.238.4.77]) ([10.238.4.77]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2022 18:18:44 -0800 Message-ID: <41a60078-52c1-92bc-f8c1-178ac8994681@linux.intel.com> Date: Thu, 24 Nov 2022 10:18:40 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 1/5] perf vendor events intel: Add core event list for Alderlake-N To: Ian Rogers , Arnaldo Carvalho de Melo Cc: peterz@infradead.org, mingo@redhat.com, alexander.shishkin@intel.com, jolsa@kernel.org, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, ak@linux.intel.com, kan.liang@linux.intel.com References: <20221121082058.64578-1-zhengjun.xing@linux.intel.com> Content-Language: en-US From: Xing Zhengjun In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 On 11/24/2022 7:33 AM, Ian Rogers wrote: > On Wed, Nov 23, 2022 at 5:40 AM Arnaldo Carvalho de Melo > wrote: >> >> Em Wed, Nov 23, 2022 at 10:37:05AM -0300, Arnaldo Carvalho de Melo escreveu: >>> Em Mon, Nov 21, 2022 at 01:17:12PM -0800, Ian Rogers escreveu: >>>> On Mon, Nov 21, 2022 at 12:19 AM wrote: >>>>> >>>>> From: Zhengjun Xing >>>>> >>>>> Alderlake-N only has E-core, it has been moved to non-hybrid code path on >>>>> the kernel side. Add core event list for Alderlake-N, it is based on the >>>>> ADL gracemont v1.16 JSON file. >>>>> >>>>> https://github.com/intel/perfmon/tree/main/ADL/events/ >>>>> >>>>> Signed-off-by: Zhengjun Xing >>>>> Reviewed-by: Kan Liang >>>> >>>> Acked-by: Ian Rogers >>> >>> Is this just for 1/5? Or can I stick it to the whole series? >> >> But, after applying 1/5 I get: >> >> CC /tmp/build/perf/util/data-convert-bt.o >> CC /tmp/build/perf/util/data-convert-json.o >> /tmp/build/perf/pmu-events/pmu-events.c:55354:39: error: ‘pme_alderlaken’ defined but not used [-Werror=unused-const-variable=] >> 55354 | static const struct compact_pmu_event pme_alderlaken[] = { >> | ^~~~~~~~~~~~~~ >> cc1: all warnings being treated as errors >> make[3]: *** [/var/home/acme/git/perf/tools/build/Makefile.build:97: /tmp/build/perf/pmu-events/pmu-events.o] Error 1 >> make[2]: *** [Makefile.perf:711: /tmp/build/perf/pmu-events/pmu-events-in.o] Error 2 >> make[2]: *** Waiting for unfinished jobs.... >> CC /tmp/build/perf/util/lzma.o >> CC /tmp/build/perf/util/zlib.o >> CC /tmp/build/perf/util/jitdump.o >> CC /tmp/build/perf/util/bpf-event.o >> LD /tmp/build/perf/util/perf-in.o >> LD /tmp/build/perf/perf-in.o >> make[1]: *** [Makefile.perf:240: sub-make] Error 2 >> make: *** [Makefile:113: install-bin] Error 2 >> make: Leaving directory '/var/home/acme/git/perf/tools/perf' >> >> Performance counter stats for 'make -k BUILD_BPF_SKEL=1 CORESIGHT=1 O=/tmp/build/perf -C tools/perf install-bin': >> >> 26,049,918,108 cycles:u >> 47,580,273,158 instructions:u # 1.83 insn per cycle >> >> 4.655423698 seconds time elapsed >> >> 6.211852000 seconds user >> 5.060661000 seconds sys >> >> >> ⬢[acme@toolbox perf]$ >> >> Please fix it and send a v2. >> >> - Arnaldo > > Thanks Arnaldo, my acked-by was for the whole series (missing cover > letter in v2). The mapfile.csv change was reordered in v2, I asked for > this. I think that change needs squashing into this one to avoid the > unused case. > > Thanks, > Ian The whole series should have no build issue, the issue caused by the mapfile .csv changes reordered from 0000 to 0004 in v2, I will merge the mapfile.csv changes and this into one patch, and the build issue should be fixed. -- Zhengjun Xing