Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
H A Dprocessor.c48 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature()
191 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()
225 if (test_facility(129)) { 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()
[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 Dcpufeature.c44 return test_facility(feature->num); in cpu_have_feature()
H A Druntime_instr.c74 if (!test_facility(64)) in SYSCALL_DEFINE2()
H A Dprocess.c75 if (test_facility(40)) in arch_setup_new_exec()
H A Dsthyi.c449 if (test_facility(74)) { in fill_dst()
H A Dtime.c83 if (!test_facility(28)) in time_early_init()
H A Dperf_pai_crypto.c824 if (!test_facility(196)) in paicrypt_init()
H A Dperf_pai_ext.c713 if (!test_facility(197)) in paiext_init()
H A Dipl.c1351 if (test_facility(141)) { in reipl_fcp_init()
1407 if (test_facility(141)) { in reipl_nvme_init()
1466 if (test_facility(141)) { in reipl_eckd_init()
H A Dptrace.c1151 if (!test_facility(64)) in s390_runtime_instr_get()
1167 if (!test_facility(64)) in s390_runtime_instr_set()
H A Duv.c814 if (!test_facility(158)) in uv_sysfs_init()
H A Dperf_cpum_cf.c1145 return test_facility(142); in stccm_avail()
/linux/arch/s390/boot/
H A Dstartup.c133 if (IS_ENABLED(CONFIG_PCI) && test_facility(153)) in detect_facilities()
136 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_facilities()
142 if (test_facility(50) && test_facility(73)) { in detect_facilities()
175 if (test_facility(147)) in cmma_init()
183 if (test_facility(40)) in setup_lpp()
/linux/arch/s390/kernel/vdso64/
H A Dvgetrandom.c9 if (test_facility(129)) in __kernel_getrandom()
/linux/arch/s390/include/asm/
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/arch/s390/kvm/
H A Dkvm-s390.c398 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init()
403 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init()
415 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
418 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init()
428 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init()
432 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init()
436 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init()
440 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init()
443 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init()
446 if (test_facility(201)) /* PFCR */ in kvm_s390_cpu_feat_init()
[all …]
/linux/lib/zlib_dfltcc/
H A Ddfltcc.h120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/linux/arch/s390/crypto/
H A Dsha_common.c104 fc |= test_facility(86) ? CPACF_KLMD_DUFOP : 0; in s390_sha_finup()
/linux/drivers/s390/crypto/
H A Dvfio_ap_drv.c106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
H A Dap_bus.c202 return test_facility(65); in ap_interrupts_available()
213 return test_facility(12); in ap_qci_available()
224 return test_facility(15); in ap_apft_available()
/linux/drivers/s390/char/
H A Dsclp_early.c130 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()
H A Dsclp_cmd.c94 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in _sclp_get_core_info()
/linux/arch/s390/mm/
H A Dfault.c73 if (test_facility(75)) in fault_is_write()