/linux-4.4.14/arch/s390/include/asm/ |
D | setup.h | 58 #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 …]
|
D | mmu_context.h | 61 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()
|
D | timex.h | 59 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()
|
D | facility.h | 33 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()
|
D | processor.h | 42 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()
|
D | current.h | 16 #define current ((struct task_struct *const)S390_lowcore.current_task)
|
D | hardirq.h | 15 #define local_softirq_pending() (S390_lowcore.softirq_pending)
|
D | uaccess.h | 45 S390_lowcore.user_asce : S390_lowcore.kernel_asce; \
|
D | smp.h | 16 #define raw_smp_processor_id() (S390_lowcore.cpu_nr)
|
D | thread_info.h | 61 return (struct thread_info *) S390_lowcore.thread_info; in current_thread_info()
|
D | spinlock.h | 14 #define SPINLOCK_LOCKVAL (S390_lowcore.spinlock_lockval)
|
D | lowcore.h | 207 #define S390_lowcore (*((struct _lowcore *) 0)) macro
|
D | percpu.h | 11 #define __my_cpu_offset S390_lowcore.percpu_offset
|
/linux-4.4.14/arch/s390/kernel/ |
D | vtime.c | 49 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 …]
|
D | early.c | 57 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 …]
|
D | nmi.c | 127 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 …]
|
D | suspend.c | 202 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()
|
D | sclp.c | 23 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()
|
D | stacktrace.c | 70 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()
|
D | setup.c | 333 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 …]
|
D | dumpstack.c | 80 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()
|
D | smp.c | 197 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 …]
|
D | perf_event.c | 278 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()
|
D | machine_kexec.c | 56 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()
|
D | os_info.c | 64 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()
|
D | irq.c | 107 if (S390_lowcore.int_clock >= S390_lowcore.clock_comparator) in do_IRQ() 170 new = S390_lowcore.async_stack; in do_softirq_own_stack()
|
D | time.c | 98 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()
|
D | ipl.c | 1547 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 …]
|
D | vdso.c | 296 if (vdso_alloc_per_cpu(&S390_lowcore)) in vdso_init()
|
D | crash_dump.c | 432 if (copy_from_oldmem(&addr, &S390_lowcore.vmcore_info, sizeof(addr))) in get_vmcoreinfo_old()
|
/linux-4.4.14/arch/s390/oprofile/ |
D | backtrace.c | 72 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/ |
D | init.c | 93 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()
|
D | fault.c | 203 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()
|
D | dump_pagetables.c | 217 max_addr = (S390_lowcore.kernel_asce & _REGION_ENTRY_TYPE_MASK) >> 2; in pt_dump_init()
|
D | pgtable.c | 230 S390_lowcore.gmap = (unsigned long) gmap; in gmap_enable() 240 S390_lowcore.gmap = 0UL; in gmap_disable()
|
/linux-4.4.14/arch/s390/lib/ |
D | delay.c | 49 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/ |
D | misc.c | 134 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/ |
D | qdio_thinint.c | 189 last_ai_time = S390_lowcore.int_clock; in tiqdio_thinint_handler()
|
D | cio.c | 813 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/ |
D | sclp_early.c | 112 S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; in sclp_facilities_detect()
|
/linux-4.4.14/arch/s390/kvm/ |
D | kvm-s390.c | 680 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()
|