Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/s390/kernel/
H A Dprocessor.c171 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()
222 if (test_facility(150)) in setup_hwcaps()
225 if (test_facility(151)) in setup_hwcaps()
[all …]
H A Dearly.c165 if (!test_facility(11)) in setup_topology()
217 if (test_facility(8)) { in detect_machine_facilities()
221 if (test_facility(78)) in detect_machine_facilities()
223 if (test_facility(3)) in detect_machine_facilities()
225 if (test_facility(50) && test_facility(73)) { in detect_machine_facilities()
229 if (test_facility(51)) in detect_machine_facilities()
231 if (test_facility(129)) { in detect_machine_facilities()
235 if (test_facility(130)) in detect_machine_facilities()
237 if (test_facility(133)) in detect_machine_facilities()
249 if (test_facility(194)) in detect_machine_facilities()
[all …]
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 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 Dprocess.c72 if (test_facility(40)) in arch_setup_new_exec()
H A Dperf_pai_crypto.c663 if (!test_facility(196)) in paicrypt_init()
H A Dsthyi.c423 if (test_facility(74)) in fill_dst()
/openbmc/linux/arch/s390/include/asm/
H A 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()
H A Dcpacf.h259 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
261 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
266 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
268 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
270 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
H A Dfacility.h58 static inline int test_facility(unsigned long nr) in test_facility() function
/openbmc/linux/arch/s390/boot/
H A Duv.c26 if (!test_facility(158)) in uv_query_info()
80 if (!test_facility(158)) in is_prot_virt_host_capable()
H A Dstartup.c49 if (test_facility(8)) { in detect_facilities()
53 if (test_facility(78)) in detect_facilities()
55 if (test_facility(130)) in detect_facilities()
63 if (test_facility(40)) in setup_lpp()
/openbmc/linux/lib/zlib_dfltcc/
H A Ddfltcc.h119 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_drv.c93 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
H A Dap_bus.c172 return test_facility(65); in ap_interrupts_available()
183 return test_facility(12); in ap_qci_available()
194 return test_facility(15); in ap_apft_available()
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c392 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
625 r = test_facility(64); in kvm_vm_ioctl_check_extension()
628 r = test_facility(133); in kvm_vm_ioctl_check_extension()
631 r = test_facility(82); in kvm_vm_ioctl_check_extension()
663 r = test_facility(11); in kvm_vm_ioctl_check_extension()
774 if (test_facility(134)) { in kvm_vm_ioctl_enable_cap()
778 if (test_facility(135)) { in kvm_vm_ioctl_enable_cap()
782 if (test_facility(148)) { in kvm_vm_ioctl_enable_cap()
786 if (test_facility(152)) { in kvm_vm_ioctl_enable_cap()
790 if (test_facility(192)) { in kvm_vm_ioctl_enable_cap()
[all …]
/openbmc/linux/drivers/s390/char/
H A Dsclp_early.c128 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()
H A Dsclp_early_core.c279 int length = test_facility(140) ? EXT_SCCB_READ_SCP : PAGE_SIZE; in sclp_early_read_info()
H A Dsclp_cmd.c89 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in _sclp_get_core_info()
/openbmc/linux/arch/s390/mm/
H A Dpage-states.c57 if (test_facility(147)) in cmma_init()
H A Dpageattr.c415 if (test_facility(13)) { in ipte_range()
/openbmc/linux/arch/s390/pci/
H A Dpci.c1090 if (!test_facility(69) || !test_facility(71)) { in pci_base_init()
H A Dpci_insn.c144 if (!test_facility(72)) in zpci_set_irq_ctrl()

12