Searched full:fwft (Results 1 – 5 of 5) sorted by relevance
140 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_pointer_masking_pmlen_supported() local145 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() local168 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() local262 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 …]
1067 {"sbi-fwft", .feature_type = VCPU_FEATURE_SBI_EXT, .feature = KVM_RISCV_SBI_EXT_FWFT, \1154 KVM_SBI_EXT_SUBLIST_CONFIG(fwft, FWFT);
617 * @flags: FWFT feature set flags
642 * CPUs, or the SBI does not implement the FWFT extension but delegated in misaligned_traps_can_delegate()
284 explicitly enable it using the SBI FWFT extension.