Dear all,

I'm attaching a patch file which includes the MEM_STALL_ANYSTORE event, missing in HiSilicon's Kunpeng.

Kind regards,
-- Lau
From 9d22a5f430bf0c99b36c2bd69babae2ed7cf9a17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lau=20Mercadal=20Meli=C3=A0?= <lau.merca...@bsc.es>
Date: Mon, 8 Aug 2022 15:07:03 +0200
Subject: [PATCH] Adds missing MEM_STALL_ANYSTORE event to HiSilicon's Kunpeng core PMU

---
 lib/events/arm_hisilicon_kunpeng_events.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/events/arm_hisilicon_kunpeng_events.h b/lib/events/arm_hisilicon_kunpeng_events.h
index de81ec9..f90da9e 100644
--- a/lib/events/arm_hisilicon_kunpeng_events.h
+++ b/lib/events/arm_hisilicon_kunpeng_events.h
@@ -758,6 +758,12 @@ static const arm_entry_t arm_kunpeng_pe[ ] = {
 		.code = 0x7004,
 		.desc = "No any micro operation is issued and meanwhile any load operation is not resolved"
 	},
+	{
+		.name = "MEM_STALL_ANYSTORE",
+		.modmsk = ARMV8_ATTRS,
+		.code = 0x7005,
+		.desc = "No any micro operation is issued and meanwhile any store operation is not resolved"
+	},
 	{
 		.name = "MEM_STALL_L1MISS",
 		.modmsk = ARMV8_ATTRS,
-- 
2.30.2

_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to