Home
last modified time | relevance | path

Searched refs:lowcore (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/arch/s390/kernel/
H A Dasm-offsets.c75 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main()
76 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main()
77 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main()
78 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main()
79 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_code); in main()
80 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main()
81 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num); in main()
82 OFFSET(__LC_PER_CODE, lowcore, per_code); in main()
83 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main()
84 OFFSET(__LC_PER_ADDRESS, lowcore, per_address); in main()
[all …]
H A Dabs_lowcore.c8 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) in abs_lowcore_map()
10 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_map()
39 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_unmap()
H A Dsmp.c196 struct lowcore *lc; in pcpu_alloc_lowcore()
198 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore()
236 struct lowcore *lc; in pcpu_free_lowcore()
256 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary()
282 struct lowcore *lc; in pcpu_attach_task()
301 struct lowcore *lc; in pcpu_start_fn()
327 struct lowcore *lc, *abs_lc; in pcpu_delegate()
405 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu()
597 struct lowcore *abs_lc; in smp_ctl_set_clear_bit()
622 struct lowcore *lc; in smp_store_status()
[all …]
H A Dsetup.c175 struct lowcore *lowcore_ptr[NR_CPUS];
404 struct lowcore *lc, *abs_lc; in setup_lowcore()
409 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore()
H A Dos_info.c61 struct lowcore *abs_lc; in os_info_init()
H A Dmachine_kexec.c214 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
H A Dtext_amode31.S110 lg %r2,0(%r4) # Disable lowcore protection
H A Dcrash_dump.c89 struct lowcore *lc; in save_area_add_regs()
91 lc = (struct lowcore *)(regs - __LC_FPREGS_SAVE_AREA); in save_area_add_regs()
H A Dmachine_kexec_file.c223 data->kernel_buf + offsetof(struct lowcore, ipl_parmblock_ptr); in kexec_file_add_ipl_report()
/openbmc/qemu/target/s390x/tcg/
H A Dexcp_helper.c202 LowCore *lowcore; in do_program_interrupt() local
263 lowcore = cpu_map_lowcore(env); in do_program_interrupt()
268 lowcore->per_address = cpu_to_be64(env->per_address); in do_program_interrupt()
269 lowcore->per_perc_atmid = cpu_to_be16(env->per_perc_atmid); in do_program_interrupt()
274 lowcore->trans_exc_code = cpu_to_be64(env->tlb_fill_tec); in do_program_interrupt()
277 lowcore->pgm_ilen = cpu_to_be16(ilen); in do_program_interrupt()
278 lowcore->pgm_code = cpu_to_be16(env->int_pgm_code); in do_program_interrupt()
279 lowcore->program_old_psw.mask = cpu_to_be64(s390_cpu_get_psw_mask(env)); in do_program_interrupt()
280 lowcore->program_old_psw.addr = cpu_to_be64(env->psw.addr); in do_program_interrupt()
281 mask = be64_to_cpu(lowcore->program_new_psw.mask); in do_program_interrupt()
[all …]
H A Dmisc_helper.c529 LowCore *lowcore; in HELPER() local
563 lowcore = cpu_map_lowcore(env); in HELPER()
564 lowcore->subchannel_id = cpu_to_be16(io->id); in HELPER()
565 lowcore->subchannel_nr = cpu_to_be16(io->nr); in HELPER()
566 lowcore->io_int_parm = cpu_to_be32(io->parm); in HELPER()
567 lowcore->io_int_word = cpu_to_be32(io->word); in HELPER()
568 cpu_unmap_lowcore(lowcore); in HELPER()
693 LowCore *lowcore; in HELPER() local
695 lowcore = cpu_map_lowcore(env); in HELPER()
697 memcpy(&lowcore->stfl_fac_list, stfl_bytes, sizeof(lowcore->stfl_fac_list)); in HELPER()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dabs_lowcore.h7 #define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore))
11 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc);
14 static inline struct lowcore *get_abs_lowcore(void) in get_abs_lowcore()
19 return ((struct lowcore *)__abs_lowcore) + cpu; in get_abs_lowcore()
22 static inline void put_abs_lowcore(struct lowcore *lc) in put_abs_lowcore()
H A Dlowcore.h24 struct lowcore { struct
215 #define S390_lowcore (*((struct lowcore *) 0)) argument
217 extern struct lowcore *lowcore_ptr[];
H A Dprocessor.h84 struct lowcore *lc = lowcore_ptr[cpu]; in test_cpu_flag_of()
/openbmc/qemu/target/s390x/
H A Dhelper.c104 LowCore *lowcore; in cpu_map_lowcore() local
107 lowcore = cpu_physical_memory_map(env->psa, &len, true); in cpu_map_lowcore()
113 return lowcore; in cpu_map_lowcore()
116 void cpu_unmap_lowcore(LowCore *lowcore) in cpu_unmap_lowcore() argument
118 cpu_physical_memory_unmap(lowcore, sizeof(LowCore), 1, sizeof(LowCore)); in cpu_unmap_lowcore()
124 LowCore *lowcore; in do_restart_interrupt() local
126 lowcore = cpu_map_lowcore(env); in do_restart_interrupt()
128 lowcore->restart_old_psw.mask = cpu_to_be64(s390_cpu_get_psw_mask(env)); in do_restart_interrupt()
129 lowcore->restart_old_psw.addr = cpu_to_be64(env->psw.addr); in do_restart_interrupt()
130 mask = be64_to_cpu(lowcore->restart_new_psw.mask); in do_restart_interrupt()
[all …]
/openbmc/qemu/pc-bios/s390-ccw/
H A Dmain.c28 LowCore *lowcore; /* Yes, this *is* a pointer to address 0 */ variable
42 lowcore->subchannel_id = net_schid.sch_id; in write_subsystem_identification()
43 lowcore->subchannel_nr = net_schid.sch_no; in write_subsystem_identification()
45 lowcore->subchannel_id = blk_schid.sch_id; in write_subsystem_identification()
46 lowcore->subchannel_nr = blk_schid.sch_no; in write_subsystem_identification()
48 lowcore->io_int_parm = 0; in write_subsystem_identification()
54 lowcore->ptr_iplb = ptr2u32(&iplb); in write_iplb_location()
H A Ddasd-ipl.c23 memcpy(&prefix_page, lowcore, 4096); in enable_prefixing()
31 memcpy((void *)&lowcore->subchannel_id, prefix_page + 0xB8, 12); in disable_prefixing()
H A Ds390-arch.h96 extern LowCore *lowcore;
/openbmc/linux/arch/s390/mm/
H A Dmaccess.c137 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in get_swapped_owner()
154 struct lowcore *abs_lc; in xlate_dev_mem_ptr()
160 if (addr >= sizeof(struct lowcore)) { in xlate_dev_mem_ptr()
169 if (addr < sizeof(struct lowcore)) { in xlate_dev_mem_ptr()
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Ddebug_test.c25 char *lowcore; in test_step_int_1() local
28 lowcore = addr_gpa2hva(vm, 0); in test_step_int_1()
31 memcpy(lowcore + new_psw_off, new_psw, 16); in test_step_int_1()
/openbmc/linux/arch/s390/boot/
H A Dboot.h94 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
H A Dvmem.c439 pgtable_populate(0, sizeof(struct lowcore), POPULATE_DIRECT); in setup_vmem()
442 pgtable_populate(__abs_lowcore, __abs_lowcore + sizeof(struct lowcore), in setup_vmem()
H A Dstartup.c208 sizeof(struct lowcore)); in setup_kernel_memory_layout()
/openbmc/qemu/tests/tcg/s390x/
H A DMakefile.softmmu-target34 unaligned-lowcore
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dptrace.h378 } lowcore; member

12