Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
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 Dptrace.c844 if (!test_facility(64)) in s390_runtime_instr_get()
860 if (!test_facility(64)) in s390_runtime_instr_set()
H A Dtime.c83 if (!test_facility(28)) in time_early_init()
H A Dperf_pai.c1194 if (!test_facility(p->facility_nr)) in paipmu_setup()
/linux/arch/s390/include/asm/
H A Dcpacf.h314 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode()
316 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode()
321 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode()
323 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode()
325 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode()
327 return test_facility(155); /* check for MSA9 */ in __cpacf_check_opcode()
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/boot/
H A Dstartup.c129 if (IS_ENABLED(CONFIG_PCI) && test_facility(153)) in detect_facilities()
132 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_facilities()
138 if (test_facility(50) && test_facility(73)) { in detect_facilities()
171 if (test_facility(147)) in cmma_init()
179 if (test_facility(40)) in setup_lpp()
/linux/tools/testing/selftests/kvm/include/s390/
H A Dfacility.h49 static inline bool test_facility(int nr) in test_facility() function
/linux/lib/zlib_dfltcc/
H A Ddfltcc.h120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/linux/drivers/ptp/
H A Dptp_s390.c110 if (!test_facility(28) || !ptff_query(PTFF_QPT)) in ptp_s390_init()
/linux/lib/crypto/s390/
H A Dsha3.h146 if (test_facility(86)) in sha3_mod_init_arch()
/linux/drivers/s390/crypto/
H A Dvfio_ap_drv.c106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
H A Dap_bus.c211 return test_facility(65); in ap_interrupts_available()
222 return test_facility(12); in ap_qci_available()
233 return test_facility(15); in ap_apft_available()
/linux/tools/testing/selftests/kvm/s390/
H A Dcpumodel_subfuncs_test.c283 if (test_facility(testlist[idx].facility_bit)) { in main()
/linux/drivers/s390/char/
H A Dsclp_cmd.c104 length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in _sclp_get_core_info()
H A Dsclp_early_core.c281 int length = test_facility(140) ? EXT_SCCB_READ_SCP : PAGE_SIZE; in sclp_early_read_info()
/linux/arch/s390/pci/
H A Dpci_insn.c144 if (!test_facility(72)) in zpci_set_irq_ctrl()