From: Jun Liang Tan <junliang.tan@linux.starfivetech.com>
To: opensbi@lists.infradead.org
Subject: [PATCH] include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
Date: Thu, 28 Apr 2022 17:45:02 +0800 [thread overview]
Message-ID: <20220428094502.12614-1-junliang.tan@linux.starfivetech.com> (raw)
Increase maximum number of PMU hardware events that can be mapped
by OpenSBI to 256
Signed-off-by: Jun Liang Tan <junliang.tan@linux.starfivetech.com>
Signed-off-by: Wei Liang Lim <weiliang.lim@linux.starfivetech.com>
---
include/sbi/sbi_pmu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/sbi/sbi_pmu.h b/include/sbi/sbi_pmu.h
index 6a1c62c..f5e3dbd 100644
--- a/include/sbi/sbi_pmu.h
+++ b/include/sbi/sbi_pmu.h
@@ -17,7 +17,7 @@
/* Event related macros */
/* Maximum number of hardware events that can mapped by OpenSBI */
-#define SBI_PMU_HW_EVENT_MAX 64
+#define SBI_PMU_HW_EVENT_MAX 256
/* Maximum number of firmware events that can mapped by OpenSBI */
#define SBI_PMU_FW_EVENT_MAX 32
--
2.25.1
next reply other threads:[~2022-04-28 9:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 9:45 Jun Liang Tan [this message]
2022-04-29 9:57 ` [PATCH] include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256 Anup Patel
2022-05-07 4:15 ` Anup Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220428094502.12614-1-junliang.tan@linux.starfivetech.com \
--to=junliang.tan@linux.starfivetech.com \
--cc=opensbi@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox