Home
last modified time | relevance | path

Searched refs:sclp (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/s390/char/
H A Dsclp_early.c23 struct sclp_info sclp; variable
24 EXPORT_SYMBOL(sclp);
36 sclp.facilities = sccb->facilities; in sclp_early_facilities_detect()
37 sclp.has_sprp = !!(sccb->fac84 & 0x02); in sclp_early_facilities_detect()
38 sclp.has_core_type = !!(sccb->fac84 & 0x01); in sclp_early_facilities_detect()
39 sclp.has_gsls = !!(sccb->fac85 & 0x80); in sclp_early_facilities_detect()
40 sclp.has_64bscao = !!(sccb->fac116 & 0x80); in sclp_early_facilities_detect()
41 sclp.has_cmma = !!(sccb->fac116 & 0x40); in sclp_early_facilities_detect()
42 sclp.has_esca = !!(sccb->fac116 & 0x08); in sclp_early_facilities_detect()
43 sclp.has_pfmfi = !!(sccb->fac117 & 0x40); in sclp_early_facilities_detect()
[all …]
H A Dsclp_mem.c72 if (!sclp.rzm) in arch_get_memory_phys_device()
74 return PFN_PHYS(start_pfn) >> ilog2(sclp.rzm); in arch_get_memory_phys_device()
79 return (unsigned long)(rn - 1) * sclp.rzm; in rn2addr()
119 storage_key_init_range(start, start + sclp.rzm); in sclp_assign_storage()
170 if (start > istart + sclp.rzm - 1) in sclp_mem_change_state()
387 size = (unsigned long)num * sclp.rzm; in sclp_create_standby_mems_merged()
432 max_sclp_mems = roundup(sclp.rnmax * sclp.rzm, block_size) / block_size; in sclp_init_mem()
473 if (new_incr->rn > sclp.rnmax) { in insert_increment()
488 if ((sclp.facilities & 0xe00000000000UL) != 0xe00000000000UL) in sclp_setup_memory()
530 for (i = 1; i <= sclp.rnmax - assigned; i++) in sclp_setup_memory()
H A Dsclp.h220 #define SCLP_HAS_CHP_INFO (sclp.facilities & 0x8000000000000000ULL)
221 #define SCLP_HAS_CHP_RECONFIG (sclp.facilities & 0x2000000000000000ULL)
222 #define SCLP_HAS_CPU_INFO (sclp.facilities & 0x0800000000000000ULL)
223 #define SCLP_HAS_CPU_RECONFIG (sclp.facilities & 0x0400000000000000ULL)
224 #define SCLP_HAS_PCI_RECONFIG (sclp.facilities & 0x0000000040000000ULL)
225 #define SCLP_HAS_AP_RECONFIG (sclp.facilities & 0x0000000100000000ULL)
H A Dzcore.c175 snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); in zcore_hsa_read()
205 if (!sclp.hsa_size) { in check_sdias()
232 if (ipib_info.ipib < sclp.hsa_size) in zcore_reipl_init()
255 if (os_info_addr < sclp.hsa_size) in zcore_reipl_init()
263 if (entry->addr < sclp.hsa_size) in zcore_reipl_init()
H A DMakefile20 obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
H A Dsclp_tty.c515 if (!sclp.has_linemode) in sclp_tty_init()
/linux/arch/s390/kvm/
H A Dpci.h82 sclp.has_zpci_lsi && sclp.has_aeni && sclp.has_aisi && in kvm_s390_pci_interp_allowed()
83 sclp.has_aisii); in kvm_s390_pci_interp_allowed()
H A Dkvm-s390.c451 if (!sclp.has_sief2 || !machine_has_esop() || !sclp.has_64bscao || in kvm_s390_cpu_feat_init()
455 if (sclp.has_64bscao) in kvm_s390_cpu_feat_init()
457 if (sclp.has_siif) in kvm_s390_cpu_feat_init()
459 if (sclp.has_gpere) in kvm_s390_cpu_feat_init()
461 if (sclp.has_gsls) in kvm_s390_cpu_feat_init()
463 if (sclp.has_ib) in kvm_s390_cpu_feat_init()
465 if (sclp.has_cei) in kvm_s390_cpu_feat_init()
467 if (sclp.has_ibs) in kvm_s390_cpu_feat_init()
469 if (sclp.has_kss) in kvm_s390_cpu_feat_init()
962 if (!sclp.has_cmma) in kvm_s390_set_mem_control()
[all …]
H A Dkvm-s390.h287 if (gd && sclp.has_gisaf) in kvm_s390_get_gisa_desc()
579 return sclp.has_sigpif && sclp.has_esca; in kvm_s390_use_sca_entries()
H A Dgaccess.c136 if (sclp.has_siif) in ipte_lock_held()
220 if (sclp.has_siif) in ipte_lock()
228 if (sclp.has_siif) in ipte_unlock()
/linux/arch/s390/kernel/
H A Dearly_printk.c28 if (!sclp.has_linemode && !sclp.has_vt220) in register_early_console()
H A Dsmp.c630 pcpu_set_smt(sclp.mtid_prev); in smp_save_dump_secondary_cpus()
632 max_cpu_addr = SCLP_MAX_CORES << sclp.mtid_prev; in smp_save_dump_secondary_cpus()
717 if (sclp.has_core_type && core->type != boot_core_type) in smp_add_core()
788 if (sclp.has_core_type) { in smp_detect_cpus()
801 mtid = boot_core_type ? sclp.mtid : sclp.mtid_cp; in smp_detect_cpus()
809 if (sclp.has_core_type && in smp_detect_cpus()
942 sclp_max = max(sclp.mtid, sclp.mtid_cp) + 1; in smp_fill_possible_mask()
944 sclp_max = (sclp.max_cores * sclp_max) ?: nr_cpu_ids; in smp_fill_possible_mask()
H A Dsetup.c290 if (sclp.has_vt220 && IS_ENABLED(CONFIG_SCLP_VT220_CONSOLE)) in conmode_default()
292 else if (sclp.has_linemode && IS_ENABLED(CONFIG_SCLP_CONSOLE)) in conmode_default()
626 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel()
836 if (!sclp.has_diag318) in setup_control_program_code()
H A Dcrash_dump.c123 if (!oldmem_data.start && src < sclp.hsa_size) { in copy_oldmem_iter()
125 len = min(count, sclp.hsa_size - src); in copy_oldmem_iter()
212 unsigned long hsa_end = sclp.hsa_size; in remap_oldmem_pfn_range_zfcpdump()
626 if (is_ipl_type_dump() && !sclp.hsa_size) in elfcorehdr_alloc()
H A Dmachine_kexec.c235 if (sclp.has_iplcc) in __do_machine_kexec()
H A Dwti.c173 if (!sclp.has_wti) in wti_init()
H A Dprocessor.c255 if (sclp.has_sief2) in setup_hwcaps()
H A Dipl.c411 return sysfs_emit(page, "%i\n", !!sclp.has_sipl); in ipl_has_secure_show()
1468 if (!sclp.has_sipl_eckd) in reipl_eckd_init()
1748 return sysfs_emit(page, "%lu\n", sclp.hsa_size); in dump_area_size_show()
1873 if (!sclp_ipl_info.has_dump || !sclp.has_sipl_eckd) in dump_eckd_init()
/linux/arch/s390/hypfs/
H A Dhypfs_sprp.c137 if (!sclp.has_sprp) in hypfs_sprp_init()
144 if (!sclp.has_sprp) in hypfs_sprp_exit()
/linux/arch/s390/include/asm/
H A Dsclp.h119 extern struct sclp_info sclp;
H A Ddiag.h337 return sclp.has_diag204_bif; in diag204_has_bif()
/linux/arch/s390/mm/
H A Dinit.c172 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/linux/arch/s390/kernel/diag/
H A Ddiag324.c208 if (!sclp.has_diag324) in diag324_init()
H A Ddiag310.c158 if (!sclp.has_diag310) in diag310_check_features()
/linux/Documentation/virt/kvm/s390/
H A Ds390-pv.rst90 like the SCCB for sclp, is moved via the SIDA. When an instruction is

12