Home
last modified time | relevance | path

Searched full:smstateen (Results 1 – 8 of 8) sorted by relevance

/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c39 KVM_ISA_EXT_ARR(SMSTATEEN),
194 /* Extensions which can be disabled using Smstateen */ in kvm_riscv_vcpu_isa_disable_allowed()
842 if (riscv_isa_extension_available(vcpu->arch.isa, SMSTATEEN)) in num_csr_regs()
886 /* copy Smstateen csr regs */ in copy_csr_reg_indices()
887 if (riscv_isa_extension_available(vcpu->arch.isa, SMSTATEEN)) { in copy_csr_reg_indices()
H A Dvcpu.c564 if (riscv_isa_extension_available(isa, SMSTATEEN)) in kvm_riscv_vcpu_setup_config()
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c325 TEST_FAIL("Unknown smstateen csr reg: 0x%llx", reg_off); in smstateen_csr_id_to_str()
422 KVM_ISA_EXT_ARR(SMSTATEEN), in isa_ext_single_id_to_str()
881 …{"smstateen", .feature = KVM_RISCV_ISA_EXT_SMSTATEEN, .regs = smstateen_regs, .regs_n = ARRAY_SIZE…
958 KVM_ISA_EXT_SUBLIST_CONFIG(smstateen, SMSTATEEN);
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml143 - const: smstateen
145 The standard Smstateen extension for controlling access to CSRs
/linux/arch/riscv/include/uapi/asm/
H A Dkvm.h96 /* Smstateen CSR for KVM_GET_ONE_REG and KVM_SET_ONE_REG */
/linux/tools/arch/riscv/include/asm/
H A Dcsr.h205 /* Smstateen bits */
/linux/arch/riscv/include/asm/
H A Dcsr.h216 /* Smstateen bits */
/linux/arch/riscv/kernel/
H A Dcpufeature.c395 __RISCV_ISA_EXT_DATA(smstateen, RISCV_ISA_EXT_SMSTATEEN),