perf/x86/intel: Add Granite Rapids
authorKan Liang <kan.liang@linux.intel.com>
Tue, 14 Mar 2023 17:00:39 +0000 (10:00 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 21 Mar 2023 13:43:08 +0000 (14:43 +0100)
commitbc4000fdb009a531fc5b94339f8531eee64bc232
tree901a05e5cff4d541fe443b1f6a1d8bc67b1114d6
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
perf/x86/intel: Add Granite Rapids

From core PMU's perspective, Granite Rapids is similar to the Sapphire
Rapids. The key differences include:

 - Doesn't need the AUX event workaround for the mem load event.
   (Implement in this patch).

 - Support Retire Latency (Has been implemented in the commit
   c87a31093c70 ("perf/x86: Support Retire Latency"))

 - The event list, which will be supported in the perf tool later.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230314170041.2967712-1-kan.liang@linux.intel.com
arch/x86/events/intel/core.c