Re: [PATCH 02/31] perf, x86: Basic Haswell PMU support

From: Peter Zijlstra
Date: Fri Sep 28 2012 - 11:21:36 EST


On Fri, 2012-09-28 at 17:14 +0200, Stephane Eranian wrote:
> But then what happens if I pass a raw value that sets those bits on a
> processor without TSX?

We could filter those bits depending on cpu_has_rtm && cpu_has_hle on
event creation.

But fixed event constraints could include superfluous bits just fine,
they'll never appear.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/