Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/s390/char/
H A Dsclp_early.c23 struct sclp_info sclp; variable
24 EXPORT_SYMBOL(sclp);
68 sclp.rzm <<= 20; in sclp_early_facilities_detect()
69 sclp.ibc = sccb->ibc; in sclp_early_facilities_detect()
74 sclp.hamax = U64_MAX; in sclp_early_facilities_detect()
78 sclp.max_cores = 64; in sclp_early_facilities_detect()
94 sclp.has_ib = cpue->ib; in sclp_early_facilities_detect()
95 sclp.has_cei = cpue->cei; in sclp_early_facilities_detect()
112 sclp.hmfai = sccb->hmfai; in sclp_early_facilities_detect()
162 sclp.has_vt220 = 1; in sclp_early_console_detect()
[all …]
H A Dsclp_cmd.c189 if (!sclp.rzm) in arch_get_memory_phys_device()
191 return PFN_PHYS(start_pfn) >> ilog2(sclp.rzm); in arch_get_memory_phys_device()
196 return (unsigned long long) (rn - 1) * sclp.rzm; in rn2addr()
236 storage_key_init_range(start, start + sclp.rzm); in sclp_assign_storage()
296 if (start > istart + sclp.rzm - 1) in sclp_mem_change_state()
317 if (start > istart + sclp.rzm - 1) in contains_standby_increment()
421 size = (unsigned long long) num * sclp.rzm; in add_memory_merged()
472 if (new_incr->rn > sclp.rnmax) { in insert_increment()
486 if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL) in sclp_detect_standby_memory()
528 for (i = 1; i <= sclp.rnmax - assigned; i++) in sclp_detect_standby_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.c176 snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); in zcore_hsa_read()
206 if (!sclp.hsa_size) { in check_sdias()
233 if (ipib_info.ipib < sclp.hsa_size) in zcore_reipl_init()
256 if (os_info_addr < sclp.hsa_size) in zcore_reipl_init()
264 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-6.15/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.c454 if (!sclp.has_sief2 || !machine_has_esop() || !sclp.has_64bscao || in kvm_s390_cpu_feat_init()
460 if (sclp.has_siif) in kvm_s390_cpu_feat_init()
462 if (sclp.has_gpere) in kvm_s390_cpu_feat_init()
464 if (sclp.has_gsls) in kvm_s390_cpu_feat_init()
466 if (sclp.has_ib) in kvm_s390_cpu_feat_init()
468 if (sclp.has_cei) in kvm_s390_cpu_feat_init()
470 if (sclp.has_ibs) in kvm_s390_cpu_feat_init()
472 if (sclp.has_kss) in kvm_s390_cpu_feat_init()
637 else if (sclp.has_esca && sclp.has_64bscao) in kvm_vm_ioctl_check_extension()
3669 if (!sclp.has_esca || !sclp.has_64bscao) in sca_can_add_vcpu()
[all …]
H A Dkvm-s390.h279 if (gd && sclp.has_gisaf) in kvm_s390_get_gisa_desc()
545 return sclp.has_sigpif; in kvm_s390_use_sca_entries()
H A Dgaccess.c111 if (sclp.has_siif) { in ipte_lock_held()
210 if (sclp.has_siif) in ipte_lock()
218 if (sclp.has_siif) in ipte_unlock()
/linux-6.15/arch/s390/kernel/
H A Dearly_printk.c28 if (!sclp.has_linemode && !sclp.has_vt220) in register_early_console()
H A Dsmp.c631 pcpu_set_smt(sclp.mtid_prev); in smp_save_dump_secondary_cpus()
633 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.c292 if (sclp.has_vt220 && IS_ENABLED(CONFIG_SCLP_VT220_CONSOLE)) in conmode_default()
294 else if (sclp.has_linemode && IS_ENABLED(CONFIG_SCLP_CONSOLE)) in conmode_default()
628 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel()
833 if (!sclp.has_diag318) in setup_control_program_code()
H A Dcrash_dump.c122 if (!oldmem_data.start && src < sclp.hsa_size) { in copy_oldmem_iter()
124 len = min(count, sclp.hsa_size - src); in copy_oldmem_iter()
211 unsigned long hsa_end = sclp.hsa_size; in remap_oldmem_pfn_range_zfcpdump()
625 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.c256 if (sclp.has_sief2) in setup_hwcaps()
/linux-6.15/arch/s390/hypfs/
H A Dhypfs_sprp.c141 if (!sclp.has_sprp) in hypfs_sprp_init()
148 if (!sclp.has_sprp) in hypfs_sprp_exit()
/linux-6.15/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-6.15/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-6.15/arch/s390/mm/
H A Dinit.c174 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
/linux-6.15/Documentation/virt/kvm/s390/
H A Ds390-pv.rst90 like the SCCB for sclp, is moved via the SIDA. When an instruction is
/linux-6.15/arch/s390/pci/
H A Dpci_irq.c511 irq_delivery = sclp.has_dirq ? DIRECTED : FLOATING; in zpci_irq_init()

12