Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/s390/kernel/
Dprocessor.c45 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature()
171 if (test_facility(7)) in setup_hwcaps()
175 if (test_facility(17)) in setup_hwcaps()
179 if (test_facility(19)) in setup_hwcaps()
186 if (test_facility(22) && test_facility(30)) in setup_hwcaps()
190 if (test_facility(42) && test_facility(44)) in setup_hwcaps()
210 if (test_facility(134)) in setup_hwcaps()
212 if (test_facility(135)) in setup_hwcaps()
214 if (test_facility(148)) in setup_hwcaps()
216 if (test_facility(152)) in setup_hwcaps()
[all …]
Dearly.c142 if (!test_facility(11)) in setup_topology()
196 if (test_facility(8)) { in detect_machine_facilities()
200 if (test_facility(78)) in detect_machine_facilities()
202 if (test_facility(3)) in detect_machine_facilities()
204 if (test_facility(50) && test_facility(73)) { in detect_machine_facilities()
208 if (test_facility(51)) in detect_machine_facilities()
210 if (test_facility(129)) { in detect_machine_facilities()
214 if (test_facility(130) && !noexec_disabled) { in detect_machine_facilities()
218 if (test_facility(133)) in detect_machine_facilities()
220 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_machine_facilities()
[all …]
Dnospec-branch.c15 if (enabled && test_facility(82)) { in nobp_setup_early()
39 if (test_facility(156)) in nospec_report()
62 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()
Druntime_instr.c74 if (!test_facility(64)) in SYSCALL_DEFINE2()
Dprocess.c72 if (test_facility(40)) in arch_setup_new_exec()
Dsthyi.c421 if (test_facility(74)) in fill_dst()
/Linux-v6.1/arch/s390/include/asm/
Dcpu_mf.h37 return test_facility(40) && test_facility(67); in cpum_cf_avail()
42 return test_facility(40) && test_facility(68); in cpum_sf_avail()
Dcpacf.h196 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
198 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
203 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
205 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
207 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
Dfacility.h58 static inline int test_facility(unsigned long nr) in test_facility() function
Dcpu_mcf.h105 return test_facility(142); in stccm_avail()
/Linux-v6.1/arch/s390/boot/
Duv.c26 if (!test_facility(158)) in uv_query_info()
76 if (!test_facility(158)) in is_prot_virt_host_capable()
Dstartup.c49 if (test_facility(40)) in setup_lpp()
/Linux-v6.1/arch/s390/mm/
Dkasan_init.c242 if (test_facility(8)) { in kasan_early_detect_facilities()
246 if (!noexec_disabled && test_facility(130)) { in kasan_early_detect_facilities()
Dpage-states.c57 if (test_facility(147)) in cmma_init()
Dpageattr.c336 if (test_facility(13)) { in ipte_range()
/Linux-v6.1/lib/zlib_dfltcc/
Ddfltcc.h123 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/Linux-v6.1/arch/s390/kvm/
Dkvm-s390.c389 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init()
394 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init()
406 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
409 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init()
419 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init()
423 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init()
427 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init()
431 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init()
434 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init()
444 !test_facility(3) || !nested) in kvm_s390_cpu_feat_init()
[all …]
/Linux-v6.1/drivers/s390/crypto/
Dvfio_ap_drv.c98 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
Dap_bus.c166 return test_facility(65); in ap_interrupts_available()
177 return test_facility(12); in ap_qci_available()
188 return test_facility(15); in ap_apft_available()
/Linux-v6.1/drivers/s390/char/
Dsclp_early.c125 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()
Dsclp_early_core.c255 int length = test_facility(140) ? EXT_SCCB_READ_SCP : PAGE_SIZE; in sclp_early_read_info()
/Linux-v6.1/arch/s390/pci/
Dpci_insn.c144 if (!test_facility(72)) in zpci_set_irq_ctrl()
Dpci.c1139 if (!test_facility(69) || !test_facility(71)) { in pci_base_init()

12