lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 24 Nov 2022 10:18:40 +0800
From:   Xing Zhengjun <zhengjun.xing@...ux.intel.com>
To:     Ian Rogers <irogers@...gle.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     peterz@...radead.org, mingo@...hat.com,
        alexander.shishkin@...el.com, jolsa@...nel.org,
        namhyung@...nel.org, linux-kernel@...r.kernel.org,
        linux-perf-users@...r.kernel.org, ak@...ux.intel.com,
        kan.liang@...ux.intel.com
Subject: Re: [PATCH v2 1/5] perf vendor events intel: Add core event list for
 Alderlake-N



On 11/24/2022 7:33 AM, Ian Rogers wrote:
> On Wed, Nov 23, 2022 at 5:40 AM Arnaldo Carvalho de Melo
> <acme@...nel.org> 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 <zhengjun.xing@...ux.intel.com> wrote:
>>>>>
>>>>> From: Zhengjun Xing <zhengjun.xing@...ux.intel.com>
>>>>>
>>>>> 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 <zhengjun.xing@...ux.intel.com>
>>>>> Reviewed-by: Kan Liang <kan.liang@...ux.intel.com>
>>>>
>>>> Acked-by: Ian Rogers <irogers@...gle.com>
>>>
>>> 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@...lbox 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ