Home
last modified time | relevance | path

Searched refs:mmfr0 (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcpufeature.h572 static inline bool id_aa64mmfr0_mixed_endian_el0(u64 mmfr0) in id_aa64mmfr0_mixed_endian_el0() argument
574 return cpuid_feature_extract_unsigned_field(mmfr0, ID_AA64MMFR0_BIGENDEL_SHIFT) == 0x1 || in id_aa64mmfr0_mixed_endian_el0()
575 cpuid_feature_extract_unsigned_field(mmfr0, ID_AA64MMFR0_BIGENDEL0_SHIFT) == 0x1; in id_aa64mmfr0_mixed_endian_el0()
644 u64 mmfr0; in system_supports_4kb_granule() local
647 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in system_supports_4kb_granule()
648 val = cpuid_feature_extract_unsigned_field(mmfr0, in system_supports_4kb_granule()
657 u64 mmfr0; in system_supports_64kb_granule() local
660 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in system_supports_64kb_granule()
661 val = cpuid_feature_extract_unsigned_field(mmfr0, in system_supports_64kb_granule()
670 u64 mmfr0; in system_supports_16kb_granule() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dreset.c368 u64 mmfr0; in kvm_set_ipa_limit() local
370 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in kvm_set_ipa_limit()
371 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_set_ipa_limit()
399 switch (cpuid_feature_extract_unsigned_field(mmfr0, tgran_2)) { in kvm_set_ipa_limit()
432 u64 vtcr = VTCR_EL2_FLAGS, mmfr0; in kvm_arm_setup_stage2() local
453 mmfr0 = read_sanitised_ftr_reg(SYS_ID_AA64MMFR0_EL1); in kvm_arm_setup_stage2()
454 parange = cpuid_feature_extract_unsigned_field(mmfr0, in kvm_arm_setup_stage2()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsetup.c261 unsigned int mmfr0 = read_cpuid_ext(CPUID_EXT_MMFR0); in __get_cpu_architecture() local
262 if ((mmfr0 & 0x0000000f) >= 0x00000003 || in __get_cpu_architecture()
263 (mmfr0 & 0x000000f0) >= 0x00000030) in __get_cpu_architecture()
265 else if ((mmfr0 & 0x0000000f) == 0x00000002 || in __get_cpu_architecture()
266 (mmfr0 & 0x000000f0) == 0x00000020) in __get_cpu_architecture()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dcpufeature.c2584 u64 safe_mmfr1, mmfr0, mmfr1; in verify_hyp_capabilities() local
2592 mmfr0 = read_cpuid(ID_AA64MMFR0_EL1); in verify_hyp_capabilities()
2604 parange = cpuid_feature_extract_unsigned_field(mmfr0, in verify_hyp_capabilities()