Home
last modified time | relevance | path

Searched refs:KVM_REG_RISCV (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c425 TEST_ASSERT((id & KVM_REG_ARCH_MASK) == KVM_REG_RISCV, in print_reg()
487 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(isa),
488 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(mvendorid),
489 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(marchid),
490 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(mimpid),
491 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CONFIG | KVM_REG_RISCV_CONFIG_REG(satp_mode),
492 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.pc),
493 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.ra),
494 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.sp),
495 KVM_REG_RISCV | KVM_REG_SIZE_ULONG | KVM_REG_RISCV_CORE | KVM_REG_RISCV_CORE_REG(regs.gp),
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_onereg.c650 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_CONFIG | i; in copy_config_reg_indices()
681 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_CORE | i; in copy_core_reg_indices()
713 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_CSR | in copy_csr_reg_indices()
730 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_CSR | in copy_csr_reg_indices()
754 u64 reg = KVM_REG_RISCV | KVM_REG_SIZE_U64 | in copy_timer_reg_indices()
783 u64 reg = KVM_REG_RISCV | KVM_REG_SIZE_U32 | in copy_fp_f_reg_indices()
815 reg = KVM_REG_RISCV | KVM_REG_SIZE_U64 | in copy_fp_d_reg_indices()
826 reg = KVM_REG_RISCV | KVM_REG_SIZE_U32 | KVM_REG_RISCV_FP_D | i; in copy_fp_d_reg_indices()
845 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_ISA_EXT | i; in copy_isa_ext_reg_indices()
886 u64 reg = KVM_REG_RISCV | size | KVM_REG_RISCV_SBI_EXT | in copy_sbi_ext_reg_indices()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/include/riscv/
H A Dprocessor.h16 return KVM_REG_RISCV | type | idx | size; in __kvm_reg_id()
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c64 uint64_t id = KVM_REG_RISCV | type | idx; in kvm_riscv_reg_id_ulong()
81 return KVM_REG_RISCV | KVM_REG_SIZE_U32 | type | idx; in kvm_riscv_reg_id_u32()
86 return KVM_REG_RISCV | KVM_REG_SIZE_U64 | type | idx; in kvm_riscv_reg_id_u64()
104 id = KVM_REG_RISCV | KVM_REG_RISCV_VECTOR | KVM_REG_RISCV_VECTOR_REG(idx); in kvm_riscv_vector_reg_id()
417 .kvm_reg_id = KVM_REG_RISCV | KVM_REG_SIZE_U64 | KVM_REG_RISCV_VECTOR |
423 .kvm_reg_id = KVM_REG_RISCV | KVM_REG_SIZE_U64 |
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h1060 #define KVM_REG_RISCV 0x8000000000000000ULL macro
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h1364 #define KVM_REG_RISCV 0x8000000000000000ULL macro
/openbmc/linux/include/uapi/linux/
H A Dkvm.h1364 #define KVM_REG_RISCV 0x8000000000000000ULL macro