- Add support for accessing the general purpose counters on Alder Lake via MMIO

- Add new LBR format v7 support which is v5 modulo TSX

- Fix counter enumeration on Alder Lake hybrids

- Overhaul how context time updates are done and get rid of
perf_event::shadow_ctx_time.

- The usual amount of fixes: event mask correction, supported event
types reporting, etc.
x86/perf: Avoid warning for Arch LBR without XSAVE

Some hypervisors support Arch LBR, but without the LBR XSAVE support.
The current Arch LBR init code prints a warning when the xsave size (0) is
unexpected. Avoid printing the warning for the "no LBR XSAVE" case.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211215204029.150686-1-ak@linux.intel.com
1 file changed