/openbmc/linux/drivers/s390/char/ |
H A D | sclp_early.c | 23 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 D | sclp_cmd.c | 183 if (!sclp.rzm) in arch_get_memory_phys_device() 185 return PFN_PHYS(start_pfn) >> ilog2(sclp.rzm); in arch_get_memory_phys_device() 190 return (unsigned long long) (rn - 1) * sclp.rzm; in rn2addr() 230 storage_key_init_range(start, start + sclp.rzm); in sclp_assign_storage() 290 if (start > istart + sclp.rzm - 1) in sclp_mem_change_state() 311 if (start > istart + sclp.rzm - 1) in contains_standby_increment() 394 size = (unsigned long long) num * sclp.rzm; in add_memory_merged() 443 if (new_incr->rn > sclp.rnmax) { in insert_increment() 457 if ((sclp.facilities & 0xe00000000000ULL) != 0xe00000000000ULL) in sclp_detect_standby_memory() 499 for (i = 1; i <= sclp.rnmax - assigned; i++) in sclp_detect_standby_memory()
|
H A D | sclp.h | 223 #define SCLP_HAS_CHP_INFO (sclp.facilities & 0x8000000000000000ULL) 224 #define SCLP_HAS_CHP_RECONFIG (sclp.facilities & 0x2000000000000000ULL) 225 #define SCLP_HAS_CPU_INFO (sclp.facilities & 0x0800000000000000ULL) 226 #define SCLP_HAS_CPU_RECONFIG (sclp.facilities & 0x0400000000000000ULL) 227 #define SCLP_HAS_PCI_RECONFIG (sclp.facilities & 0x0000000040000000ULL) 228 #define SCLP_HAS_AP_RECONFIG (sclp.facilities & 0x0000000100000000ULL)
|
H A D | zcore.c | 178 snprintf(str, sizeof(str), "%lx\n", sclp.hsa_size); in zcore_hsa_read() 209 if (!sclp.hsa_size) { in check_sdias() 236 if (ipib_info.ipib < sclp.hsa_size) in zcore_reipl_init() 259 if (os_info_addr < sclp.hsa_size) in zcore_reipl_init() 267 if (entry->addr < sclp.hsa_size) in zcore_reipl_init()
|
H A D | Makefile | 20 obj-y += ctrlchar.o keyboard.o defkeymap.o sclp.o sclp_rw.o sclp_quiesce.o \
|
H A D | sclp_tty.c | 504 if (!sclp.has_linemode) in sclp_tty_init()
|
/openbmc/qemu/hw/s390x/ |
H A D | sclp.c | 28 static SCLPDevice *sclp; in get_sclp_device() local 30 if (!sclp) { in get_sclp_device() 31 sclp = S390_CCW_MACHINE(qdev_get_machine())->sclp; in get_sclp_device() 33 return sclp; in get_sclp_device() 107 static void read_SCP_info(SCLPDevice *sclp, SCCB *sccb) in read_SCP_info() argument 156 rnsize = 1 << (sclp->increment_size - 20); in read_SCP_info() 165 rnmax = machine->ram_size >> sclp->increment_size; in read_SCP_info() 180 static void sclp_read_cpu_info(SCLPDevice *sclp, SCCB *sccb) in sclp_read_cpu_info() argument 208 static void sclp_configure_io_adapter(SCLPDevice *sclp, SCCB *sccb, in sclp_configure_io_adapter() argument 237 static void sclp_execute(SCLPDevice *sclp, SCCB *sccb, uint32_t code) in sclp_execute() argument [all …]
|
H A D | s390-virtio-ccw.c | 232 static void s390_create_sclpconsole(SCLPDevice *sclp, in s390_create_sclpconsole() argument 235 SCLPEventFacility *ef = sclp->event_facility; in s390_create_sclpconsole() 253 ms->sclp = SCLP(object_new(TYPE_SCLP)); in ccw_init() 254 object_property_add_child(OBJECT(machine), TYPE_SCLP, OBJECT(ms->sclp)); in ccw_init() 255 qdev_realize_and_unref(DEVICE(ms->sclp), NULL, &error_fatal); in ccw_init() 303 s390_create_sclpconsole(ms->sclp, "sclpconsole", serial_hd(0)); in ccw_init() 306 s390_create_sclpconsole(ms->sclp, "sclplmconsole", serial_hd(1)); in ccw_init()
|
H A D | meson.build | 16 'sclp.c',
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pci.h | 82 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 D | kvm-s390.c | 429 if (!sclp.has_sief2 || !MACHINE_HAS_ESOP || !sclp.has_64bscao || in kvm_s390_cpu_feat_init() 433 if (sclp.has_64bscao) in kvm_s390_cpu_feat_init() 435 if (sclp.has_siif) in kvm_s390_cpu_feat_init() 437 if (sclp.has_gpere) in kvm_s390_cpu_feat_init() 439 if (sclp.has_gsls) in kvm_s390_cpu_feat_init() 441 if (sclp.has_ib) in kvm_s390_cpu_feat_init() 443 if (sclp.has_cei) in kvm_s390_cpu_feat_init() 445 if (sclp.has_ibs) in kvm_s390_cpu_feat_init() 447 if (sclp.has_kss) in kvm_s390_cpu_feat_init() 613 else if (sclp.has_esca && sclp.has_64bscao) in kvm_vm_ioctl_check_extension() [all …]
|
H A D | kvm-s390.h | 259 if (gd && sclp.has_gisaf) in kvm_s390_get_gisa_desc() 509 return sclp.has_sigpif; in kvm_s390_use_sca_entries()
|
/openbmc/qemu/include/hw/s390x/ |
H A D | sclp.h | 211 void (*read_SCP_info)(SCLPDevice *sclp, SCCB *sccb); 212 void (*read_cpu_info)(SCLPDevice *sclp, SCCB *sccb); 215 void (*execute)(SCLPDevice *sclp, SCCB *sccb, uint32_t code); 216 void (*service_interrupt)(SCLPDevice *sclp, uint32_t sccb);
|
H A D | s390-virtio-ccw.h | 33 SCLPDevice *sclp; member
|
/openbmc/linux/arch/s390/kernel/ |
H A D | early_printk.c | 30 if (!sclp.has_linemode && !sclp.has_vt220) in setup_early_printk()
|
H A D | smp.c | 707 pcpu_set_smt(sclp.mtid_prev); in smp_save_dump_secondary_cpus() 709 max_cpu_addr = SCLP_MAX_CORES << sclp.mtid_prev; in smp_save_dump_secondary_cpus() 778 if (sclp.has_core_type && core->type != boot_core_type) in smp_add_core() 851 if (sclp.has_core_type) { in smp_detect_cpus() 864 mtid = boot_core_type ? sclp.mtid : sclp.mtid_cp; in smp_detect_cpus() 871 if (sclp.has_core_type && in smp_detect_cpus() 1005 sclp_max = max(sclp.mtid, sclp.mtid_cp) + 1; in smp_fill_possible_mask() 1007 sclp_max = (sclp.max_cores * sclp_max) ?: nr_cpu_ids; in smp_fill_possible_mask()
|
H A D | crash_dump.c | 123 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() 580 if (is_ipl_type_dump() && !sclp.hsa_size) in elfcorehdr_alloc()
|
H A D | setup.c | 288 if (sclp.has_vt220 && IS_ENABLED(CONFIG_SCLP_VT220_CONSOLE)) in conmode_default() 290 else if (sclp.has_linemode && IS_ENABLED(CONFIG_SCLP_CONSOLE)) in conmode_default() 649 low = max_t(unsigned long, crash_size, sclp.hsa_size); in reserve_crashkernel() 856 if (!sclp.has_diag318) in setup_control_program_code()
|
H A D | machine_kexec.c | 247 if (sclp.has_iplcc) in __do_machine_kexec()
|
H A D | processor.c | 239 if (sclp.has_sief2) in setup_hwcaps()
|
/openbmc/linux/arch/s390/hypfs/ |
H A D | hypfs_sprp.c | 141 if (!sclp.has_sprp) in hypfs_sprp_init() 148 if (!sclp.has_sprp) in hypfs_sprp_exit()
|
/openbmc/qemu/tests/migration/s390x/ |
H A D | Makefile | 20 $(fwdir)/sclp.c -Wl,-zcommon-page-size=16 -o $@ $<
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | sclp.h | 110 extern struct sclp_info sclp;
|
/openbmc/linux/arch/s390/mm/ |
H A D | init.c | 190 return max_t(unsigned long, MIN_MEMORY_BLOCK_SIZE, sclp.rzm); in memory_block_size_bytes()
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | Makefile | 36 OBJECTS = start.o main.o bootmap.o jump2ipl.o sclp.o menu.o netmain.o \
|