Searched full:sstc (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/drivers/clocksource/ |
H A D | timer-riscv.c | 163 if (riscv_isa_extension_available(NULL, SSTC)) { in riscv_timer_init_common() 164 pr_info("Timer interrupt in S-mode is available via sstc extension\n"); in riscv_timer_init_common()
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | riscv,timer.yaml | 16 extension or the RISC-V Sstc extension.
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | kvm_vcpu_timer.h | 32 /* Flag to check if sstc is enabled or not */
|
/openbmc/linux/Documentation/devicetree/bindings/riscv/ |
H A D | extensions.yaml | 144 - const: sstc 146 The standard Sstc supervisor-level extension for time compare as
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_timer.c | 255 /* Enable sstc for every vcpu if available in hardware */ in kvm_riscv_vcpu_timer_init() 256 if (riscv_isa_extension_available(NULL, SSTC)) { in kvm_riscv_vcpu_timer_init()
|
H A D | vcpu.c | 481 if (riscv_isa_extension_available(isa, SSTC)) in kvm_riscv_vcpu_update_config()
|
H A D | vcpu_onereg.c | 38 KVM_ISA_EXT_ARR(SSTC),
|
/openbmc/qemu/target/riscv/ |
H A D | time_helper.c | 75 * Sstc specification says the following about timer interrupt: in riscv_timer_write_timecmp()
|
H A D | cpu_bits.h | 213 /* Sstc supervisor CSRs */ 274 /* Sstc virtual CSRs */
|
H A D | csr.c | 457 static RISCVException sstc(CPURISCVState *env, int csrno) in sstc() function 507 return sstc(env, csrno); in sstc_32() 2766 /* sstc extension forbids STIP & VSTIP to be writeable in mip */ in rmw_mip64() 2826 * STIP being read-only zero in case of mvip when sstc extension 2849 * (!sstc & MIP_STIP) in rmw_mvip64() 2880 * If sstc is present, mvip.STIP is not an alias of mip.STIP so clear in rmw_mvip64() 5172 [CSR_STIMECMP] = { "stimecmp", sstc, read_stimecmp, write_stimecmp, 5176 [CSR_VSTIMECMP] = { "vstimecmp", sstc, read_vstimecmp,
|
H A D | cpu.h | 410 /* Sstc CSRs */
|
H A D | cpu.c | 194 ISA_EXT_DATA_ENTRY(sstc, PRIV_VERSION_1_12_0, ext_sstc), 1503 MULTI_EXT_CFG_BOOL("sstc", ext_sstc, true),
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 181 __RISCV_ISA_EXT_DATA(sstc, RISCV_ISA_EXT_SSTC),
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 715 {"sstc", .feature = KVM_RISCV_ISA_EXT_SSTC, .regs = sstc_regs, .regs_n = ARRAY_SIZE(sstc_regs),}
|
/openbmc/qemu/target/riscv/kvm/ |
H A D | kvm-cpu.c | 324 KVM_EXT_CFG("sstc", ext_sstc, KVM_RISCV_ISA_EXT_SSTC),
|