Home
last modified time | relevance | path

Searched full:sstc (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/clocksource/
H A Dtimer-riscv.c163 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 Driscv,timer.yaml16 extension or the RISC-V Sstc extension.
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_timer.h32 /* Flag to check if sstc is enabled or not */
/openbmc/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml144 - const: sstc
146 The standard Sstc supervisor-level extension for time compare as
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_timer.c255 /* 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 Dvcpu.c481 if (riscv_isa_extension_available(isa, SSTC)) in kvm_riscv_vcpu_update_config()
H A Dvcpu_onereg.c38 KVM_ISA_EXT_ARR(SSTC),
/openbmc/qemu/target/riscv/
H A Dtime_helper.c75 * Sstc specification says the following about timer interrupt: in riscv_timer_write_timecmp()
H A Dcpu_bits.h213 /* Sstc supervisor CSRs */
274 /* Sstc virtual CSRs */
H A Dcsr.c457 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 Dcpu.h410 /* Sstc CSRs */
H A Dcpu.c194 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 Dcpufeature.c181 __RISCV_ISA_EXT_DATA(sstc, RISCV_ISA_EXT_SSTC),
/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c715 {"sstc", .feature = KVM_RISCV_ISA_EXT_SSTC, .regs = sstc_regs, .regs_n = ARRAY_SIZE(sstc_regs),}
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c324 KVM_EXT_CFG("sstc", ext_sstc, KVM_RISCV_ISA_EXT_SSTC),