Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/s390/char/
Dsclp_early.c62 struct sclp_info sclp; variable
63 EXPORT_SYMBOL(sclp);
94 sclp.facilities = sccb->facilities; in sclp_early_facilities_detect()
95 sclp.has_sprp = !!(sccb->fac84 & 0x02); in sclp_early_facilities_detect()
96 sclp.has_core_type = !!(sccb->fac84 & 0x01); in sclp_early_facilities_detect()
97 sclp.has_gsls = !!(sccb->fac85 & 0x80); in sclp_early_facilities_detect()
98 sclp.has_64bscao = !!(sccb->fac116 & 0x80); in sclp_early_facilities_detect()
99 sclp.has_cmma = !!(sccb->fac116 & 0x40); in sclp_early_facilities_detect()
100 sclp.has_esca = !!(sccb->fac116 & 0x08); in sclp_early_facilities_detect()
101 sclp.has_pfmfi = !!(sccb->fac117 & 0x40); in sclp_early_facilities_detect()
[all …]
Dsclp_cmd.c182 if (!sclp.rzm) in arch_get_memory_phys_device()
184 return PFN_PHYS(start_pfn) >> ilog2(sclp.rzm); in arch_get_memory_phys_device()
189 return (unsigned long long) (rn - 1) * sclp.rzm; in rn2addr()
229 storage_key_init_range(start, start + sclp.rzm); in sclp_assign_storage()
289 if (start > istart + sclp.rzm - 1) in sclp_mem_change_state()
310 if (start > istart + sclp.rzm - 1) in contains_standby_increment()
395 size = (unsigned long long) num * sclp.rzm; in add_memory_merged()
448 if (new_incr->rn > sclp.rnmax) { in insert_increment()
491 if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL) in sclp_detect_standby_memory()
533 for (i = 1; i <= sclp.rnmax - assigned; i++) in sclp_detect_standby_memory()
Dsclp.h172 #define SCLP_HAS_CHP_INFO (sclp.facilities & 0x8000000000000000ULL)
173 #define SCLP_HAS_CHP_RECONFIG (sclp.facilities & 0x2000000000000000ULL)
174 #define SCLP_HAS_CPU_INFO (sclp.facilities & 0x0800000000000000ULL)
175 #define SCLP_HAS_CPU_RECONFIG (sclp.facilities & 0x0400000000000000ULL)
176 #define SCLP_HAS_PCI_RECONFIG (sclp.facilities & 0x0000000040000000ULL)
Dzcore.c216 snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); in zcore_hsa_read()
247 if (!sclp.hsa_size) { in check_sdias()
271 if (ipib_info.ipib < sclp.hsa_size) in zcore_reipl_init()
DMakefile19 obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
Dsclp_tty.c508 if (!sclp.has_linemode) in sclp_tty_init()
Dsclp.c647 sclp.facilities = scbuf->sclp_active_facility_mask; in sclp_state_change_cb()
/Linux-v4.19/arch/s390/kernel/
Dearly_printk.c30 if (!sclp.has_linemode && !sclp.has_vt220) in setup_early_printk()
Dsmp.c647 pcpu_set_smt(sclp.mtid_prev); in smp_save_dump_cpus()
649 max_cpu_addr = SCLP_MAX_CORES << sclp.mtid_prev; in smp_save_dump_cpus()
722 if (sclp.has_core_type && info->core[i].type != boot_core_type) in __smp_rescan_cpus()
757 if (sclp.has_core_type) { in smp_detect_cpus()
770 mtid = boot_core_type ? sclp.mtid : sclp.mtid_cp; in smp_detect_cpus()
777 if (sclp.has_core_type && in smp_detect_cpus()
918 sclp_max = max(sclp.mtid, sclp.mtid_cp) + 1; in smp_fill_possible_mask()
920 sclp_max = (sclp.max_cores * sclp_max) ?: nr_cpu_ids; in smp_fill_possible_mask()
Dsetup.c213 if (sclp.has_vt220 && IS_ENABLED(CONFIG_SCLP_VT220_CONSOLE)) in conmode_default()
215 else if (sclp.has_linemode && IS_ENABLED(CONFIG_SCLP_CONSOLE)) in conmode_default()
537 !OLDMEM_BASE && sclp.hsa_size) { in reserve_memory_end()
538 memory_end = sclp.hsa_size; in reserve_memory_end()
603 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel()
832 if (sclp.has_sief2) in setup_hwcaps()
Dcrash_dump.c141 if (!OLDMEM_BASE && from < sclp.hsa_size) { in copy_oldmem_kernel()
143 len = min(count, sclp.hsa_size - from); in copy_oldmem_kernel()
184 if (!OLDMEM_BASE && from < sclp.hsa_size) { in copy_oldmem_user()
186 len = min(count, sclp.hsa_size - from); in copy_oldmem_user()
269 unsigned long hsa_end = sclp.hsa_size; in remap_oldmem_pfn_range_zfcpdump()
639 if (ipl_info.type == IPL_TYPE_FCP_DUMP && !sclp.hsa_size) in elfcorehdr_alloc()
/Linux-v4.19/arch/s390/mm/
Dmem_detect.c33 rzm = sclp.rzm; in detect_memory_memblock()
34 rnmax = sclp.rnmax; in detect_memory_memblock()
Dinit.c169 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/Linux-v4.19/arch/s390/hypfs/
Dhypfs_sprp.c138 if (!sclp.has_sprp) in hypfs_sprp_init()
145 if (!sclp.has_sprp) in hypfs_sprp_exit()
/Linux-v4.19/arch/s390/kvm/
Dkvm-s390.c377 if (!sclp.has_sief2 || !MACHINE_HAS_ESOP || !sclp.has_64bscao || in kvm_s390_cpu_feat_init()
381 if (sclp.has_64bscao) in kvm_s390_cpu_feat_init()
383 if (sclp.has_siif) in kvm_s390_cpu_feat_init()
385 if (sclp.has_gpere) in kvm_s390_cpu_feat_init()
387 if (sclp.has_gsls) in kvm_s390_cpu_feat_init()
389 if (sclp.has_ib) in kvm_s390_cpu_feat_init()
391 if (sclp.has_cei) in kvm_s390_cpu_feat_init()
393 if (sclp.has_ibs) in kvm_s390_cpu_feat_init()
395 if (sclp.has_kss) in kvm_s390_cpu_feat_init()
495 else if (sclp.has_esca && sclp.has_64bscao) in kvm_vm_ioctl_check_extension()
[all …]
Dkvm-s390.h409 return sclp.has_sigpif; in kvm_s390_use_sca_entries()
Dvsie.c201 __u64 min_ibc = (sclp.ibc >> 16) & 0x0fffU; in prepare_ibc()
Dinterrupt.c1028 if (!sclp.has_sigpif) in kvm_s390_ext_call_pending()
1345 if (sclp.has_sigpif) in __inject_extcall()
/Linux-v4.19/arch/s390/include/asm/
Dsclp.h93 extern struct sclp_info sclp;
/Linux-v4.19/Documentation/virtual/kvm/
Dapi.txt2410 KVM_S390_INT_SERVICE (vm) - sclp external interrupt; sclp parameter in parm
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt1060 earlyprintk=sclp
1096 The sclp output can only be used on s390.