Home
last modified time | relevance | path

Searched full:fwft (Results 1 – 5 of 5) sorted by relevance

/linux/arch/riscv/kvm/
H A Dvcpu_sbi_fwft.c140 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_pointer_masking_pmlen_supported() local
145 fwft->have_vs_pmlen_7 = try_to_set_pmm(ENVCFG_PMM_PMLEN_7); in kvm_sbi_fwft_pointer_masking_pmlen_supported()
146 fwft->have_vs_pmlen_16 = try_to_set_pmm(ENVCFG_PMM_PMLEN_16); in kvm_sbi_fwft_pointer_masking_pmlen_supported()
148 return fwft->have_vs_pmlen_7 || fwft->have_vs_pmlen_16; in kvm_sbi_fwft_pointer_masking_pmlen_supported()
160 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_set_pointer_masking_pmlen() local
168 if (!fwft->have_vs_pmlen_7) in kvm_sbi_fwft_set_pointer_masking_pmlen()
173 if (!fwft->have_vs_pmlen_16) in kvm_sbi_fwft_set_pointer_masking_pmlen()
259 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_get_config() local
262 if (fwft->configs[i].feature->id == feature) in kvm_sbi_fwft_get_config()
263 return &fwft->configs[i]; in kvm_sbi_fwft_get_config()
[all …]
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c1067 {"sbi-fwft", .feature_type = VCPU_FEATURE_SBI_EXT, .feature = KVM_RISCV_SBI_EXT_FWFT, \
1154 KVM_SBI_EXT_SUBLIST_CONFIG(fwft, FWFT);
/linux/arch/riscv/include/asm/
H A Dsbi.h617 * @flags: FWFT feature set flags
/linux/arch/riscv/kernel/
H A Dtraps_misaligned.c642 * CPUs, or the SBI does not implement the FWFT extension but delegated in misaligned_traps_can_delegate()
/linux/Documentation/devicetree/bindings/riscv/
H A Dextensions.yaml284 explicitly enable it using the SBI FWFT extension.