Home
last modified time | relevance | path

Searched refs:pfr0 (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/arch/arm64/include/asm/
Dcpufeature.h601 static inline bool id_aa64pfr0_32bit_el1(u64 pfr0) in id_aa64pfr0_32bit_el1() argument
603 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL1_SHIFT); in id_aa64pfr0_32bit_el1()
608 static inline bool id_aa64pfr0_32bit_el0(u64 pfr0) in id_aa64pfr0_32bit_el0() argument
610 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL0_SHIFT); in id_aa64pfr0_32bit_el0()
615 static inline bool id_aa64pfr0_sve(u64 pfr0) in id_aa64pfr0_sve() argument
617 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_SVE_SHIFT); in id_aa64pfr0_sve()
650 u64 pfr0; in supports_csv2p3() local
654 pfr0 = read_sysreg_s(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
656 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
658 csv2_val = cpuid_feature_extract_unsigned_field(pfr0, in supports_csv2p3()
[all …]
/Linux-v6.1/arch/arm/kernel/
Dthumbee.c53 unsigned long pfr0; in thumbee_init() local
59 pfr0 = read_cpuid_ext(CPUID_EXT_PFR0); in thumbee_init()
60 if ((pfr0 & 0x0000f000) != 0x00001000) in thumbee_init()
/Linux-v6.1/arch/arm64/kernel/
Didreg-override.c73 static const struct ftr_set_desc pfr0 __initconst = {
155 &pfr0,
Dproton-pack.c156 u64 pfr0; in spectre_v2_get_cpu_hw_mitigation_state() local
170 pfr0 = read_cpuid(ID_AA64PFR0_EL1); in spectre_v2_get_cpu_hw_mitigation_state()
171 if (cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_CSV2_SHIFT)) in spectre_v2_get_cpu_hw_mitigation_state()
Dcpufeature.c1115 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in update_32bit_cpu_features() local
1121 if (!id_aa64pfr0_32bit_el1(pfr0)) { in update_32bit_cpu_features()
1525 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in has_no_fpsimd() local
1527 return cpuid_feature_extract_signed_field(pfr0, in has_no_fpsimd()