Eric Lin
d4d3d34a2c
perf arch events: Fix duplicate RISC-V SBI firmware event name
...
[ Upstream commit 63ba5b0fb4f54db256ec43b3062b2606b383055d ]
Currently, the RISC-V firmware JSON file has duplicate event name
"FW_SFENCE_VMA_RECEIVED". According to the RISC-V SBI PMU extension[1],
the event name should be "FW_SFENCE_VMA_ASID_SENT".
Before this patch:
$ perf list
firmware:
fw_access_load
[Load access trap event. Unit: cpu]
fw_access_store
[Store access trap event. Unit: cpu]
....
fw_set_timer
[Set timer event. Unit: cpu]
fw_sfence_vma_asid_received
[Received SFENCE.VMA with ASID request from other HART event. Unit: cpu]
fw_sfence_vma_received
[Sent SFENCE.VMA with ASID request to other HART event. Unit: cpu]
After this patch:
$ perf list
firmware:
fw_access_load
[Load access trap event. Unit: cpu]
fw_access_store
[Store access trap event. Unit: cpu]
.....
fw_set_timer
[Set timer event. Unit: cpu]
fw_sfence_vma_asid_received
[Received SFENCE.VMA with ASID request from other HART event. Unit: cpu]
fw_sfence_vma_asid_sent
[Sent SFENCE.VMA with ASID request to other HART event. Unit: cpu]
fw_sfence_vma_received
[Received SFENCE.VMA request from other HART event. Unit: cpu]
Link: https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/src/ext-pmu.adoc#event-firmware-events-type-15 [1]
Fixes: 8f0dcb4e7364 ("perf arch events: riscv sbi firmware std event files")
Fixes: c4f769d4093d ("perf vendor events riscv: add Sifive U74 JSON file")
Fixes: acbf6de674ef ("perf vendor events riscv: Add StarFive Dubhe-80 JSON file")
Fixes: 7340c6df49df ("perf vendor events riscv: add T-HEAD C9xx JSON file")
Fixes: f5102e31c209 ("riscv: andes: Support specifying symbolic firmware and hardware raw event")
Signed-off-by: Eric Lin <eric.lin@sifive.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Nikita Shubin <n.shubin@yadro.com>
Reviewed-by: Inochi Amaoto <inochiama@outlook.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240719115018.27356-1-eric.lin@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-11 12:57:56 +02:00
..
2024-08-03 09:00:05 +02:00
2024-05-07 12:44:02 -03:00
2023-09-30 00:09:06 -07:00
2024-05-10 11:10:03 -03:00
2023-08-15 16:41:49 -03:00
2024-08-11 12:57:56 +02:00
2024-04-26 22:07:19 -03:00
2024-08-03 09:00:00 +02:00
2024-05-27 13:42:18 -03:00
2024-08-03 09:00:05 +02:00
2024-08-11 12:57:48 +02:00
2023-12-05 15:46:43 -03:00
2024-04-12 17:54:02 -03:00
2024-05-06 15:28:49 -03:00
2024-04-12 17:54:02 -03:00
2024-05-06 15:28:49 -03:00
2024-05-06 15:28:49 -03:00
2024-05-07 18:06:44 -03:00
2023-05-28 10:24:14 -03:00
2024-05-10 11:28:11 -03:00
2023-07-20 11:43:45 -03:00
2023-12-12 14:55:13 -03:00
2023-05-28 10:24:14 -03:00
2024-05-06 15:28:49 -03:00
2024-05-06 15:28:49 -03:00
2024-04-03 11:48:56 -03:00
2023-04-24 14:28:11 -03:00
2024-05-07 12:44:02 -03:00
2024-04-12 17:54:02 -03:00
2024-05-10 11:15:13 -03:00
2024-05-06 15:28:49 -03:00
2024-05-07 12:44:02 -03:00
2024-06-05 11:12:36 -03:00
2024-05-09 18:14:39 -03:00
2024-05-10 11:10:03 -03:00
2024-05-07 18:06:44 -03:00
2024-05-07 18:06:44 -03:00
2023-06-12 15:57:53 -03:00
2024-05-06 15:28:49 -03:00
2024-05-27 12:44:09 -03:00
2024-03-03 22:48:40 -08:00
2024-03-21 13:54:40 -03:00
2024-04-26 22:13:10 -03:00
2024-04-26 22:13:10 -03:00
2024-06-05 11:33:00 -03:00
2023-11-22 11:17:53 -08:00
2024-04-12 17:54:02 -03:00
2024-04-12 17:54:02 -03:00
2024-03-21 13:54:40 -03:00