+15
−0
Loading
mainline inclusion from mainline-v6.9-rc2 commit 68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAU6ZD Reference: https://github.com/torvalds/linux/commit/68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff -------------------------------- commit 68cdf1e6e8f2ce78ed7d8f5d80844fd75a9c54ff upstream Add the "ref-cycles" event for AMD processors based on Zen 4 and later microarchitectures. The backing event is based on PMCx120 which counts cycles not in halt state in P0 frequency (same as MPERF). Signed-off-by:Sandipan Das <sandipan.das@amd.com> Signed-off-by:
Ingo Molnar <mingo@kernel.org> Reviewed-by:
Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/089155f19f7c7e65aeb1caa727a882e2ca9b8b04.1711352180.git.sandipan.das@amd.com Signed-off-by:
PvsNarasimha <PVS.NarasimhaRao@amd.com>