Re: [PATCH] perf/x86/rapl: Fix Haswell and Broadwell server RAPL event

From: Peter Zijlstra
Date: Thu Jan 11 2018 - 14:54:49 EST


On Thu, Jan 11, 2018 at 11:15:43AM -0800, kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> Perf-fuzzer triggers non-existent MSR access in RAPL driver on
> Haswell-EX.
>
> Haswell/Broadwell server and client have differnt RAPL events.
> Since 'commit 7f2236d0bf9a ("perf/x86/rapl: Use Intel family macros for
> RAPL")', it accidentally assign RAPL client events to server.

Thanks!