/linux/arch/s390/kernel/ |
H A D | processor.c | 46 if (test_facility(34) && __ecag(ECAG_CPU_ATTRIBUTE, 0) != -1UL) in cpu_detect_mhz_feature() 189 if (test_facility(7)) in setup_hwcaps() 193 if (test_facility(17)) in setup_hwcaps() 197 if (test_facility(19)) in setup_hwcaps() 204 if (test_facility(22) && test_facility(30)) in setup_hwcaps() 208 if (test_facility(42) && test_facility(44)) in setup_hwcaps() 223 if (test_facility(129)) { in setup_hwcaps() 225 if (test_facility(134)) in setup_hwcaps() 227 if (test_facility(135)) in setup_hwcaps() 229 if (test_facility(148)) in setup_hwcaps() [all …]
|
H A D | early.c | 170 if (!test_facility(11)) in setup_topology() 240 if (test_facility(8)) { in detect_machine_facilities() 244 if (test_facility(78)) in detect_machine_facilities() 246 if (test_facility(3)) in detect_machine_facilities() 248 if (test_facility(50) && test_facility(73)) { in detect_machine_facilities() 252 if (test_facility(51)) in detect_machine_facilities() 254 if (test_facility(129)) in detect_machine_facilities() 256 if (test_facility(130)) in detect_machine_facilities() 258 if (test_facility(133)) in detect_machine_facilities() 260 if (test_facility(139) && (tod_clock_base.tod >> 63)) { in detect_machine_facilities() [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 | cpufeature.c | 40 return test_facility(feature->num); in cpu_have_feature()
|
H A D | alternative.c | 24 replace = test_facility(a->data); in __apply_alternatives()
|
H A D | runtime_instr.c | 74 if (!test_facility(64)) in SYSCALL_DEFINE2()
|
H A D | process.c | 76 if (test_facility(40)) in arch_setup_new_exec()
|
H A D | uv.c | 632 if (!test_facility(158)) in uv_sysfs_init()
|
/linux/arch/s390/include/asm/ |
H A D | cpacf.h | 310 return test_facility(17); /* check for MSA */ in __cpacf_check_opcode() 312 return test_facility(76); /* check for MSA3 */ in __cpacf_check_opcode() 317 return test_facility(77); /* check for MSA4 */ in __cpacf_check_opcode() 319 return test_facility(57); /* check for MSA5 */ in __cpacf_check_opcode() 321 return test_facility(146); /* check for MSA8 */ in __cpacf_check_opcode() 323 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
|
H A D | fpu.h | 58 return likely(test_facility(129)); in cpu_has_vx()
|
/linux/arch/s390/boot/ |
H A D | startup.c | 53 if (test_facility(8)) { in detect_facilities() 57 if (test_facility(78)) in detect_facilities() 62 if (!test_facility(130)) { in detect_facilities() 107 if (test_facility(147)) in cmma_init() 115 if (test_facility(40)) in setup_lpp()
|
H A D | ipl_parm.c | 314 if (!strcmp(param, "relocate_lowcore") && test_facility(193)) in parse_boot_command_line()
|
/linux/arch/s390/crypto/ |
H A D | sha_common.c | 32 fc |= test_facility(86) ? CPACF_KIMD_NIP : 0; in s390_sha_update() 121 fc |= test_facility(86) ? CPACF_KLMD_DUFOP : 0; in s390_sha_final()
|
H A D | sha3_256_s390.c | 24 if (!test_facility(86)) /* msa 12 */ in sha3_256_init() 96 if (!test_facility(86)) /* msa 12 */ in sha3_224_init()
|
H A D | sha3_512_s390.c | 23 if (!test_facility(86)) /* msa 12 */ in sha3_512_init() 105 if (!test_facility(86)) /* msa 12 */ in sha3_384_init()
|
/linux/arch/s390/kernel/vdso64/ |
H A D | vgetrandom.c | 9 if (test_facility(129)) in __kernel_getrandom()
|
/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | 395 if (test_facility(28)) /* TOD-clock steering */ in kvm_s390_cpu_feat_init() 400 if (test_facility(17)) { /* MSA */ in kvm_s390_cpu_feat_init() 412 if (test_facility(76)) /* MSA3 */ in kvm_s390_cpu_feat_init() 415 if (test_facility(77)) { /* MSA4 */ in kvm_s390_cpu_feat_init() 425 if (test_facility(57)) /* MSA5 */ in kvm_s390_cpu_feat_init() 429 if (test_facility(146)) /* MSA8 */ in kvm_s390_cpu_feat_init() 433 if (test_facility(155)) /* MSA9 */ in kvm_s390_cpu_feat_init() 437 if (test_facility(150)) /* SORTL */ in kvm_s390_cpu_feat_init() 440 if (test_facility(151)) /* DFLTCC */ in kvm_s390_cpu_feat_init() 443 if (test_facility(201)) /* PFCR */ in kvm_s390_cpu_feat_init() [all …]
|
H A D | kvm-s390.h | 554 return test_facility(75) && (current->thread.gmap_teid.fsi == TEID_FSI_STORE); in kvm_s390_cur_gmap_fault_is_write()
|
/linux/lib/zlib_dfltcc/ |
H A D | dfltcc.h | 120 test_facility(DFLTCC_FACILITY)); in is_dfltcc_enabled()
|
/linux/drivers/s390/crypto/ |
H A D | vfio_ap_drv.c | 106 if (test_facility(12)) { in vfio_ap_matrix_dev_create()
|
H A D | ap_bus.c | 178 return test_facility(65); in ap_interrupts_available() 189 return test_facility(12); in ap_qci_available() 200 return test_facility(15); in ap_apft_available()
|
/linux/drivers/s390/char/ |
H A D | sclp_early_core.c | 280 int length = test_facility(140) ? EXT_SCCB_READ_SCP : PAGE_SIZE; in sclp_early_read_info()
|
H A D | sclp_cmd.c | 94 int length = test_facility(140) ? EXT_SCCB_READ_CPU : PAGE_SIZE; in _sclp_get_core_info()
|