| /linux/arch/s390/include/asm/ |
| H A D | cpufeature.h | 26 #define cpu_has_bear() test_facility(193) 27 #define cpu_has_edat1() test_facility(8) 28 #define cpu_has_edat2() test_facility(78) 29 #define cpu_has_gs() test_facility(133) 30 #define cpu_has_nx() test_facility(130) 31 #define cpu_has_rdp() test_facility(194) 32 #define cpu_has_seq_insn() test_facility(85) 33 #define cpu_has_tlb_lc() test_facility(51) 34 #define cpu_has_topology() test_facility(11) 35 #define cpu_has_vx() test_facility(129)
|
| H A D | cpu_mf.h | 39 return test_facility(40) && test_facility(67); in cpum_cf_avail() 44 return test_facility(40) && test_facility(68); in cpum_sf_avail()
|
| H A D | cpacf.h | 314 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 D | nospec-branch.h | 17 return nobp && test_facility(82); in nobp_enabled()
|
| H A D | facility.h | 77 static __always_inline bool test_facility(unsigned long nr) in test_facility() function
|
| /linux/arch/s390/kernel/ |
| H A D | processor.c | 47 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature() 190 if (test_facility(7)) in setup_hwcaps() 194 if (test_facility(17)) in setup_hwcaps() 198 if (test_facility(19)) in setup_hwcaps() 205 if (test_facility(22) && test_facility(30)) in setup_hwcaps() 209 if (test_facility(42) && test_facility(44)) in setup_hwcaps() 224 if (test_facility(129)) { in setup_hwcaps() 226 if (test_facility(134)) in setup_hwcaps() 228 if (test_facility(135)) in setup_hwcaps() 230 if (test_facility(148)) in setup_hwcaps() [all …]
|
| H A D | nospec-branch.c | 17 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 D | nospec-sysfs.c | 16 if (test_facility(156)) in cpu_show_spectre_v2()
|
| H A D | cpufeature.c | 44 return test_facility(feature->num); in cpu_have_feature()
|
| H A D | runtime_instr.c | 74 if (!test_facility(64)) in SYSCALL_DEFINE2()
|
| H A D | alternative.c | 68 replace = test_facility(a->data); in __apply_alternatives()
|
| H A D | process.c | 74 if (test_facility(40)) in arch_setup_new_exec()
|
| /linux/arch/s390/boot/ |
| H A D | startup.c | 129 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()
|
| H A D | uv.c | 22 if (!test_facility(158)) in uv_query_info() 74 if (!test_facility(158)) in is_prot_virt_host_capable()
|
| H A D | ipl_parm.c | 310 if (!strcmp(param, "relocate_lowcore") && test_facility(193)) in parse_boot_command_line()
|
| /linux/arch/s390/mm/ |
| H A D | fault.c | 72 if (test_facility(75)) in fault_is_write() 137 if (test_facility(131)) in dump_fault_info() 143 if (test_facility(75)) in dump_fault_info()
|
| /linux/arch/s390/kernel/vdso/ |
| H A D | vgetrandom.c | 9 if (test_facility(129)) in __kernel_getrandom()
|
| /linux/tools/testing/selftests/kvm/include/s390/ |
| H A D | facility.h | 43 static inline bool test_facility(int nr) in test_facility() function
|
| /linux/arch/s390/kvm/ |
| H A D | kvm-s390.c | 394 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 D | dfltcc.h | 120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
|
| /linux/lib/crypto/s390/ |
| H A D | sha3.h | 146 if (test_facility(86)) in sha3_mod_init_arch()
|
| /linux/drivers/s390/crypto/ |
| H A D | vfio_ap_drv.c | 106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | cpumodel_subfuncs_test.c | 283 if (test_facility(testlist[idx].facility_bit)) { in main()
|
| /linux/drivers/s390/char/ |
| H A D | sclp_cmd.c | 104 length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in _sclp_get_core_info()
|
| H A D | sclp_early.c | 129 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in sclp_early_get_core_info()
|