Searched refs:mmfr1 (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/arm64/include/asm/ |
| H A D | cpufeature.h | 908 u64 mmfr1; in cpu_has_hw_af() local 917 mmfr1 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); in cpu_has_hw_af() 918 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_hw_af() 924 u64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in cpu_has_pan() local 925 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_pan() 942 static inline unsigned int get_vmid_bits(u64 mmfr1) in get_vmid_bits() argument 946 vmid_bits = cpuid_feature_extract_unsigned_field(mmfr1, in get_vmid_bits()
|
| /linux/arch/arm64/kernel/pi/ |
| H A D | idreg-override.c | 62 static const struct ftr_set_desc mmfr1 __prel64_initconst = { 210 u64 mmfr1 = read_sysreg(id_aa64mmfr1_el1); in hvhe_filter() local 214 cpuid_feature_extract_unsigned_field(mmfr1, in hvhe_filter() 232 { &mmfr1 },
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | page_fault_test.c | 194 u64 mmfr1 = read_sysreg(id_aa64mmfr1_el1); in guest_set_ha() local 198 hadbs = FIELD_GET(ID_AA64MMFR1_EL1_HAFDBS, mmfr1); in guest_set_ha()
|
| /linux/arch/arm64/kvm/hyp/ |
| H A D | pgtable.c | 594 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift) in kvm_get_vtcr() argument 640 vtcr |= (get_vmid_bits(mmfr1) == 16) ? VTCR_EL2_VS : 0; in kvm_get_vtcr()
|
| /linux/arch/arm64/kernel/ |
| H A D | cpufeature.c | 3796 u64 safe_mmfr1, mmfr0, mmfr1; in verify_hyp_capabilities() local 3805 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in verify_hyp_capabilities() 3809 vmid_bits = get_vmid_bits(mmfr1); in verify_hyp_capabilities()
|