git: 88365ff691f1 - main - hwpmc/arm64: The counter is 64-bit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 May 2025 13:35:09 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=88365ff691f11db9bdb67ed4819abc98ecc437e9
commit 88365ff691f11db9bdb67ed4819abc98ecc437e9
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-05-27 19:55:32 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-05-27 19:55:32 +0000
hwpmc/arm64: The counter is 64-bit
Because we include the overflow count in the counter mark it as 64-bit.
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D50432
---
sys/dev/hwpmc/hwpmc_arm64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/hwpmc/hwpmc_arm64.c b/sys/dev/hwpmc/hwpmc_arm64.c
index e51d3fa84828..4f7cc16b9765 100644
--- a/sys/dev/hwpmc/hwpmc_arm64.c
+++ b/sys/dev/hwpmc/hwpmc_arm64.c
@@ -592,7 +592,7 @@ pmc_arm64_initialize(void)
pcd->pcd_class = PMC_CLASS_ARMV8;
pcd->pcd_num = arm64_npmcs;
pcd->pcd_ri = pmc_mdep->pmd_npmc;
- pcd->pcd_width = 32;
+ pcd->pcd_width = 64;
pcd->pcd_allocate_pmc = arm64_allocate_pmc;
pcd->pcd_config_pmc = arm64_config_pmc;