| /linux/arch/s390/kernel/ |
| H A D | asm-offsets.c | 79 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main() 80 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main() 81 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main() 82 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main() 83 OFFSET(__LC_PGM_CODE, lowcore, pgm_code); in main() 84 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_int_code); in main() 85 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main() 86 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num); in main() 87 OFFSET(__LC_PER_CODE, lowcore, per_code); in main() 88 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main() [all …]
|
| H A D | entry.S | 52 .macro MBEAR reg, lowcore argument 53 ALTERNATIVE "brcl 0,0", __stringify(mvc __PT_LAST_BREAK(8,\reg),__LC_LAST_BREAK(\lowcore)),\ 57 .macro CHECK_VMAP_STACK savearea, lowcore, oklabel 61 clg %r14,__LC_KERNEL_STACK(\lowcore) 63 clg %r14,__LC_ASYNC_STACK(\lowcore) 65 clg %r14,__LC_MCCK_STACK(\lowcore) 67 clg %r14,__LC_NODAT_STACK(\lowcore) 69 clg %r14,__LC_RESTART_STACK(\lowcore) 71 la %r14,\savearea(\lowcore) 117 .macro SIEEXIT sie_control,lowcore argument [all …]
|
| H A D | abs_lowcore.c | 9 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) in abs_lowcore_map() 11 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_map() 40 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_unmap()
|
| H A D | ctlreg.c | 37 void __init system_ctlreg_init_save_area(struct lowcore *lc) in system_ctlreg_init_save_area() 39 struct lowcore *abs_lc; in system_ctlreg_init_save_area() 91 struct lowcore *abs_lc; in system_ctlreg_modify()
|
| H A D | vtime.c | 38 struct lowcore *lc = get_lowcore(); in set_vtimer() 120 struct lowcore *lc = get_lowcore(); in do_account_vtime() 173 struct lowcore *lc = get_lowcore(); in vtime_task_switch() 195 struct lowcore *lc = get_lowcore(); in vtime_flush() 213 struct lowcore *lc = get_lowcore(); in vtime_delta() 222 struct lowcore *lc = get_lowcore(); in vtime_account_kernel()
|
| H A D | smp.c | 186 struct lowcore *lc; in pcpu_alloc_lowcore() 188 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore() 226 struct lowcore *lc; in pcpu_free_lowcore() 244 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary() 270 struct lowcore *lc; in pcpu_attach_task() 290 struct lowcore *lc; in pcpu_start_fn() 314 struct lowcore *lc, *abs_lc; in pcpu_delegate() 377 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu() 547 struct lowcore *lc; in smp_store_status() 826 struct lowcore *lc = get_lowcore(); in smp_start_secondary() [all …]
|
| H A D | early.c | 155 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check() 184 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
|
| H A D | nmi.c | 121 struct lowcore *lc = get_lowcore(); in nmi_print_info() 189 struct lowcore *lc = get_lowcore(); in s390_handle_damage() 369 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
|
| H A D | vmcore_info.c | 11 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
|
| H A D | setup.c | 179 struct lowcore *lowcore_ptr[NR_CPUS]; 388 struct lowcore *lc, *abs_lc; in setup_lowcore() 393 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore() 731 void *lowcore_end = lowcore_start + sizeof(struct lowcore); in reserve_lowcore()
|
| H A D | traps.c | 311 struct lowcore *lc = get_lowcore(); in trap_init() 331 struct lowcore *lc = get_lowcore(); in __do_pgm_check()
|
| /linux/arch/s390/include/asm/ |
| H A D | abs_lowcore.h | 8 #define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore)) 12 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc); 15 static inline struct lowcore *get_abs_lowcore(void) in get_abs_lowcore() 20 return ((struct lowcore *)__abs_lowcore) + cpu; in get_abs_lowcore() 23 static inline void put_abs_lowcore(struct lowcore *lc) in put_abs_lowcore()
|
| H A D | preempt.h | 31 BUILD_BUG_ON(sizeof_field(struct lowcore, preempt_count) != sizeof(int)); in preempt_count() 32 lc_preempt = offsetof(struct lowcore, preempt_count); in preempt_count() 41 "m" (((struct lowcore *)0)->preempt_count)); in preempt_count() 89 lc_preempt = offsetof(struct lowcore, preempt_count); in __preempt_count_add() 94 : "+m" (((struct lowcore *)0)->preempt_count) in __preempt_count_add() 120 lc_preempt = offsetof(struct lowcore, preempt_count); in __preempt_count_dec_and_test() 125 : "=@cc" (cc), "+m" (((struct lowcore *)0)->preempt_count) in __preempt_count_dec_and_test()
|
| H A D | vtime.h | 13 struct lowcore *lc = get_lowcore(); in update_timer_sys() 22 struct lowcore *lc = get_lowcore(); in update_timer_mcck() 32 struct lowcore *lc = get_lowcore(); in update_timer_idle()
|
| H A D | smp.h | 20 BUILD_BUG_ON(sizeof_field(struct lowcore, cpu_nr) != sizeof(cpu)); in raw_smp_processor_id() 21 lc_cpu_nr = offsetof(struct lowcore, cpu_nr); in raw_smp_processor_id() 29 "m" (((struct lowcore *)0)->cpu_nr)); in raw_smp_processor_id()
|
| H A D | lowcore.h | 31 struct lowcore { struct 219 static __always_inline struct lowcore *get_lowcore(void) in get_lowcore() argument 221 struct lowcore *lc; in get_lowcore() 234 extern struct lowcore *lowcore_ptr[];
|
| H A D | spinlock.h | 24 BUILD_BUG_ON(sizeof_field(struct lowcore, spinlock_lockval) != sizeof(lockval)); in spinlock_lockval() 25 lc_lockval = offsetof(struct lowcore, spinlock_lockval); in spinlock_lockval() 33 "m" (((struct lowcore *)0)->spinlock_lockval)); in spinlock_lockval()
|
| H A D | ctlreg.h | 166 struct lowcore; 170 void system_ctlreg_init_save_area(struct lowcore *lc);
|
| H A D | current.h | 22 lc_current = offsetof(struct lowcore, current_task); in get_current()
|
| /linux/arch/s390/mm/ |
| H A D | maccess.c | 138 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in get_swapped_owner() 155 struct lowcore *abs_lc; in xlate_dev_mem_ptr() 161 if (addr >= sizeof(struct lowcore)) { in xlate_dev_mem_ptr() 170 if (addr < sizeof(struct lowcore)) { in xlate_dev_mem_ptr()
|
| H A D | dump_pagetables.c | 320 unsigned long lowcore = (unsigned long)get_lowcore(); in pt_dump_init() local 333 rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore"); in pt_dump_init()
|
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | debug_test.c | 25 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()
|
| /linux/arch/s390/boot/ |
| H A D | boot.h | 125 #define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore)) 126 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
|
| H A D | vmem.c | 517 lowcore_address + sizeof(struct lowcore), in setup_vmem() 522 start = sizeof(struct lowcore); in setup_vmem() 539 pgtable_populate(__abs_lowcore, __abs_lowcore + sizeof(struct lowcore), in setup_vmem()
|
| /linux/arch/s390/include/uapi/asm/ |
| H A D | ptrace.h | 255 } lowcore; member
|