Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/s390/kernel/
Dprocessor.c46 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature()
189 if (test_facility(7)) in setup_hwcaps()
193 if (test_facility(17)) in setup_hwcaps()
197 if (test_facility(19)) in setup_hwcaps()
204 if (test_facility(22) && test_facility(30)) in setup_hwcaps()
208 if (test_facility(42) && test_facility(44)) in setup_hwcaps()
223 if (test_facility(129)) { in setup_hwcaps()
225 if (test_facility(134)) in setup_hwcaps()
227 if (test_facility(135)) in setup_hwcaps()
229 if (test_facility(148)) in setup_hwcaps()
[all …]
Dearly.c169 if (!test_facility(11)) in setup_topology()
239 if (test_facility(8)) { in detect_machine_facilities()
243 if (test_facility(78)) in detect_machine_facilities()
245 if (test_facility(3)) in detect_machine_facilities()
247 if (test_facility(50) && test_facility(73)) { in detect_machine_facilities()
251 if (test_facility(51)) in detect_machine_facilities()
253 if (test_facility(129)) in detect_machine_facilities()
255 if (test_facility(130)) in detect_machine_facilities()
257 if (test_facility(133)) in detect_machine_facilities()
259 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_machine_facilities()
[all …]
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()
Dnospec-sysfs.c16 if (test_facility(156)) in cpu_show_spectre_v2()
Dcpufeature.c40 return test_facility(feature->num); in cpu_have_feature()
Dalternative.c24 replace = test_facility(a->data); in __apply_alternatives()
Druntime_instr.c74 if (!test_facility(64)) in SYSCALL_DEFINE2()
Dprocess.c76 if (test_facility(40)) in arch_setup_new_exec()
/linux-6.12.1/arch/s390/include/asm/
Dcpu_mf.h38 return test_facility(40) && test_facility(67); in cpum_cf_avail()
43 return test_facility(40) && test_facility(68); in cpum_sf_avail()
Dcpacf.h308 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
310 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
315 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
317 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
319 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
321 return test_facility(155); /* check for MSA9 */ in __cpacf_check_opcode()
Dnospec-branch.h17 return nobp && test_facility(82); in nobp_enabled()
Dfacility.h77 static __always_inline bool test_facility(unsigned long nr) in test_facility() function
Dfpu.h58 return likely(test_facility(129)); in cpu_has_vx()
/linux-6.12.1/arch/s390/boot/
Dstartup.c48 if (test_facility(8)) { in detect_facilities()
52 if (test_facility(78)) in detect_facilities()
54 if (test_facility(130)) in detect_facilities()
96 if (test_facility(147)) in cmma_init()
104 if (test_facility(40)) in setup_lpp()
Duv.c22 if (!test_facility(158)) in uv_query_info()
73 if (!test_facility(158)) in is_prot_virt_host_capable()
Dipl_parm.c314 if (!strcmp(param, "relocate_lowcore") && test_facility(193)) in parse_boot_command_line()
/linux-6.12.1/arch/s390/crypto/
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()
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()
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.12.1/arch/s390/kernel/vdso64/
Dvgetrandom.c9 if (test_facility(129)) in __kernel_getrandom()
/linux-6.12.1/lib/zlib_dfltcc/
Ddfltcc.h120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/linux-6.12.1/arch/s390/kvm/
Dkvm-s390.c384 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init()
389 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init()
401 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
404 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init()
414 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init()
418 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init()
422 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init()
426 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init()
429 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init()
439 !test_facility(3) || !nested) in kvm_s390_cpu_feat_init()
[all …]
/linux-6.12.1/drivers/s390/crypto/
Dvfio_ap_drv.c106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
/linux-6.12.1/drivers/s390/char/
Dsclp_early.c130 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()
Dsclp_early_core.c280 int length = test_facility(140) ? EXT_SCCB_READ_SCP : PAGE_SIZE; in sclp_early_read_info()

12