Home
last modified time | relevance | path

Searched refs:get_lowcore (Results 1 – 25 of 36) sorted by relevance

12

/linux/arch/s390/include/asm/
H A Dsetup.h81 #define MACHINE_IS_VM (get_lowcore()->machine_flags & MACHINE_FLAG_VM)
82 #define MACHINE_IS_KVM (get_lowcore()->machine_flags & MACHINE_FLAG_KVM)
83 #define MACHINE_IS_LPAR (get_lowcore()->machine_flags & MACHINE_FLAG_LPAR)
85 #define MACHINE_HAS_DIAG9C (get_lowcore()->machine_flags & MACHINE_FLAG_DIAG9C)
86 #define MACHINE_HAS_ESOP (get_lowcore()->machine_flags & MACHINE_FLAG_ESOP)
87 #define MACHINE_HAS_IDTE (get_lowcore()->machine_flags & MACHINE_FLAG_IDTE)
88 #define MACHINE_HAS_EDAT1 (get_lowcore()->machine_flags & MACHINE_FLAG_EDAT1)
89 #define MACHINE_HAS_EDAT2 (get_lowcore()->machine_flags & MACHINE_FLAG_EDAT2)
90 #define MACHINE_HAS_TOPOLOGY (get_lowcore()->machine_flags & MACHINE_FLAG_TOPOLOGY)
91 #define MACHINE_HAS_TE (get_lowcore()->machine_flags & MACHINE_FLAG_TE)
[all …]
H A Dhardirq.h16 #define local_softirq_pending() (get_lowcore()->softirq_pending)
17 #define set_softirq_pending(x) (get_lowcore()->softirq_pending = (x))
18 #define or_softirq_pending(x) (get_lowcore()->softirq_pending |= (x))
H A Dkmsan.h15 return addr >= (void *)get_lowcore() && in is_lowcore_addr()
16 addr < (void *)(get_lowcore() + 1); in is_lowcore_addr()
28 (void *)get_lowcore(); in arch_kmsan_get_meta_or_null()
H A Dmmu_context.h79 get_lowcore()->user_asce = s390_invalid_asce; in switch_mm_irqs_off()
81 get_lowcore()->user_asce.val = next->context.asce; in switch_mm_irqs_off()
114 local_ctl_load(7, &get_lowcore()->user_asce); in finish_arch_post_lock_switch()
123 local_ctl_load(7, &get_lowcore()->user_asce); in activate_mm()
H A Dvtime.h7 struct lowcore *lc = get_lowcore(); in update_timer_sys()
16 struct lowcore *lc = get_lowcore(); in update_timer_mcck()
H A Dfacility.h117 : "=m" (get_lowcore()->stfl_fac_list)); in __stfle()
118 stfl_fac_list = get_lowcore()->stfl_fac_list; in __stfle()
H A Dcurrent.h17 #define current ((struct task_struct *const)get_lowcore()->current_task)
H A Dsoftirq_stack.h11 call_on_stack(0, get_lowcore()->async_stack, void, __do_softirq); in do_softirq_own_stack()
H A Dsmp.h14 #define raw_smp_processor_id() (get_lowcore()->cpu_nr)
/linux/arch/s390/kernel/
H A Dearly.c78 get_lowcore()->last_update_clock = TOD_UNIX_EPOCH; in reset_tod_clock()
105 get_lowcore()->machine_flags |= MACHINE_FLAG_LPAR; in detect_machine_type()
114 get_lowcore()->machine_flags |= MACHINE_FLAG_KVM; in detect_machine_type()
116 get_lowcore()->machine_flags |= MACHINE_FLAG_VM; in detect_machine_type()
172 get_lowcore()->machine_flags |= MACHINE_FLAG_TOPOLOGY; in setup_topology()
182 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check()
210 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
235 get_lowcore()->machine_flags |= MACHINE_FLAG_DIAG9C; in detect_diag9c()
241 get_lowcore()->machine_flags |= MACHINE_FLAG_EDAT1; in detect_machine_facilities()
245 get_lowcore()->machine_flags |= MACHINE_FLAG_EDAT2; in detect_machine_facilities()
[all …]
H A Dnmi.c120 struct lowcore *lc = get_lowcore(); in s390_handle_damage()
230 set_clock_comparator(get_lowcore()->clock_comparator); in nmi_registers_valid()
256 cr2.reg = get_lowcore()->cregs_save_area[2]; in nmi_registers_valid()
282 mcck_backup->mcic = get_lowcore()->mcck_interruption_code & in s390_backup_mcck_info()
284 mcck_backup->ext_damage_code = get_lowcore()->external_damage_code; in s390_backup_mcck_info()
285 mcck_backup->failing_storage_address = get_lowcore()->failing_storage_address; in s390_backup_mcck_info()
305 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
H A Dsetup.c418 lc->machine_flags = get_lowcore()->machine_flags; in setup_lowcore()
419 lc->preempt_count = get_lowcore()->preempt_count; in setup_lowcore()
421 lc->sys_enter_timer = get_lowcore()->sys_enter_timer; in setup_lowcore()
422 lc->exit_timer = get_lowcore()->exit_timer; in setup_lowcore()
423 lc->user_timer = get_lowcore()->user_timer; in setup_lowcore()
424 lc->system_timer = get_lowcore()->system_timer; in setup_lowcore()
425 lc->steal_timer = get_lowcore()->steal_timer; in setup_lowcore()
426 lc->last_update_timer = get_lowcore()->last_update_timer; in setup_lowcore()
427 lc->last_update_clock = get_lowcore()->last_update_clock; in setup_lowcore()
436 lc->kernel_stack = get_lowcore()->kernel_stack; in setup_lowcore()
[all …]
H A Dirq.c105 if (tod_after_eq(get_lowcore()->int_clock, in do_IRQ()
106 get_lowcore()->clock_comparator)) in do_IRQ()
116 return ((get_lowcore()->async_stack ^ frame) & ~(THREAD_SIZE - 1)) == 0; in on_async_stack()
124 call_on_stack(2, get_lowcore()->async_stack, void, do_IRQ, in do_irq_async()
162 regs->tpi_info = get_lowcore()->tpi_info; in do_io_irq()
163 if (get_lowcore()->tpi_info.adapter_IO) in do_io_irq()
192 regs->int_code = get_lowcore()->ext_int_code_addr; in do_ext_irq()
193 regs->int_parm = get_lowcore()->ext_params; in do_ext_irq()
194 regs->int_parm_long = get_lowcore()->ext_params2; in do_ext_irq()
H A Dvtime.c38 struct lowcore *lc = get_lowcore(); in set_vtimer()
121 struct lowcore *lc = get_lowcore(); in do_account_vtime()
181 struct lowcore *lc = get_lowcore(); in vtime_task_switch()
203 struct lowcore *lc = get_lowcore(); in vtime_flush()
221 struct lowcore *lc = get_lowcore(); in vtime_delta()
234 struct lowcore *lc = get_lowcore(); in vtime_account_kernel()
250 get_lowcore()->softirq_timer += delta; in vtime_account_softirq()
259 get_lowcore()->hardirq_timer += delta; in vtime_account_hardirq()
H A Ddumpstack.c64 unsigned long stack = get_lowcore()->async_stack - STACK_INIT_OFFSET; in in_irq_stack()
71 unsigned long stack = get_lowcore()->nodat_stack - STACK_INIT_OFFSET; in in_nodat_stack()
78 unsigned long stack = get_lowcore()->mcck_stack - STACK_INIT_OFFSET; in in_mcck_stack()
85 unsigned long stack = get_lowcore()->restart_stack - STACK_INIT_OFFSET; in in_restart_stack()
H A Dmachine_kexec.c55 prefix = (unsigned long)get_lowcore()->prefixreg_save_area; in __do_machine_kdump()
65 memcpy(absolute_pointer(get_lowcore()->floating_pt_save_area), in __do_machine_kdump()
94 mcesa = __va(get_lowcore()->mcesad & MCESA_ORIGIN_MASK); in __machine_kdump()
H A Dprocess.c74 if (get_lowcore()->current_pid != current->pid) { in arch_setup_new_exec()
75 get_lowcore()->current_pid = current->pid; in arch_setup_new_exec()
77 lpp(&get_lowcore()->lpp); in arch_setup_new_exec()
H A Dsyscall.c127 regs->psw = get_lowcore()->svc_old_psw; in __do_syscall()
128 regs->int_code = get_lowcore()->svc_int_code; in __do_syscall()
/linux/arch/s390/boot/
H A Dpgm_check_info.c37 unsigned long *gpregs = (unsigned long *)get_lowcore()->gpregs_save_area; in print_pgm_check_info()
38 struct psw_bits *psw = &psw_bits(get_lowcore()->psw_save_area); in print_pgm_check_info()
46 get_lowcore()->pgm_code, get_lowcore()->pgm_ilc >> 1); in print_pgm_check_info()
52 get_lowcore()->psw_save_area.mask, in print_pgm_check_info()
53 get_lowcore()->psw_save_area.addr, in print_pgm_check_info()
54 (void *)get_lowcore()->psw_save_area.addr); in print_pgm_check_info()
62 print_stacktrace(get_lowcore()->gpregs_save_area[15]); in print_pgm_check_info()
64 boot_emerg(" [<%016lx>] %pS\n", (unsigned long)get_lowcore()->pgm_last_break, in print_pgm_check_info()
65 (void *)get_lowcore()->pgm_last_break); in print_pgm_check_info()
H A Dphysmem_info.c87 "+Q" (get_lowcore()->program_new_psw), in __diag260()
91 [psw_pgm] "a" (&get_lowcore()->program_new_psw) in __diag260()
139 "=Q" (get_lowcore()->program_new_psw), in diag500_storage_limit()
142 [psw_pgm] "a" (&get_lowcore()->program_new_psw), in diag500_storage_limit()
174 "=Q" (get_lowcore()->program_new_psw.addr), in tprot()
177 [psw_pgm] "a" (&get_lowcore()->program_new_psw), in tprot()
H A Dstartup.c90 "+Q" (get_lowcore()->program_new_psw), in cmma_test_essa()
93 [psw_pgm] "a" (&get_lowcore()->program_new_psw), in cmma_test_essa()
113 get_lowcore()->current_pid = 0; in setup_lpp()
114 get_lowcore()->lpp = LPP_MAGIC; in setup_lpp()
116 lpp(&get_lowcore()->lpp); in setup_lpp()
564 get_lowcore()->vmcore_info = __kaslr_offset_phys ? __kaslr_offset_phys | 0x1UL : 0; in startup_kernel()
H A Dvmem.c555 get_lowcore()->kernel_asce.val = swapper_pg_dir | asce_bits; in setup_vmem()
556 get_lowcore()->user_asce = s390_invalid_asce; in setup_vmem()
558 local_ctl_load(1, &get_lowcore()->kernel_asce); in setup_vmem()
559 local_ctl_load(7, &get_lowcore()->user_asce); in setup_vmem()
560 local_ctl_load(13, &get_lowcore()->kernel_asce); in setup_vmem()
562 init_mm.context.asce = get_lowcore()->kernel_asce.val; in setup_vmem()
H A Dipl_parm.c55 "+Q" (get_lowcore()->program_new_psw), in __diag308()
59 [psw_pgm] "a" (&get_lowcore()->program_new_psw) in __diag308()
/linux/arch/s390/lib/
H A Duaccess.c24 if (cr1.val == get_lowcore()->kernel_asce.val && cr7.val == get_lowcore()->user_asce.val) in debug_user_asce()
30 get_lowcore()->kernel_asce.val, get_lowcore()->user_asce.val); in debug_user_asce()
/linux/drivers/s390/char/
H A Dsclp_early_core.c41 psw_ext_save = get_lowcore()->external_new_psw; in sclp_early_wait_irq()
43 get_lowcore()->external_new_psw.mask = psw_mask; in sclp_early_wait_irq()
45 get_lowcore()->ext_int_code = 0; in sclp_early_wait_irq()
56 [psw_ext_addr] "=Q" (get_lowcore()->external_new_psw.addr) in sclp_early_wait_irq()
59 } while (get_lowcore()->ext_int_code != EXT_IRQ_SERVICE_SIG); in sclp_early_wait_irq()
61 get_lowcore()->external_new_psw = psw_ext_save; in sclp_early_wait_irq()

12