opensbi/lib/sbi
Alexandre Ghiti bdb3c42bca lib: sbi: Do not clear active_events for cycle/instret when stopping
Those events are enabled by default and should not be reset afterwards
since when using SBI_PMU_CFG_FLAG_SKIP_MATCH, it leads to unaccessible
counters after the first use.

Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
2023-04-17 09:26:26 +05:30
..
Kconfig lib: sbi: Implement SBI CPPC extension 2023-04-07 09:36:01 +05:30
objects.mk lib: sbi: Implement SBI CPPC extension 2023-04-07 09:36:01 +05:30
riscv_asm.c lib: sbi: Remove 's' and 'u' from misa_string() output 2022-05-07 10:02:28 +05:30
riscv_atomic.c lib: sbi: fix atomic_add_return 2021-04-09 18:51:02 +05:30
riscv_hardfp.S lib: Move sbi core library to lib/sbi 2019-06-19 09:48:51 +05:30
riscv_locks.c lib: sbi: Have spinlock checks return bool 2021-05-14 17:05:20 +05:30
sbi_bitmap.c lib: Simple bitmap library 2020-03-11 15:29:45 +05:30
sbi_bitops.c lib: fix compilation when strings.h is included 2022-02-04 11:04:19 +05:30
sbi_console.c lib: sbi: Speed-up sbi_printf() and friends using nputs() 2023-02-10 10:30:18 +05:30
sbi_cppc.c lib: sbi: Implement SBI CPPC extension 2023-04-07 09:36:01 +05:30
sbi_domain.c lib: sbi: Fix how to check whether the domain contains fw_region 2023-04-06 16:14:35 +05:30
sbi_ecall.c lib: sbi: sbi_ecall: Check the range of SBI error 2023-02-27 11:46:08 +05:30
sbi_ecall_base.c lib: sbi: Replace args with trap registers in ecall handler 2021-01-07 09:53:14 +05:30
sbi_ecall_cppc.c lib: sbi: Implement SBI CPPC extension 2023-04-07 09:36:01 +05:30
sbi_ecall_dbcn.c lib: sbi: Implement SBI debug console extension 2023-02-10 09:55:18 +05:30
sbi_ecall_exts.carray lib: sbi_ecall: Generate extensions list with carray 2022-10-23 11:00:30 +05:30
sbi_ecall_hsm.c lib: sbi_hsm: Remove unnecessary include 2023-02-27 19:38:55 +05:30
sbi_ecall_ipi.c lib: sbi_ecall: Split up sbi_ecall_replace 2022-11-15 16:44:03 +05:30
sbi_ecall_legacy.c lib: sbi: Rename sbi_hsm_hart_started_mask() function 2021-03-03 10:17:45 +05:30
sbi_ecall_pmu.c lib: sbi_pmu: Implement sbi_pmu_counter_fw_read_hi 2023-03-10 14:00:07 +05:30
sbi_ecall_rfence.c lib: sbi_ecall: Split up sbi_ecall_replace 2022-11-15 16:44:03 +05:30
sbi_ecall_srst.c lib: sbi_ecall: Split up sbi_ecall_replace 2022-11-15 16:44:03 +05:30
sbi_ecall_susp.c lib: sbi: Add system suspend skeleton 2023-02-27 19:43:52 +05:30
sbi_ecall_time.c lib: sbi_ecall: Split up sbi_ecall_replace 2022-11-15 16:44:03 +05:30
sbi_ecall_vendor.c include: sbi: Remove extid parameter from vendor_ext_provider() callback 2023-02-27 11:26:37 +05:30
sbi_emulate_csr.c treewide: Replace TRUE/FALSE with true/false 2023-01-06 17:26:35 +05:30
sbi_expected_trap.S lib: sbi: Fix typo in comment 2022-10-23 10:19:28 +05:30
sbi_fifo.c treewide: Replace TRUE/FALSE with true/false 2023-01-06 17:26:35 +05:30
sbi_hart.c lib: sbi_hart: clear mip csr during hart init 2023-04-06 18:52:03 +05:30
sbi_hfence.S lib: sbi: Fix GPA passed to __sbi_hfence_gvma_xyz() functions 2021-11-02 16:02:08 +05:30
sbi_hsm.c lib: sbi_hsm: Fix sbi_hsm_hart_start() for platform with hart hotplug 2023-04-06 18:48:19 +05:30
sbi_illegal_insn.c lib: sbi_illegal_insn: Fix FENCE.TSO emulation infinite trap loop 2022-08-22 08:57:23 +05:30
sbi_init.c lib: sbi: Print the CPPC device name 2023-04-07 09:36:42 +05:30
sbi_ipi.c lib: sbi: Optimize sbi_tlb queue waiting 2023-04-14 13:45:30 +05:30
sbi_irqchip.c lib: sbi: Add a simple external interrupt handling framework 2022-02-28 09:43:12 +05:30
sbi_math.c lib: Create a separate math helper function file 2020-05-10 09:59:24 +05:30
sbi_misaligned_ldst.c lib: sbi_misaligned_ldst: Set GVA if not emulating 2022-09-13 16:43:07 +05:30
sbi_platform.c lib: sbi: Refine the way to construct platform features 2021-09-03 12:16:01 +05:30
sbi_pmu.c lib: sbi: Do not clear active_events for cycle/instret when stopping 2023-04-17 09:26:26 +05:30
sbi_scratch.c lib: sbi_scratch: Optimize the alignment code for alloc size 2023-04-06 16:00:45 +05:30
sbi_string.c lib: sbi: Fix sbi_strnlen wrong count decrement 2022-09-13 17:17:10 +05:30
sbi_system.c platform: generic: Add system suspend test 2023-02-27 19:50:51 +05:30
sbi_timer.c lib: sbi_timer: Added a conditional wait function which can timeout 2022-07-08 14:51:24 +05:30
sbi_tlb.c lib: sbi: Optimize sbi_tlb queue waiting 2023-04-14 13:45:30 +05:30
sbi_trap.c treewide: Replace TRUE/FALSE with true/false 2023-01-06 17:26:35 +05:30
sbi_unpriv.c lib: sbi: Fix tval and tinst for sbi_get_insn() 2022-06-21 08:31:56 +05:30