Sandipan Das 56e026a7ca perf/x86/amd/core: Detect available counters
If AMD Performance Monitoring Version 2 (PerfMonV2) is
supported, use CPUID leaf 0x80000022 EBX to detect the
number of Core PMCs. This offers more flexibility if the
counts change in later processor families.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/68a6d9688df189267db26530378870edd34f7b06.1650515382.git.sandipan.das@amd.com
2022-05-04 11:18:26 +02:00
..
2022-01-16 16:15:14 +02:00
2021-10-20 22:35:04 +02:00
2021-03-18 15:31:53 +01:00
2020-01-23 10:41:20 -08:00
2021-03-18 15:31:53 +01:00
2021-09-08 15:32:35 -07:00
2022-03-15 10:32:39 +01:00
2020-05-07 16:06:20 +02:00
2022-03-15 10:32:40 +01:00
2021-12-11 09:09:47 +01:00
2021-10-28 23:25:26 +02:00
2020-10-28 20:26:25 +01:00
2021-10-05 21:48:30 +02:00
2020-11-26 12:58:56 +01:00
2020-11-06 23:14:58 +01:00
2021-02-24 16:32:23 -08:00
2021-05-12 14:54:56 +02:00
2020-12-15 23:58:04 -08:00
2021-12-11 09:09:45 +01:00
2020-09-16 16:52:28 +02:00
2022-01-16 15:53:00 +02:00
2021-12-11 09:09:47 +01:00
2020-10-14 11:42:04 -07:00
2021-12-11 09:09:45 +01:00
2022-03-15 10:32:36 +01:00
2022-03-25 13:02:05 -07:00
2021-07-01 11:06:03 -07:00
2022-03-15 10:32:35 +01:00
2021-12-11 09:09:49 +01:00
2021-12-11 09:09:45 +01:00
2018-03-20 10:01:57 +01:00
2019-04-10 09:53:31 +02:00
2020-03-21 16:03:25 +01:00
2022-03-21 14:17:20 -07:00
2020-11-17 14:36:13 +01:00
2020-08-10 19:07:44 -07:00
2022-02-25 09:36:05 +01:00
2022-01-30 21:17:00 -05:00
2022-01-30 21:17:00 -05:00
2020-03-23 18:45:14 +01:00
2020-01-14 12:20:58 +01:00