Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dearly.c140 if (!test_facility(11)) in setup_topology()
211 if (test_facility(8)) { in detect_machine_facilities()
215 if (test_facility(78)) in detect_machine_facilities()
217 if (test_facility(3)) in detect_machine_facilities()
219 if (test_facility(50) && test_facility(73)) { in detect_machine_facilities()
223 if (test_facility(51)) in detect_machine_facilities()
225 if (test_facility(129)) { in detect_machine_facilities()
229 if (test_facility(130) && !noexec_disabled) { in detect_machine_facilities()
233 if (test_facility(133)) in detect_machine_facilities()
235 if (test_facility(139) && (tod_clock_base[1] & 0x80)) { in detect_machine_facilities()
[all …]
H A Dsetup.c878 if (test_facility(stfl_bits[i])) in setup_hwcaps()
881 if (test_facility(22) && test_facility(30)) in setup_hwcaps()
897 if ((elf_hwcap & (1UL << 2)) && test_facility(42) && test_facility(44)) in setup_hwcaps()
925 if (test_facility(134)) in setup_hwcaps()
927 if (test_facility(135)) in setup_hwcaps()
929 if (test_facility(148)) in setup_hwcaps()
931 if (test_facility(152)) in setup_hwcaps()
934 if (test_facility(150)) in setup_hwcaps()
936 if (test_facility(151)) in setup_hwcaps()
H A 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()
H A Dcache.c74 if (!test_facility(34)) in show_cacheinfo()
135 if (!test_facility(34)) in init_cache_level()
160 if (!test_facility(34)) in populate_cache_leaves()
H A Dprocessor.c41 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature()
239 if (!test_facility(82)) in s390_isolate_bp()
248 if (!test_facility(82)) in s390_isolate_bp_guest()
H A Duprobes.c179 if (!test_facility(34)) \
196 if (!test_facility(34)) \
215 if (!test_facility(34)) \
330 if (!test_facility(34)) in handle_insn_ril()
H A Dnospec-sysfs.c16 if (test_facility(156)) in cpu_show_spectre_v2()
H A Druntime_instr.c74 if (!test_facility(64)) in SYSCALL_DEFINE2()
H A Duv.c66 if (!test_facility(158)) { in setup_uv()
426 if (!test_facility(158)) in uv_info_init()
H A Dprocess.c58 if (test_facility(40)) in arch_setup_new_exec()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dcpu_mf.h36 return test_facility(40) && test_facility(67); in cpum_cf_avail()
41 return test_facility(40) && test_facility(68); in cpum_sf_avail()
H A Dcpacf.h197 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
199 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
204 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
206 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
208 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
H A Dfacility.h51 static inline int test_facility(unsigned long nr) in test_facility() function
H A Dcpu_mcf.h123 return test_facility(142); in stccm_avail()
/OK3568_Linux_fs/kernel/arch/s390/mm/
H A Dkasan_init.c250 if (test_facility(8)) { in kasan_early_detect_facilities()
254 if (!noexec_disabled && test_facility(130)) { in kasan_early_detect_facilities()
271 if (!test_facility(158)) in has_uv_sec_stor_limit()
H A Dpage-states.c56 if (test_facility(147)) in cmma_init()
H A Dpageattr.c325 if (test_facility(13)) { in ipte_range()
/OK3568_Linux_fs/kernel/arch/s390/boot/
H A Duv.c22 if (!test_facility(158)) in uv_query_info()
/OK3568_Linux_fs/kernel/arch/s390/lib/
H A Duaccess.c24 if (test_facility(27)) in uaccess_init()
97 if (old_fs == USER_DS && test_facility(27)) { in disable_sacf_uaccess()
/OK3568_Linux_fs/kernel/arch/s390/kvm/
H A Dkvm-s390.c369 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init()
374 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init()
386 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
389 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init()
399 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init()
403 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init()
407 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init()
411 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init()
414 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init()
424 !test_facility(3) || !nested) in kvm_s390_cpu_feat_init()
[all …]
/OK3568_Linux_fs/kernel/lib/zlib_dfltcc/
H A Ddfltcc.h123 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dvfio_ap_drv.c126 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
H A Dap_bus.c145 return test_facility(65); in ap_interrupts_available()
156 return test_facility(12); in ap_qci_available()
167 return test_facility(15); in ap_apft_available()
/OK3568_Linux_fs/kernel/arch/s390/pci/
H A Dpci.c941 if (!test_facility(69) || !test_facility(71)) in pci_base_init()
H A Dpci_insn.c103 if (!test_facility(72)) in __zpci_set_irq_ctrl()

12