summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_pmu.c
AgeCommit message (Expand)AuthorFilesLines
2025-01-30lib: sbi: pmu: add the PMU SSE event only if overflow IRQ is supportedClément Léger1-1/+2
2025-01-30lib: sbi: sse: allow adding new eventsClément Léger1-2/+2
2025-01-30lib: sbi: pmu: fix usage of sbi_pmu_irq_bit()Clément Léger1-15/+27
2024-12-15lib: sbi_pmu: Verify the raw events first during event infoAtish Patra1-7/+6
2024-12-15lib: sbi_pmu: Fix the sanity check condition for hw event mapAtish Patra1-2/+2
2024-12-02lib: sbi_pmu: Implement SBI PMU event info functionAtish Patra1-0/+76
2024-12-02lib: sbi_pmu: Remove redundant check for fw eventsAtish Patra1-5/+0
2024-12-02lib: sbi_pmu: PMU raw event v2 supportAtish Patra1-5/+8
2024-04-05lib: sbi: Add SSE support for PMU eventsClément Léger1-0/+51
2024-02-20lib: sbi_pmu: Before using we should ensure PMU init doneyang.zhang1-2/+25
2023-12-08lib: sbi_pmu: Fix the counter info functionAtish Patra1-2/+6
2023-12-08lib: sbi_pmu: Add PMU snapshot definitionsAtish Patra1-0/+6
2023-12-06sbi: sbi_pmu: Add hw_counter_filter_mode() to pmu deviceYu Chien Peter Lin1-6/+14
2023-12-06sbi: sbi_pmu: Improve sbi_pmu_init() error handlingYu Chien Peter Lin1-1/+5
2023-11-22lib: sbi_pmu: avoid buffer overflowHeinrich Schuchardt1-2/+2
2023-10-06lib: sbi_pmu: check for index overflowsHeinrich Schuchardt1-0/+3
2023-09-10lib: sbi_pmu: keep overflow interrupt of stopped hpm counter disabledInochi Amaoto1-0/+3
2023-09-10lib: sbi_pmu: ensure update hpm counter before starting countingInochi Amaoto1-6/+8
2023-08-18lib: sbi: Add support for smcntrpmfKaiwen Xue1-2/+40
2023-08-06lib: sbi: Fix typo for finding fixed event counterKaiwen Xue1-2/+2
2023-08-06lib: sbi_pmu: Enable noncontigous hpm event and countersMayuresh Chitale1-5/+8
2023-07-05lib: sbi_pmu: Avoid out of bounds accessHeinrich Schuchardt1-0/+2
2023-06-05lib: sbi_pmu: Use heap for per-HART PMU stateAnup Patel1-88/+127
2023-04-17lib: sbi: Fix counter index calculation for SBI_PMU_CFG_FLAG_SKIP_MATCHAlexandre Ghiti1-2/+7
2023-04-17lib: sbi: Do not clear active_events for cycle/instret when stoppingAlexandre Ghiti1-1/+1
2023-04-07lib: sbi_pmu: Align the event type offset as per SBI specificationYu Chien Peter Lin1-3/+4
2023-03-10lib: sbi_pmu: Add hartid parameter PMU device opsMayuresh Chitale1-10/+15
2023-03-10lib: sbi_pmu: Introduce fw_counter_write_value APIMayuresh Chitale1-12/+13
2023-03-10lib: sbi_pmu: Use dedicated event code for platform firmware eventsMayuresh Chitale1-13/+52
2023-03-10lib: sbi_pmu: Update sbi_pmu dev opsMayuresh Chitale1-13/+17
2023-03-10lib: sbi_pmu: Rename fw_counter_valueMayuresh Chitale1-9/+13
2023-03-10lib: sbi_pmu: add callback for counter widthMayuresh Chitale1-0/+6
2023-01-06treewide: Replace TRUE/FALSE with true/falseBin Meng1-7/+7
2022-10-13lib: sbi_pmu: move pmu irq information into pmu itselfHeiko Stuebner1-0/+12
2022-09-01include: sbi: Reduce includes in sbi_pmu.hAnup Patel1-0/+2
2022-09-01lib: sbi_pmu: Add custom PMU device operationsAnup Patel1-21/+87
2022-09-01lib: sbi_pmu: Simplify FW counters to reduce memory usageAnup Patel1-42/+36
2022-09-01lib: sbi_pmu: Firmware counters are always 64 bits wideAnup Patel1-3/+3
2022-09-01lib: sbi_pmu: Replace sbi_pmu_ctr_read() with sbi_pmu_ctr_fw_read()Anup Patel1-38/+7
2022-09-01lib: sbi_pmu: Remove "event_idx" member from struct sbi_pmu_fw_eventAnup Patel1-3/+0
2022-07-30lib: sbi: Fix fw_event_map initializationAtish Patra1-1/+1
2022-07-30lib: sbi: Fix possible buffer overrun in counter validationAtish Patra1-4/+4
2022-07-30lib: sbi: Add the bound check for events during config matchAtish Patra1-2/+49
2022-07-30lib: sbi: Fix counter index sanity checkAtish Patra1-16/+17
2022-06-25lib: pmu: allow to use the highest available counterSergey Matyukevich1-7/+7
2022-05-07lib: sbi: Convert hart features into hart extensionsAnup Patel1-6/+6
2022-05-07lib: sbi: Remove MCOUNTINHIBT hart featureAnup Patel1-5/+5
2022-05-07lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart featuresAnup Patel1-1/+2
2022-05-07lib: sbi: Fix mhpmeventh access for rv32 in absence of sscofpmfAtish Patra1-2/+6
2022-02-04lib: fix compilation when strings.h is includedPetro Karashchenko1-3/+3