Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/include/asm/
H A Dcpufeature.h594 static inline bool id_aa64pfr0_32bit_el1(u64 pfr0) in id_aa64pfr0_32bit_el1() argument
596 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL1_SHIFT); in id_aa64pfr0_32bit_el1()
601 static inline bool id_aa64pfr0_32bit_el0(u64 pfr0) in id_aa64pfr0_32bit_el0() argument
603 u32 val = cpuid_feature_extract_unsigned_field(pfr0, ID_AA64PFR0_EL1_EL0_SHIFT); in id_aa64pfr0_32bit_el0()
608 static inline bool id_aa64pfr0_sve(u64 pfr0) in id_aa64pfr0_sve() argument
643 u64 pfr0; in supports_csv2p3() local
647 pfr0 = read_sysreg_s(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
649 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in supports_csv2p3()
651 csv2_val = cpuid_feature_extract_unsigned_field(pfr0, in supports_csv2p3()
674 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in system_supports_32bit_el0() local
[all …]
/openbmc/linux/arch/arm/kernel/
H A 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()
/openbmc/linux/arch/arm64/kernel/
H A Didreg-override.c73 static const struct ftr_set_desc pfr0 __initconst = {
164 &pfr0,
H A 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()
H A Dcpufeature.c1148 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in update_32bit_cpu_features() local
1154 if (!id_aa64pfr0_32bit_el1(pfr0)) { in update_32bit_cpu_features()
1569 u64 pfr0 = read_sanitised_ftr_reg(SYS_ID_AA64PFR0_EL1); in has_no_fpsimd() local
1571 return cpuid_feature_extract_signed_field(pfr0, in has_no_fpsimd()
/openbmc/qemu/target/arm/
H A Dhelper.c7703 uint64_t pfr0 = cpu->isar.id_aa64pfr0; in id_aa64pfr0_read() local
7706 pfr0 |= 1 << 24; in id_aa64pfr0_read()
7708 return pfr0; in id_aa64pfr0_read()