Re: [RESEND PATCH] perf/x86/intel/uncore: Fix M2M event umask for Ice Lake server

From: Peter Zijlstra
Date: Tue Jun 01 2021 - 09:57:03 EST


On Tue, Jun 01, 2021 at 06:09:03AM -0700, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> Perf tool errors out with the latest event list for the Ice Lake server.
>
> event syntax error: 'unc_m2m_imc_reads.to_pmm'
> \___ value too big for format, maximum is 255
>
> The same as the Snow Ridge server, the M2M uncore unit in the Ice Lake
> server has the unit mask extension field as well.
>
> Fixes: 2b3b76b5ec67 ("perf/x86/intel/uncore: Add Ice Lake server uncore support")
> Reported-by: Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
> Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Thanks!