Home
last modified time | relevance | path

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

/openbmc/qemu/util/
H A Dcpuinfo-aarch64.c87 uint64_t pfr1; in cpuinfo_init() local
107 len = sizeof(pfr1); in cpuinfo_init()
108 if (sysctl(mib, 2, &pfr1, &len, NULL, 0) != -1) { in cpuinfo_init()
109 if (ID_AA64PFR1_BT(pfr1) >= ID_AA64PFR1_BT_IMPL) { in cpuinfo_init()
/openbmc/linux/arch/arm64/include/asm/
H A Dcpufeature.h615 static inline bool id_aa64pfr1_sme(u64 pfr1) in id_aa64pfr1_sme() argument
617 u32 val = cpuid_feature_extract_unsigned_field(pfr1, ID_AA64PFR1_EL1_SME_SHIFT); in id_aa64pfr1_sme()
622 static inline bool id_aa64pfr1_mte(u64 pfr1) in id_aa64pfr1_mte() argument
624 u32 val = cpuid_feature_extract_unsigned_field(pfr1, ID_AA64PFR1_EL1_MTE_SHIFT); in id_aa64pfr1_mte()
/openbmc/linux/arch/arm64/kernel/
H A Didreg-override.c97 static const struct ftr_set_desc pfr1 __initconst = {
165 &pfr1,
/openbmc/linux/arch/arm64/mm/
H A Dmmu.c709 u64 pfr1; in arm64_early_this_cpu_has_bti() local
714 pfr1 = __read_sysreg_by_encoding(SYS_ID_AA64PFR1_EL1); in arm64_early_this_cpu_has_bti()
715 return cpuid_feature_extract_unsigned_field(pfr1, in arm64_early_this_cpu_has_bti()
/openbmc/qemu/target/arm/
H A Dhelper.c7692 uint64_t pfr1 = cpu->isar.id_pfr1; in id_pfr1_read() local
7695 pfr1 |= 1 << 28; in id_pfr1_read()
7697 return pfr1; in id_pfr1_read()