Re: [tip:perf/core] perf/x86: Export some PMU attributes in caps/ directory

From: Borislav Petkov
Date: Mon Aug 28 2017 - 07:01:52 EST


On Mon, Aug 28, 2017 at 12:46:50PM +0200, Peter Zijlstra wrote:
> Boris, could you give this a spin?
>
> ---
> Subject: perf/x86: Fix caps/ for !Intel
>
> Move the 'max_precise' capability into generic x86 code where it
> belongs. This fixes a sysfs splat on !Intel systems where we fail to set
> x86_pmu_caps_group.atts.
>
> Fixes: 22688d1c20f5 ("x86/perf: Export some PMU attributes in caps/ directory")
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Reported-and-tested-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.