Home
last modified time | relevance | path

Searched refs:S390_lowcore (Results 1 – 41 of 41) sorted by relevance

/linux-4.4.14/arch/s390/include/asm/
Dsetup.h58 #define MACHINE_IS_VM (S390_lowcore.machine_flags & MACHINE_FLAG_VM)
59 #define MACHINE_IS_KVM (S390_lowcore.machine_flags & MACHINE_FLAG_KVM)
60 #define MACHINE_IS_LPAR (S390_lowcore.machine_flags & MACHINE_FLAG_LPAR)
62 #define MACHINE_HAS_DIAG9C (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG9C)
63 #define MACHINE_HAS_ESOP (S390_lowcore.machine_flags & MACHINE_FLAG_ESOP)
67 #define MACHINE_HAS_IDTE (S390_lowcore.machine_flags & MACHINE_FLAG_IDTE)
68 #define MACHINE_HAS_DIAG44 (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG44)
69 #define MACHINE_HAS_EDAT1 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT1)
70 #define MACHINE_HAS_EDAT2 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT2)
71 #define MACHINE_HAS_LPP (S390_lowcore.machine_flags & MACHINE_FLAG_LPP)
[all …]
Dmmu_context.h61 S390_lowcore.user_asce = mm->context.asce; in set_user_asce()
63 __ctl_load(S390_lowcore.user_asce, 7, 7); in set_user_asce()
69 S390_lowcore.user_asce = S390_lowcore.kernel_asce; in clear_user_asce()
71 __ctl_load(S390_lowcore.user_asce, 1, 1); in clear_user_asce()
72 __ctl_load(S390_lowcore.user_asce, 7, 7); in clear_user_asce()
80 if (asce != S390_lowcore.kernel_asce) in load_kernel_asce()
81 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in load_kernel_asce()
90 S390_lowcore.user_asce = next->context.asce; in switch_mm()
96 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in switch_mm()
97 __ctl_load(S390_lowcore.kernel_asce, 7, 7); in switch_mm()
Dtimex.h59 old = S390_lowcore.clock_comparator; in local_tick_disable()
60 S390_lowcore.clock_comparator = -1ULL; in local_tick_disable()
61 set_clock_comparator(S390_lowcore.clock_comparator); in local_tick_disable()
67 S390_lowcore.clock_comparator = comp; in local_tick_enable()
68 set_clock_comparator(S390_lowcore.clock_comparator); in local_tick_enable()
Dfacility.h33 return __test_facility(nr, &S390_lowcore.stfle_fac_list); in test_facility()
50 : "+m" (S390_lowcore.stfl_fac_list)); in stfle()
52 memcpy(stfle_fac_list, &S390_lowcore.stfl_fac_list, 4); in stfle()
53 if (S390_lowcore.stfl_fac_list & 0x01000000) { in stfle()
Dprocessor.h42 S390_lowcore.cpu_flags |= (1UL << flag); in set_cpu_flag()
47 S390_lowcore.cpu_flags &= ~(1UL << flag); in clear_cpu_flag()
52 return !!(S390_lowcore.cpu_flags & (1UL << flag)); in test_cpu_flag()
Dcurrent.h16 #define current ((struct task_struct *const)S390_lowcore.current_task)
Dhardirq.h15 #define local_softirq_pending() (S390_lowcore.softirq_pending)
Duaccess.h45 S390_lowcore.user_asce : S390_lowcore.kernel_asce; \
Dsmp.h16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
Dthread_info.h61 return (struct thread_info *) S390_lowcore.thread_info; in current_thread_info()
Dspinlock.h14 #define SPINLOCK_LOCKVAL (S390_lowcore.spinlock_lockval)
Dlowcore.h207 #define S390_lowcore (*((struct _lowcore *) 0)) macro
Dpercpu.h11 #define __my_cpu_offset S390_lowcore.percpu_offset
/linux-4.4.14/arch/s390/kernel/
Dvtime.c49 S390_lowcore.system_timer += S390_lowcore.last_update_timer - timer; in set_vtimer()
50 S390_lowcore.last_update_timer = expires; in set_vtimer()
101 timer = S390_lowcore.last_update_timer; in do_account_vtime()
102 clock = S390_lowcore.last_update_clock; in do_account_vtime()
110 : "=m" (S390_lowcore.last_update_timer), in do_account_vtime()
111 "=m" (S390_lowcore.last_update_clock)); in do_account_vtime()
112 S390_lowcore.system_timer += timer - S390_lowcore.last_update_timer; in do_account_vtime()
113 S390_lowcore.steal_timer += S390_lowcore.last_update_clock - clock; in do_account_vtime()
120 user = S390_lowcore.user_timer - ti->user_timer; in do_account_vtime()
121 S390_lowcore.steal_timer -= user; in do_account_vtime()
[all …]
Dearly.c57 S390_lowcore.last_update_clock = sched_clock_base_cc; in reset_tod_clock()
169 S390_lowcore.last_update_clock = sched_clock_base_cc; in create_kernel_nss()
170 S390_lowcore.last_update_timer = 0x7fffffffffffffffULL; in create_kernel_nss()
171 S390_lowcore.user_timer = 0; in create_kernel_nss()
172 S390_lowcore.system_timer = 0; in create_kernel_nss()
173 asm volatile("SPT 0(%0)" : : "a" (&S390_lowcore.last_update_timer)); in create_kernel_nss()
220 S390_lowcore.machine_flags |= MACHINE_FLAG_LPAR; in detect_machine_type()
229 S390_lowcore.machine_flags |= MACHINE_FLAG_KVM; in detect_machine_type()
231 S390_lowcore.machine_flags |= MACHINE_FLAG_VM; in detect_machine_type()
240 S390_lowcore.machine_flags |= MACHINE_FLAG_TOPOLOGY; in setup_topology()
[all …]
Dnmi.c127 fpt_save_area = &S390_lowcore.floating_pt_save_area; in s390_validate_registers()
128 fpt_creg_save_area = &S390_lowcore.fpt_creg_save_area; in s390_validate_registers()
170 cr0.val = S390_lowcore.cregs_save_area[0]; in s390_validate_registers()
178 &S390_lowcore.vector_save_area) : "1"); in s390_validate_registers()
179 __ctl_load(S390_lowcore.cregs_save_area[0], 0, 0); in s390_validate_registers()
184 : : "a" (&S390_lowcore.access_regs_save_area)); in s390_validate_registers()
202 : : "a" (&S390_lowcore.cregs_save_area)); in s390_validate_registers()
221 : : "a" (&S390_lowcore.tod_progreg_save_area) in s390_validate_registers()
224 set_clock_comparator(S390_lowcore.clock_comparator); in s390_validate_registers()
262 mci.val = S390_lowcore.mcck_interruption_code; in s390_do_machine_check()
[all …]
Dsuspend.c202 S390_lowcore.external_new_psw.mask &= ~PSW_MASK_MCHECK; in save_processor_state()
203 S390_lowcore.svc_new_psw.mask &= ~PSW_MASK_MCHECK; in save_processor_state()
204 S390_lowcore.io_new_psw.mask &= ~PSW_MASK_MCHECK; in save_processor_state()
205 S390_lowcore.program_new_psw.mask &= ~PSW_MASK_MCHECK; in save_processor_state()
210 S390_lowcore.external_new_psw.mask |= PSW_MASK_MCHECK; in restore_processor_state()
211 S390_lowcore.svc_new_psw.mask |= PSW_MASK_MCHECK; in restore_processor_state()
212 S390_lowcore.io_new_psw.mask |= PSW_MASK_MCHECK; in restore_processor_state()
213 S390_lowcore.program_new_psw.mask |= PSW_MASK_MCHECK; in restore_processor_state()
Dsclp.c23 psw_ext_save = S390_lowcore.external_new_psw; in _sclp_wait_int()
25 S390_lowcore.external_new_psw.mask = psw_mask; in _sclp_wait_int()
27 S390_lowcore.ext_int_code = 0; in _sclp_wait_int()
38 [psw_ext_addr] "=Q" (S390_lowcore.external_new_psw.addr) in _sclp_wait_int()
41 } while (S390_lowcore.ext_int_code != EXT_IRQ_SERVICE_SIG); in _sclp_wait_int()
44 S390_lowcore.external_new_psw = psw_ext_save; in _sclp_wait_int()
Dstacktrace.c70 S390_lowcore.panic_stack - PAGE_SIZE, in save_stack_trace()
71 S390_lowcore.panic_stack, 1); in save_stack_trace()
75 S390_lowcore.async_stack - ASYNC_SIZE, in save_stack_trace()
76 S390_lowcore.async_stack, 1); in save_stack_trace()
80 S390_lowcore.thread_info, in save_stack_trace()
81 S390_lowcore.thread_info + THREAD_SIZE, 1); in save_stack_trace()
Dsetup.c333 lc->machine_flags = S390_lowcore.machine_flags; in setup_lowcore()
334 lc->stfl_fac_list = S390_lowcore.stfl_fac_list; in setup_lowcore()
335 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, in setup_lowcore()
341 lc->sync_enter_timer = S390_lowcore.sync_enter_timer; in setup_lowcore()
342 lc->async_enter_timer = S390_lowcore.async_enter_timer; in setup_lowcore()
343 lc->exit_timer = S390_lowcore.exit_timer; in setup_lowcore()
344 lc->user_timer = S390_lowcore.user_timer; in setup_lowcore()
345 lc->system_timer = S390_lowcore.system_timer; in setup_lowcore()
346 lc->steal_timer = S390_lowcore.steal_timer; in setup_lowcore()
347 lc->last_update_timer = S390_lowcore.last_update_timer; in setup_lowcore()
[all …]
Ddumpstack.c80 S390_lowcore.panic_stack + frame_size - 4096, in show_trace()
81 S390_lowcore.panic_stack + frame_size); in show_trace()
84 S390_lowcore.async_stack + frame_size - ASYNC_SIZE, in show_trace()
85 S390_lowcore.async_stack + frame_size); in show_trace()
90 __show_trace(sp, S390_lowcore.thread_info, in show_trace()
91 S390_lowcore.thread_info + THREAD_SIZE); in show_trace()
Dsmp.c197 memcpy(lc, &S390_lowcore, 512); in pcpu_alloc_lowcore()
247 lc->kernel_asce = S390_lowcore.kernel_asce; in pcpu_prepare_secondary()
248 lc->machine_flags = S390_lowcore.machine_flags; in pcpu_prepare_secondary()
252 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, in pcpu_prepare_secondary()
787 S390_lowcore.last_update_clock = get_tod_clock(); in smp_start_secondary()
788 S390_lowcore.restart_stack = (unsigned long) restart_stack; in smp_start_secondary()
789 S390_lowcore.restart_fn = (unsigned long) do_restart; in smp_start_secondary()
790 S390_lowcore.restart_data = 0; in smp_start_secondary()
791 S390_lowcore.restart_source = -1UL; in smp_start_secondary()
792 restore_access_regs(S390_lowcore.access_regs_save_area); in smp_start_secondary()
[all …]
Dperf_event.c278 head = __store_trace(entry, head, S390_lowcore.async_stack - ASYNC_SIZE, in perf_callchain_kernel()
279 S390_lowcore.async_stack); in perf_callchain_kernel()
281 __store_trace(entry, head, S390_lowcore.thread_info, in perf_callchain_kernel()
282 S390_lowcore.thread_info + THREAD_SIZE); in perf_callchain_kernel()
Dmachine_kexec.c56 unsigned long sa = S390_lowcore.prefixreg_save_area + SAVE_AREA_BASE; in setup_regs()
61 lc = (struct _lowcore *)(unsigned long)S390_lowcore.prefixreg_save_area; in setup_regs()
Dos_info.c64 mem_assign_absolute(S390_lowcore.os_info, (unsigned long) ptr); in os_info_init()
125 if (copy_from_oldmem(&addr, &S390_lowcore.os_info, sizeof(addr))) in os_info_old_init()
Dirq.c107 if (S390_lowcore.int_clock >= S390_lowcore.clock_comparator) in do_IRQ()
170 new = S390_lowcore.async_stack; in do_softirq_own_stack()
Dtime.c98 S390_lowcore.clock_comparator = -1ULL; in clock_comparator_work()
109 if (S390_lowcore.clock_comparator == -1ULL) in fixup_clock_comparator()
111 S390_lowcore.clock_comparator += delta; in fixup_clock_comparator()
112 set_clock_comparator(S390_lowcore.clock_comparator); in fixup_clock_comparator()
118 S390_lowcore.clock_comparator = get_tod_clock() + delta; in s390_next_event()
119 set_clock_comparator(S390_lowcore.clock_comparator); in s390_next_event()
132 S390_lowcore.clock_comparator = -1ULL; in init_cpu_timer()
133 set_clock_comparator(S390_lowcore.clock_comparator); in init_cpu_timer()
161 if (S390_lowcore.clock_comparator == -1ULL) in clock_comparator_interrupt()
162 set_clock_comparator(S390_lowcore.clock_comparator); in clock_comparator_interrupt()
Dipl.c1547 mem_assign_absolute(S390_lowcore.ipib, ipib); in dump_reipl_run()
1548 mem_assign_absolute(S390_lowcore.ipib_checksum, csum); in dump_reipl_run()
2005 src = (void *)(unsigned long)S390_lowcore.ipl_parmblock_ptr; in ipl_save_parameters()
2008 S390_lowcore.ipl_parmblock_ptr = IPL_PARMBLOCK_ORIGIN; in ipl_save_parameters()
2052 lc->panic_stack = S390_lowcore.panic_stack; in s390_reset_system()
2064 S390_lowcore.mcck_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; in s390_reset_system()
2065 S390_lowcore.mcck_new_psw.addr = in s390_reset_system()
2069 S390_lowcore.program_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; in s390_reset_system()
2070 S390_lowcore.program_new_psw.addr = in s390_reset_system()
2077 S390_lowcore.subchannel_id = 0; in s390_reset_system()
[all …]
Dvdso.c296 if (vdso_alloc_per_cpu(&S390_lowcore)) in vdso_init()
Dcrash_dump.c432 if (copy_from_oldmem(&addr, &S390_lowcore.vmcore_info, sizeof(addr))) in get_vmcoreinfo_old()
/linux-4.4.14/arch/s390/oprofile/
Dbacktrace.c72 head = __show_trace(&depth, head, S390_lowcore.async_stack - ASYNC_SIZE, in s390_backtrace()
73 S390_lowcore.async_stack); in s390_backtrace()
75 __show_trace(&depth, head, S390_lowcore.thread_info, in s390_backtrace()
76 S390_lowcore.thread_info + THREAD_SIZE); in s390_backtrace()
/linux-4.4.14/arch/s390/mm/
Dinit.c93 S390_lowcore.kernel_asce = init_mm.context.asce; in paging_init()
99 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in paging_init()
100 __ctl_load(S390_lowcore.kernel_asce, 7, 7); in paging_init()
101 __ctl_load(S390_lowcore.kernel_asce, 13, 13); in paging_init()
Dfault.c203 asce = S390_lowcore.kernel_asce; in dump_fault_info()
207 else if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { in dump_fault_info()
208 struct gmap *gmap = (struct gmap *)S390_lowcore.gmap; in dump_fault_info()
214 asce = S390_lowcore.user_asce; in dump_fault_info()
417 (struct gmap *) S390_lowcore.gmap : NULL; in do_exception()
Ddump_pagetables.c217 max_addr = (S390_lowcore.kernel_asce & _REGION_ENTRY_TYPE_MASK) >> 2; in pt_dump_init()
Dpgtable.c230 S390_lowcore.gmap = (unsigned long) gmap; in gmap_enable()
240 S390_lowcore.gmap = 0UL; in gmap_disable()
/linux-4.4.14/arch/s390/lib/
Ddelay.c49 set_clock_comparator(S390_lowcore.clock_comparator); in __udelay_disabled()
60 if (end < S390_lowcore.clock_comparator) { in __udelay_enabled()
/linux-4.4.14/arch/s390/boot/compressed/
Dmisc.c134 src = (void *)(unsigned long) S390_lowcore.ipl_parmblock_ptr; in check_ipl_parmblock()
139 S390_lowcore.ipl_parmblock_ptr = IPL_PARMBLOCK_ORIGIN; in check_ipl_parmblock()
/linux-4.4.14/drivers/s390/cio/
Dqdio_thinint.c189 last_ai_time = S390_lowcore.int_clock; in tiqdio_thinint_handler()
Dcio.c813 mci.val = S390_lowcore.mcck_interruption_code; in s390_reset_chpids_mcck_handler()
932 schid = *(struct subchannel_id *)&S390_lowcore.subchannel_id; in cio_get_iplinfo()
/linux-4.4.14/drivers/s390/char/
Dsclp_early.c112 S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; in sclp_facilities_detect()
/linux-4.4.14/arch/s390/kvm/
Dkvm-s390.c680 memcpy((unsigned long *)&mach->fac_list, S390_lowcore.stfle_fac_list, in kvm_s390_get_machine()
1130 memcpy(kvm->arch.model.fac->mask, S390_lowcore.stfle_fac_list, in kvm_arch_init_vm()