Searched refs:mmfr1 (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | cpufeature.h | 861 u64 mmfr1; in cpu_has_hw_af() local 870 mmfr1 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); in cpu_has_hw_af() 871 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_hw_af() 877 u64 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in cpu_has_pan() local 878 return cpuid_feature_extract_unsigned_field(mmfr1, in cpu_has_pan() 895 static inline unsigned int get_vmid_bits(u64 mmfr1) in get_vmid_bits() argument 899 vmid_bits = cpuid_feature_extract_unsigned_field(mmfr1, in get_vmid_bits()
|
H A D | kvm_pgtable.h | 431 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift);
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | idreg-override.c | 49 static const struct ftr_set_desc mmfr1 __initconst = { 144 u64 mmfr1 = read_sysreg(id_aa64mmfr1_el1); in hvhe_filter() local 148 cpuid_feature_extract_unsigned_field(mmfr1, in hvhe_filter() 163 &mmfr1,
|
H A D | proton-pack.c | 946 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()
|
H A D | cpufeature.c | 3201 u64 safe_mmfr1, mmfr0, mmfr1; in verify_hyp_capabilities() local 3210 mmfr1 = read_cpuid(ID_AA64MMFR1_EL1); in verify_hyp_capabilities() 3214 vmid_bits = get_vmid_bits(mmfr1); in verify_hyp_capabilities()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | mmu.c | 871 u64 mmfr0, mmfr1; in kvm_init_stage2_mmu() local 894 mmfr1 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR1_EL1); in kvm_init_stage2_mmu() 895 kvm->arch.vtcr = kvm_get_vtcr(mmfr0, mmfr1, phys_shift); in kvm_init_stage2_mmu()
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | page_fault_test.c | 195 uint64_t mmfr1 = read_sysreg(id_aa64mmfr1_el1); in guest_set_ha() local 199 hadbs = FIELD_GET(ARM64_FEATURE_MASK(ID_AA64MMFR1_HADBS), mmfr1); in guest_set_ha()
|
/openbmc/linux/arch/arm64/kvm/hyp/ |
H A D | pgtable.c | 624 u64 kvm_get_vtcr(u64 mmfr0, u64 mmfr1, u32 phys_shift) in kvm_get_vtcr() argument 658 vtcr |= (get_vmid_bits(mmfr1) == 16) ? in kvm_get_vtcr()
|