/linux/arch/s390/kernel/ |
H A D | asm-offsets.c | 76 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main() 77 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main() 78 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main() 79 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main() 80 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_code); in main() 81 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main() 82 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num); in main() 83 OFFSET(__LC_PER_CODE, lowcore, per_code); in main() 84 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main() 85 OFFSET(__LC_PER_ADDRESS, lowcore, per_address); in main() [all …]
|
H A D | entry.S | 50 .macro MBEAR reg, lowcore argument 51 ALTERNATIVE "brcl 0,0", __stringify(mvc __PT_LAST_BREAK(8,\reg),__LC_LAST_BREAK(\lowcore)),\ 55 .macro CHECK_STACK savearea, lowcore argument 58 la %r14,\savearea(\lowcore) 63 .macro CHECK_VMAP_STACK savearea, lowcore, oklabel 68 clg %r14,__LC_KERNEL_STACK(\lowcore) 70 clg %r14,__LC_ASYNC_STACK(\lowcore) 72 clg %r14,__LC_MCCK_STACK(\lowcore) 74 clg %r14,__LC_NODAT_STACK(\lowcore) 76 clg %r14,__LC_RESTART_STACK(\lowcore) [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 | 36 void __init system_ctlreg_init_save_area(struct lowcore *lc) in system_ctlreg_init_save_area() 38 struct lowcore *abs_lc; in system_ctlreg_init_save_area() 90 struct lowcore *abs_lc; in system_ctlreg_modify()
|
H A D | vtime.c | 38 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()
|
H A D | smp.c | 195 struct lowcore *lc; in pcpu_alloc_lowcore() 197 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore() 235 struct lowcore *lc; in pcpu_free_lowcore() 253 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary() 280 struct lowcore *lc; in pcpu_attach_task() 297 struct lowcore *lc; in pcpu_start_fn() 321 struct lowcore *lc, *abs_lc; in pcpu_delegate() 384 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu() 554 struct lowcore *lc; in smp_store_status() 838 struct lowcore *lc = get_lowcore(); in smp_start_secondary() [all …]
|
H A D | vmcore_info.c | 10 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
|
H A D | early.c | 181 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check() 209 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
|
H A D | nmi.c | 120 struct lowcore *lc = get_lowcore(); in s390_handle_damage() 305 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
|
H A D | setup.c | 174 struct lowcore *lowcore_ptr[NR_CPUS]; 397 struct lowcore *lc, *abs_lc; in setup_lowcore() 402 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore() 742 void *lowcore_end = lowcore_start + sizeof(struct lowcore); in reserve_lowcore()
|
H A D | traps.c | 297 struct lowcore *lc = get_lowcore(); in trap_init() 317 struct lowcore *lc = get_lowcore(); in __do_pgm_check()
|
H A D | idle.c | 27 struct lowcore *lc = get_lowcore(); in account_idle_time_irq()
|
H A D | os_info.c | 74 struct lowcore *abs_lc; in os_info_init()
|
H A D | text_amode31.S | 110 lg %r2,0(%r4) # Disable lowcore protection
|
/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 | lowcore.h | 30 struct lowcore { struct 220 static __always_inline struct lowcore *get_lowcore(void) in get_lowcore() argument 222 struct lowcore *lc; in get_lowcore() 232 extern struct lowcore *lowcore_ptr[];
|
H A D | vtime.h | 7 struct lowcore *lc = get_lowcore(); in update_timer_sys() 16 struct lowcore *lc = get_lowcore(); in update_timer_mcck()
|
H A D | ctlreg.h | 166 struct lowcore; 170 void system_ctlreg_init_save_area(struct lowcore *lc);
|
/linux/arch/s390/mm/ |
H A D | maccess.c | 137 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in get_swapped_owner() 154 struct lowcore *abs_lc; in xlate_dev_mem_ptr() 160 if (addr >= sizeof(struct lowcore)) { in xlate_dev_mem_ptr() 169 if (addr < sizeof(struct lowcore)) { in xlate_dev_mem_ptr()
|
H A D | dump_pagetables.c | 283 unsigned long lowcore = (unsigned long)get_lowcore(); in pt_dump_init() local 296 rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore"); in pt_dump_init()
|
/linux/tools/testing/selftests/kvm/s390x/ |
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 | 97 #define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore)) 98 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))
|
H A D | startup.c | 221 #define FIXMAP_SIZE round_up(MEMCPY_REAL_SIZE + ABS_LOWCORE_MAP_SIZE, sizeof(struct lowcore)) 321 sizeof(struct lowcore)); in setup_kernel_memory_layout()
|
H A D | vmem.c | 471 lowcore_address + sizeof(struct lowcore), in setup_vmem() 490 pgtable_populate(__abs_lowcore, __abs_lowcore + sizeof(struct lowcore), in setup_vmem()
|
/linux/arch/s390/include/uapi/asm/ |
H A D | ptrace.h | 378 } lowcore; member
|