Home
last modified time | relevance | path

Searched refs:test_facility (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/arch/s390/include/asm/
H A Dcpufeature.h25 #define cpu_has_bear() test_facility(193)
26 #define cpu_has_edat1() test_facility(8)
27 #define cpu_has_edat2() test_facility(78)
28 #define cpu_has_gs() test_facility(133)
29 #define cpu_has_idte() test_facility(3)
30 #define cpu_has_nx() test_facility(130)
31 #define cpu_has_rdp() test_facility(194)
32 #define cpu_has_seq_insn() test_facility(85)
33 #define cpu_has_tlb_lc() test_facility(51)
34 #define cpu_has_topology() test_facility(11)
[all …]
H A Dcpu_mf.h39 return test_facility(40) && test_facility(67); in cpum_cf_avail()
44 return test_facility(40) && test_facility(68); in cpum_sf_avail()
H A Dcpacf.h310 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
312 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
317 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
319 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
321 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
323 return test_facility(155); /* check for MSA9 */ in __cpacf_check_opcode()
H A Dnospec-branch.h17 return nobp && test_facility(82); in nobp_enabled()
H A Dfacility.h77 static __always_inline bool test_facility(unsigned long nr) in test_facility() function
/linux-6.15/arch/s390/kernel/
H A Dprocessor.c191 if (test_facility(7)) in setup_hwcaps()
195 if (test_facility(17)) in setup_hwcaps()
199 if (test_facility(19)) in setup_hwcaps()
206 if (test_facility(22) && test_facility(30)) in setup_hwcaps()
210 if (test_facility(42) && test_facility(44)) in setup_hwcaps()
227 if (test_facility(134)) in setup_hwcaps()
229 if (test_facility(135)) in setup_hwcaps()
231 if (test_facility(148)) in setup_hwcaps()
239 if (test_facility(150)) in setup_hwcaps()
242 if (test_facility(151)) in setup_hwcaps()
[all …]
H A Dnospec-branch.c17 if (enabled && test_facility(82)) { in nobp_setup_early()
41 if (test_facility(156)) in nospec_report()
64 if (test_facility(156) || cpu_mitigations_off()) { in nospec_auto_detect()
H A Dnospec-sysfs.c16 if (test_facility(156)) in cpu_show_spectre_v2()
H A Dcpufeature.c40 return test_facility(feature->num); in cpu_have_feature()
H A Druntime_instr.c74 if (!test_facility(64)) in SYSCALL_DEFINE2()
H A Dalternative.c67 replace = test_facility(a->data); in __apply_alternatives()
H A Dprocess.c76 if (test_facility(40)) in arch_setup_new_exec()
/linux-6.15/arch/s390/boot/
H A Dstartup.c118 if (IS_ENABLED(CONFIG_PCI) && test_facility(153)) in detect_facilities()
121 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_facilities()
127 if (test_facility(50) && test_facility(73)) { in detect_facilities()
160 if (test_facility(147)) in cmma_init()
168 if (test_facility(40)) in setup_lpp()
H A Duv.c22 if (!test_facility(158)) in uv_query_info()
74 if (!test_facility(158)) in is_prot_virt_host_capable()
H A Dipl_parm.c303 if (!strcmp(param, "relocate_lowcore") && test_facility(193)) in parse_boot_command_line()
/linux-6.15/arch/s390/crypto/
H A Dsha_common.c32 fc |= test_facility(86) ? CPACF_KIMD_NIP : 0; in s390_sha_update()
121 fc |= test_facility(86) ? CPACF_KLMD_DUFOP : 0; in s390_sha_final()
H A Dsha3_512_s390.c23 if (!test_facility(86)) /* msa 12 */ in sha3_512_init()
105 if (!test_facility(86)) /* msa 12 */ in sha3_384_init()
H A Dsha3_256_s390.c24 if (!test_facility(86)) /* msa 12 */ in sha3_256_init()
96 if (!test_facility(86)) /* msa 12 */ in sha3_224_init()
/linux-6.15/arch/s390/kernel/vdso64/
H A Dvgetrandom.c9 if (test_facility(129)) in __kernel_getrandom()
/linux-6.15/tools/testing/selftests/kvm/include/s390/
H A Dfacility.h43 static inline bool test_facility(int nr) in test_facility() function
/linux-6.15/lib/zlib_dfltcc/
H A Ddfltcc.h120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/linux-6.15/arch/s390/kvm/
H A Dkvm-s390.c646 r = test_facility(129); in kvm_vm_ioctl_check_extension()
649 r = test_facility(64); in kvm_vm_ioctl_check_extension()
652 r = test_facility(133); in kvm_vm_ioctl_check_extension()
655 r = test_facility(82); in kvm_vm_ioctl_check_extension()
687 r = test_facility(11); in kvm_vm_ioctl_check_extension()
798 if (test_facility(134)) { in kvm_vm_ioctl_enable_cap()
802 if (test_facility(135)) { in kvm_vm_ioctl_enable_cap()
806 if (test_facility(148)) { in kvm_vm_ioctl_enable_cap()
810 if (test_facility(152)) { in kvm_vm_ioctl_enable_cap()
814 if (test_facility(192)) { in kvm_vm_ioctl_enable_cap()
[all …]
/linux-6.15/drivers/s390/crypto/
H A Dvfio_ap_drv.c106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
/linux-6.15/tools/testing/selftests/kvm/s390/
H A Dcpumodel_subfuncs_test.c283 if (test_facility(testlist[idx].facility_bit)) { in main()
/linux-6.15/drivers/s390/char/
H A Dsclp_early.c129 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()

12