/linux-4.1.27/arch/s390/include/asm/ |
D | setup.h | 54 #define MACHINE_IS_VM (S390_lowcore.machine_flags & MACHINE_FLAG_VM) 55 #define MACHINE_IS_KVM (S390_lowcore.machine_flags & MACHINE_FLAG_KVM) 56 #define MACHINE_IS_LPAR (S390_lowcore.machine_flags & MACHINE_FLAG_LPAR) 58 #define MACHINE_HAS_DIAG9C (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG9C) 59 #define MACHINE_HAS_ESOP (S390_lowcore.machine_flags & MACHINE_FLAG_ESOP) 63 #define MACHINE_HAS_IDTE (S390_lowcore.machine_flags & MACHINE_FLAG_IDTE) 64 #define MACHINE_HAS_DIAG44 (S390_lowcore.machine_flags & MACHINE_FLAG_DIAG44) 65 #define MACHINE_HAS_EDAT1 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT1) 66 #define MACHINE_HAS_EDAT2 (S390_lowcore.machine_flags & MACHINE_FLAG_EDAT2) 67 #define MACHINE_HAS_LPP (S390_lowcore.machine_flags & MACHINE_FLAG_LPP) [all …]
|
D | mmu_context.h | 45 S390_lowcore.user_asce = mm->context.asce_bits | __pa(mm->pgd); in set_user_asce() 47 __ctl_load(S390_lowcore.user_asce, 7, 7); in set_user_asce() 53 S390_lowcore.user_asce = S390_lowcore.kernel_asce; in clear_user_asce() 55 __ctl_load(S390_lowcore.user_asce, 1, 1); in clear_user_asce() 56 __ctl_load(S390_lowcore.user_asce, 7, 7); in clear_user_asce() 64 if (asce != S390_lowcore.kernel_asce) in load_kernel_asce() 65 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in load_kernel_asce() 74 S390_lowcore.user_asce = next->context.asce_bits | __pa(next->pgd); in switch_mm() 80 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in switch_mm() 81 __ctl_load(S390_lowcore.kernel_asce, 7, 7); in switch_mm()
|
D | timex.h | 58 old = S390_lowcore.clock_comparator; in local_tick_disable() 59 S390_lowcore.clock_comparator = -1ULL; in local_tick_disable() 60 set_clock_comparator(S390_lowcore.clock_comparator); in local_tick_disable() 66 S390_lowcore.clock_comparator = comp; in local_tick_enable() 67 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 | 34 S390_lowcore.cpu_flags |= (1U << flag); in set_cpu_flag() 39 S390_lowcore.cpu_flags &= ~(1U << flag); in clear_cpu_flag() 44 return !!(S390_lowcore.cpu_flags & (1U << 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 | 59 return (struct thread_info *) S390_lowcore.thread_info; in current_thread_info()
|
D | lowcore.h | 200 #define S390_lowcore (*((struct _lowcore *) 0)) macro
|
D | spinlock.h | 14 #define SPINLOCK_LOCKVAL (S390_lowcore.spinlock_lockval)
|
D | percpu.h | 11 #define __my_cpu_offset S390_lowcore.percpu_offset
|
/linux-4.1.27/arch/s390/kernel/ |
D | vtime.c | 48 S390_lowcore.system_timer += S390_lowcore.last_update_timer - timer; in set_vtimer() 49 S390_lowcore.last_update_timer = expires; in set_vtimer() 73 timer = S390_lowcore.last_update_timer; in do_account_vtime() 74 clock = S390_lowcore.last_update_clock; in do_account_vtime() 82 : "=m" (S390_lowcore.last_update_timer), in do_account_vtime() 83 "=m" (S390_lowcore.last_update_clock)); in do_account_vtime() 84 S390_lowcore.system_timer += timer - S390_lowcore.last_update_timer; in do_account_vtime() 85 S390_lowcore.steal_timer += S390_lowcore.last_update_clock - clock; in do_account_vtime() 110 user = S390_lowcore.user_timer - ti->user_timer; in do_account_vtime() 111 S390_lowcore.steal_timer -= user; in do_account_vtime() [all …]
|
D | early.c | 56 S390_lowcore.last_update_clock = sched_clock_base_cc; in reset_tod_clock() 168 S390_lowcore.last_update_clock = sched_clock_base_cc; in create_kernel_nss() 169 S390_lowcore.last_update_timer = 0x7fffffffffffffffULL; in create_kernel_nss() 170 S390_lowcore.user_timer = 0; in create_kernel_nss() 171 S390_lowcore.system_timer = 0; in create_kernel_nss() 172 asm volatile("SPT 0(%0)" : : "a" (&S390_lowcore.last_update_timer)); in create_kernel_nss() 219 S390_lowcore.machine_flags |= MACHINE_FLAG_LPAR; in detect_machine_type() 228 S390_lowcore.machine_flags |= MACHINE_FLAG_KVM; in detect_machine_type() 230 S390_lowcore.machine_flags |= MACHINE_FLAG_VM; in detect_machine_type() 239 S390_lowcore.machine_flags |= MACHINE_FLAG_TOPOLOGY; in setup_topology() [all …]
|
D | nmi.c | 121 fpt_save_area = &S390_lowcore.floating_pt_save_area; in s390_revalidate_registers() 122 fpt_creg_save_area = &S390_lowcore.fpt_creg_save_area; in s390_revalidate_registers() 164 cr0.val = S390_lowcore.cregs_save_area[0]; in s390_revalidate_registers() 168 &S390_lowcore.vector_save_area); in s390_revalidate_registers() 169 __ctl_load(S390_lowcore.cregs_save_area[0], 0, 0); in s390_revalidate_registers() 174 : : "a" (&S390_lowcore.access_regs_save_area)); in s390_revalidate_registers() 192 : : "a" (&S390_lowcore.cregs_save_area)); in s390_revalidate_registers() 211 : : "a" (&S390_lowcore.tod_progreg_save_area) in s390_revalidate_registers() 214 set_clock_comparator(S390_lowcore.clock_comparator); in s390_revalidate_registers() 252 mci = (struct mci *) &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 | 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 | 331 lc->machine_flags = S390_lowcore.machine_flags; in setup_lowcore() 332 lc->stfl_fac_list = S390_lowcore.stfl_fac_list; in setup_lowcore() 333 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, in setup_lowcore() 339 lc->sync_enter_timer = S390_lowcore.sync_enter_timer; in setup_lowcore() 340 lc->async_enter_timer = S390_lowcore.async_enter_timer; in setup_lowcore() 341 lc->exit_timer = S390_lowcore.exit_timer; in setup_lowcore() 342 lc->user_timer = S390_lowcore.user_timer; in setup_lowcore() 343 lc->system_timer = S390_lowcore.system_timer; in setup_lowcore() 344 lc->steal_timer = S390_lowcore.steal_timer; in setup_lowcore() 345 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 | 195 memcpy(lc, &S390_lowcore, 512); in pcpu_alloc_lowcore() 245 lc->kernel_asce = S390_lowcore.kernel_asce; in pcpu_prepare_secondary() 246 lc->machine_flags = S390_lowcore.machine_flags; in pcpu_prepare_secondary() 250 memcpy(lc->stfle_fac_list, S390_lowcore.stfle_fac_list, in pcpu_prepare_secondary() 771 S390_lowcore.last_update_clock = get_tod_clock(); in smp_start_secondary() 772 S390_lowcore.restart_stack = (unsigned long) restart_stack; in smp_start_secondary() 773 S390_lowcore.restart_fn = (unsigned long) do_restart; in smp_start_secondary() 774 S390_lowcore.restart_data = 0; in smp_start_secondary() 775 S390_lowcore.restart_source = -1UL; in smp_start_secondary() 776 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 | 108 if (S390_lowcore.int_clock >= S390_lowcore.clock_comparator) in do_IRQ() 171 new = S390_lowcore.async_stack; in do_softirq_own_stack()
|
D | time.c | 95 S390_lowcore.clock_comparator = -1ULL; in clock_comparator_work() 106 if (S390_lowcore.clock_comparator == -1ULL) in fixup_clock_comparator() 108 S390_lowcore.clock_comparator += delta; in fixup_clock_comparator() 109 set_clock_comparator(S390_lowcore.clock_comparator); in fixup_clock_comparator() 115 S390_lowcore.clock_comparator = get_tod_clock() + delta; in s390_next_event() 116 set_clock_comparator(S390_lowcore.clock_comparator); in s390_next_event() 134 S390_lowcore.clock_comparator = -1ULL; in init_cpu_timer() 135 set_clock_comparator(S390_lowcore.clock_comparator); in init_cpu_timer() 164 if (S390_lowcore.clock_comparator == -1ULL) in clock_comparator_interrupt() 165 set_clock_comparator(S390_lowcore.clock_comparator); in clock_comparator_interrupt()
|
D | ipl.c | 1522 mem_assign_absolute(S390_lowcore.ipib, ipib); in dump_reipl_run() 1523 mem_assign_absolute(S390_lowcore.ipib_checksum, csum); in dump_reipl_run() 1979 src = (void *)(unsigned long)S390_lowcore.ipl_parmblock_ptr; in ipl_save_parameters() 1982 S390_lowcore.ipl_parmblock_ptr = IPL_PARMBLOCK_ORIGIN; in ipl_save_parameters() 2026 lc->panic_stack = S390_lowcore.panic_stack; in s390_reset_system() 2038 S390_lowcore.mcck_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; in s390_reset_system() 2039 S390_lowcore.mcck_new_psw.addr = in s390_reset_system() 2043 S390_lowcore.program_new_psw.mask = PSW_KERNEL_BITS | PSW_MASK_DAT; in s390_reset_system() 2044 S390_lowcore.program_new_psw.addr = in s390_reset_system() 2051 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 | traps.c | 288 S390_lowcore.machine_flags &= ~MACHINE_FLAG_VX; in disable_vector_extension()
|
D | crash_dump.c | 466 if (copy_from_oldmem(&addr, &S390_lowcore.vmcore_info, sizeof(addr))) in get_vmcoreinfo_old()
|
/linux-4.1.27/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.1.27/arch/s390/mm/ |
D | init.c | 115 S390_lowcore.kernel_asce = (__pa(init_mm.pgd) & PAGE_MASK) | asce_bits; in paging_init() 121 __ctl_load(S390_lowcore.kernel_asce, 1, 1); in paging_init() 122 __ctl_load(S390_lowcore.kernel_asce, 7, 7); in paging_init() 123 __ctl_load(S390_lowcore.kernel_asce, 13, 13); in paging_init()
|
D | fault.c | 202 asce = S390_lowcore.kernel_asce; in dump_fault_info() 206 else if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { in dump_fault_info() 207 struct gmap *gmap = (struct gmap *)S390_lowcore.gmap; in dump_fault_info() 213 asce = S390_lowcore.user_asce; in dump_fault_info() 416 (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 | 266 S390_lowcore.gmap = (unsigned long) gmap; in gmap_enable() 276 S390_lowcore.gmap = 0UL; in gmap_disable()
|
/linux-4.1.27/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.1.27/arch/s390/lib/ |
D | delay.c | 61 if (end < S390_lowcore.clock_comparator) { in __udelay_enabled()
|
/linux-4.1.27/drivers/s390/cio/ |
D | qdio_thinint.c | 189 last_ai_time = S390_lowcore.int_clock; in tiqdio_thinint_handler()
|
D | cio.c | 832 mci = (struct mci *)&S390_lowcore.mcck_interruption_code; in s390_reset_chpids_mcck_handler() 950 schid = *(struct subchannel_id *)&S390_lowcore.subchannel_id; in cio_get_iplinfo()
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_early.c | 124 S390_lowcore.machine_flags |= MACHINE_FLAG_ESOP; in sclp_facilities_detect()
|
/linux-4.1.27/arch/s390/kvm/ |
D | kvm-s390.c | 614 memcpy((unsigned long *)&mach->fac_list, S390_lowcore.stfle_fac_list, in kvm_s390_get_machine() 1063 memcpy(kvm->arch.model.fac->mask, S390_lowcore.stfle_fac_list, in kvm_arch_init_vm()
|