Searched full:smstateen (Results 1 – 8 of 8) sorted by relevance
/linux/arch/riscv/kvm/ |
H A D | vcpu_onereg.c | 39 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 D | vcpu.c | 564 if (riscv_isa_extension_available(isa, SMSTATEEN)) in kvm_riscv_vcpu_setup_config()
|
/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 325 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 D | extensions.yaml | 143 - const: smstateen 145 The standard Smstateen extension for controlling access to CSRs
|
/linux/arch/riscv/include/uapi/asm/ |
H A D | kvm.h | 96 /* Smstateen CSR for KVM_GET_ONE_REG and KVM_SET_ONE_REG */
|
/linux/tools/arch/riscv/include/asm/ |
H A D | csr.h | 205 /* Smstateen bits */
|
/linux/arch/riscv/include/asm/ |
H A D | csr.h | 216 /* Smstateen bits */
|
/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 395 __RISCV_ISA_EXT_DATA(smstateen, RISCV_ISA_EXT_SMSTATEEN),
|