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.c162 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_set_pointer_masking_pmlen()
165 fwft->have_vs_pmlen_7 = try_to_set_pmm(ENVCFG_PMM_PMLEN_7); in kvm_sbi_fwft_set_pointer_masking_pmlen()
166 fwft->have_vs_pmlen_16 = try_to_set_pmm(ENVCFG_PMM_PMLEN_16); in kvm_sbi_fwft_set_pointer_masking_pmlen()
169 return fwft->have_vs_pmlen_7 || fwft->have_vs_pmlen_16; in kvm_sbi_fwft_set_pointer_masking_pmlen()
181 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_sbi_fwft_set_pointer_masking_pmlen()
189 if (!fwft->have_vs_pmlen_7) in kvm_sbi_fwft_set_pointer_masking_pmlen()
194 if (!fwft->have_vs_pmlen_16)
281 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); in kvm_fwft_get_feature()
284 if (fwft in kvm_fwft_get_feature()
140 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_fwft_pointer_masking_pmlen_supported() local
160 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_fwft_set_pointer_masking_pmlen() local
259 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_fwft_get_config() local
350 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_ext_fwft_init() local
377 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_ext_fwft_deinit() local
384 struct kvm_sbi_fwft *fwft = vcpu_to_fwft(vcpu); kvm_sbi_ext_fwft_reset() local
[all...]
/linux/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c154 * FWFT misaligned delegation registers are always visible when the SBI FWFT in filter_reg()
210 /* Enable SBI FWFT extension so that we can check the supported register */ in finalize_vcpu()
1248 SUBLIST_SBI(fwft_misaligned_deleg, FWFT),
1257 SUBLIST_SBI(fwft_pointer_masking, 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/arch/riscv/
H A DKconfig943 Use SBI FWFT to request delegation of load address misaligned and