Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/include/asm/
Dcpufeature.h861 u64 mmfr1; in cpu_has_hw_af() local
866 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in cpu_has_hw_af()
867 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_hw_af()
873 u64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in cpu_has_pan() local
874 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_pan()
891 static inline unsigned int get_vmid_bits(u64 mmfr1) in get_vmid_bits() argument
895 vmid_bits = cpuid_feature_extract_unsigned_field(mmfr1, in get_vmid_bits()
Dkvm_pgtable.h297 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift);
/linux-6.1.9/arch/arm64/kvm/
Dreset.c401 u64 mmfr0, mmfr1; in kvm_arm_setup_stage2() local
422 mmfr1 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); in kvm_arm_setup_stage2()
423 kvm->arch.vtcr = kvm_get_vtcr(mmfr0, mmfr1, phys_shift); in kvm_arm_setup_stage2()
/linux-6.1.9/arch/arm64/kernel/
Didreg-override.c49 static const struct ftr_set_desc mmfr1 __initconst = {
154 &mmfr1,
Dproton-pack.c946 u64 mmfr1; in supports_ecbhb() local
949 mmfr1 = read_sysreg_s(SYS_ID_AA64MMFR1_EL1); in supports_ecbhb()
951 mmfr1 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); in supports_ecbhb()
953 return cpuid_feature_extract_unsigned_field(mmfr1, in supports_ecbhb()
Dcpufeature.c3126 u64 safe_mmfr1, mmfr0, mmfr1; in verify_hyp_capabilities() local
3135 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in verify_hyp_capabilities()
3139 vmid_bits = get_vmid_bits(mmfr1); in verify_hyp_capabilities()
/linux-6.1.9/arch/arm64/kvm/hyp/
Dpgtable.c582 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift) in kvm_get_vtcr() argument
606 vtcr |= (get_vmid_bits(mmfr1) == 16) ? in kvm_get_vtcr()