From d3e069f0bbdf029ff54d7bc28fb27278cb1a67e1 Mon Sep 17 00:00:00 2001 From: Zixian Cai <2891235+caizixian@users.noreply.github.com> Date: Thu, 15 Feb 2024 10:30:52 -0800 Subject: [PATCH] Add AMD Zen 2 Matisse support (#28) Summary: Checked the AMD PPR and confirmed the event encoding image Pull Request resolved: https://github.com/facebookexperimental/reverie/pull/28 Reviewed By: asm89 Differential Revision: D53796098 Pulled By: jasonwhite fbshipit-source-id: 9d7e8f29c5b7307819735034decfd2deba60ca3a --- reverie-ptrace/src/timer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/reverie-ptrace/src/timer.rs b/reverie-ptrace/src/timer.rs index ceaac87..364f2de 100644 --- a/reverie-ptrace/src/timer.rs +++ b/reverie-ptrace/src/timer.rs @@ -73,6 +73,7 @@ pub(crate) fn get_rcb_perf_config() -> u64 { (0x06, 0x86) => 0x5101c4, // Intel Icelake (0x17, 0x8) => 0x5100d1, // AMD Zen, Pinnacle Ridge (0x17, 0x31) => 0x5100d1, // AMD Zen, Castle Peak + (0x17, 0x71) => 0x5100d1, // AMD Zen 2, Matisse (0x19, 0x01) => 0x5100d1, // AMD Zen, Milan (0x19, 0x50) => 0x5100d1, // AMD Zen, Cezanne oth => panic!(