Home
last modified time | relevance | path

Searched refs:test_facility (Results 1 – 19 of 19) 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 Dipl.c1372 if (test_facility(141)) { in reipl_fcp_init()
1428 if (test_facility(141)) { in reipl_nvme_init()
1487 if (test_facility(141)) { in reipl_eckd_init()
H A Dperf_pai.c1183 if (!test_facility(p->facility_nr)) in paipmu_setup()
H A Dperf_cpum_cf.c1144 return test_facility(142); in stccm_avail()
/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/kvm/
H A Dkvm-s390.c394 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init()
399 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init()
411 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init()
414 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init()
424 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init()
428 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init()
432 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init()
436 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init()
439 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init()
442 if (test_facility(201)) /* PFCR */ in kvm_s390_cpu_feat_init()
[all …]
/linux/lib/zlib_dfltcc/
H A Ddfltcc.h120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
/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()
/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.c1189 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()