Home
last modified time | relevance | path

Searched refs:hwcap (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/tools/testing/selftests/arm64/abi/
Dhwcap.c651 static bool inst_raise_##SIG(const struct hwcap_data *hwcap, \
654 if (!hwcap->SIG##_fn) { \
655 ksft_test_result_skip(#SIG"_%s\n", hwcap->name); \
663 hwcap->SIG##_fn(); \
668 #SIG"_%s\n", hwcap->name); \
669 } else if (hwcap->SIG##_reliable) { \
672 #SIG"_%s\n", hwcap->name); \
677 hwcap->name); \
679 hwcap->name); \
692 const struct hwcap_data *hwcap; in main() local
[all …]
D.gitignore1 hwcap
DMakefile4 TEST_GEN_PROGS := hwcap ptrace syscall-abi tpidr2
/linux-6.6.21/tools/testing/selftests/arm64/bti/
Dtest.c161 unsigned long hwcap = 0, hwcap2 = 0; in start() local
176 hwcap = auxv->val; in start()
186 if (hwcap & HWCAP_PACA) in start()
193 if (!(hwcap & HWCAP_PACA)) in start()
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt107 If bit 0 is set, then the hwcap-bit-nr property will exist.
174 - hwcap-bit-nr
189 advertised to userspace without a one-to-one hwcap bit number may not specify
191 features usable by userspace will have a hwcap-bit-nr property.
214 hwcap-bit-nr = <xx>;
221 hwcap-bit-nr = <xx>;
236 hwcap-bit-nr = <xx>;
244 hwcap-bit-nr = <xx>;
/linux-6.6.21/Documentation/translations/zh_CN/arch/arm64/
Delf_hwcaps.rst33 如果软件依赖于 hwcap 描述的功能,在尝试使用该功能前则应检查相关的 hwcap
44 描述的功能的存在。这些 hwcap 通过 ID 寄存器字段定义,并且应根据 ARM 体系
/linux-6.6.21/Documentation/translations/zh_TW/arch/arm64/
Delf_hwcaps.rst36 如果軟體依賴於 hwcap 描述的功能,在嘗試使用該功能前則應檢查相關的 hwcap
47 描述的功能的存在。這些 hwcap 通過 ID 寄存器欄位定義,並且應根據 ARM 體系
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dsve-ptrace.c46 unsigned long hwcap; member
55 .hwcap = HWCAP_SVE,
62 .hwcap = HWCAP2_SME,
682 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent()
692 if (getauxval(vec_types[i].hwcap_type) & vec_types[i].hwcap) { in do_parent()
707 vec_types[i].hwcap) { in do_parent()
Dvec-syscfg.c30 unsigned long hwcap; member
50 .hwcap = HWCAP_SVE,
60 .hwcap = HWCAP2_SME,
597 if (!(getauxval(vec_data[i].hwcap_type) & vec_data[i].hwcap)) in prctl_set_all_vqs()
768 supported = getauxval(data->hwcap_type) & data->hwcap; in main()
/linux-6.6.21/arch/riscv/kernel/
Dcpufeature.c564 unsigned long hwcap; in riscv_get_elf_hwcap() local
566 hwcap = (elf_hwcap & ((1UL << RISCV_ISA_EXT_BASE) - 1)); in riscv_get_elf_hwcap()
569 hwcap &= ~COMPAT_HWCAP_ISA_V; in riscv_get_elf_hwcap()
571 return hwcap; in riscv_get_elf_hwcap()
/linux-6.6.21/arch/powerpc/boot/dts/
Dmicrowatt.dts50 hwcap-bit-nr = <1>;
69 hwcap-bit-nr = <27>;
/linux-6.6.21/Documentation/arch/arm64/
Delf_hwcaps.rst32 Where software relies on a feature described by a hwcap, it should check
33 the relevant hwcap flag to verify that the feature is present before
Dcpu-feature-registers.rst377 #include <asm/hwcap.h>
Dmemory-tagging-extension.rst270 * From arch/arm64/include/uapi/asm/hwcap.h
/linux-6.6.21/arch/arm64/kernel/
Dcpufeature.c2733 .hwcap = cap, \
2921 cpu_set_feature(cap->hwcap); in cap_set_elf_hwcap()
2925 compat_elf_hwcap |= (u32)cap->hwcap; in cap_set_elf_hwcap()
2928 compat_elf_hwcap2 |= (u32)cap->hwcap; in cap_set_elf_hwcap()
2944 rc = cpu_have_feature(cap->hwcap); in cpus_have_elf_hwcap()
2948 rc = (compat_elf_hwcap & (u32)cap->hwcap) != 0; in cpus_have_elf_hwcap()
2951 rc = (compat_elf_hwcap2 & (u32)cap->hwcap) != 0; in cpus_have_elf_hwcap()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.c202 struct hw_cap *hwcap = &rvu->hw->cap; in npc_config_secret_key() local
206 if (!hwcap->npc_hash_extract) in npc_config_secret_key()
222 struct hw_cap *hwcap = &rvu->hw->cap; in npc_program_mkex_hash() local
228 if (!hwcap->npc_hash_extract) in npc_program_mkex_hash()
/linux-6.6.21/arch/arm64/include/asm/
Dcpufeature.h367 unsigned long hwcap; member
/linux-6.6.21/Documentation/arch/x86/x86_64/
Dfsgs.rst113 /* Will be eventually in asm/hwcap.h */
/linux-6.6.21/arch/arm64/
DKconfig573 This option removes the AES hwcap for aarch32 user-space to