perf PMU support for Haswell v8

Andi Kleen
2013-04-20T19:23:28Z

This is a heavily updated version of the Haswell PMU TSX and other
patchkit, on top of the separate "basic haswell" patchkit

This adds perf PMU support for the upcoming Haswell core. The patchkit
is fairly large, mainly due to various enhancement for TSX. TSX tuning
relies heavily on the PMU, so I tried hard to make all facilities
easily available. In addition it also has some other enhancements.

Overview:
- perf stat -T to get high level transaction statistics
- A generic set of transaction events
- Support for transaction abort flags to distingush abort types
- Support for transaction abort weight
- Full support for transaction LBR flags
- KVM support to run perf stat -T in a guest
- Full width counters and checkpointed counter support
- Address support for all PEBS events

This includes changes to the core perf code, to the x86 specific part,
to the perf user land tools and to KVM

Available at
git://git.kernel.org/pub/scm/linux/kernel/ak/linux-misc.git hsw/pmu6

For more details on the Haswell PMU please see the SDM. For more details on TSX
please see http://halobates.de/adding-lock-elision-to-linux.pdf

[dropped old changelog]

-Andi