Home
last modified time | relevance | path

Searched refs:lowcore (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.15/arch/s390/kernel/
H A Dasm-offsets.c78 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main()
79 OFFSET(__LC_PGM_CODE, lowcore, pgm_code); in main()
83 OFFSET(__LC_PER_CODE, lowcore, per_code); in main()
84 OFFSET(__LC_PER_ATMID, lowcore, per_atmid); in main()
115 OFFSET(__LC_SAVE_AREA, lowcore, save_area); in main()
117 OFFSET(__LC_PCPU, lowcore, pcpu); in main()
138 OFFSET(__LC_LPP, lowcore, lpp); in main()
142 OFFSET(__LC_DUMP_REIPL, lowcore, ipib); in main()
144 OFFSET(__LC_OS_INFO, lowcore, os_info); in main()
146 OFFSET(__LC_MCESAD, lowcore, mcesad); in main()
[all …]
H A Dentry.S51 .macro MBEAR reg, lowcore argument
56 .macro CHECK_VMAP_STACK savearea, lowcore, oklabel
60 clg %r14,__LC_KERNEL_STACK(\lowcore)
62 clg %r14,__LC_ASYNC_STACK(\lowcore)
64 clg %r14,__LC_MCCK_STACK(\lowcore)
66 clg %r14,__LC_NODAT_STACK(\lowcore)
68 clg %r14,__LC_RESTART_STACK(\lowcore)
70 la %r14,\savearea(\lowcore)
116 .macro SIEEXIT sie_control,lowcore argument
119 lctlg %c1,%c1,__LC_KERNEL_ASCE(\lowcore) # load primary asce
[all …]
H A Dabs_lowcore.c9 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 Dctlreg.c36 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 Dvtime.c38 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 Dsmp.c190 struct lowcore *lc; in pcpu_alloc_lowcore()
230 struct lowcore *lc; in pcpu_free_lowcore()
248 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary()
274 struct lowcore *lc; in pcpu_attach_task()
291 struct lowcore *lc; in pcpu_start_fn()
315 struct lowcore *lc, *abs_lc; in pcpu_delegate()
378 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu()
548 struct lowcore *lc; in smp_store_status()
826 struct lowcore *lc = get_lowcore(); in smp_start_secondary()
964 struct lowcore *lc = get_lowcore(); in smp_prepare_boot_cpu()
[all …]
H A Dearly.c152 struct lowcore *lc = get_lowcore(); in __do_early_pgm_check()
180 struct lowcore *lc = get_lowcore(); in setup_lowcore_early()
H A Dvmcore_info.c11 struct lowcore *abs_lc; in arch_crash_save_vmcoreinfo()
H A Dnmi.c121 struct lowcore *lc = get_lowcore(); in s390_handle_damage()
306 struct lowcore *lc = get_lowcore(); in s390_do_machine_check()
H A Dsetup.c181 struct lowcore *lowcore_ptr[NR_CPUS];
390 struct lowcore *lc, *abs_lc; in setup_lowcore()
395 BUILD_BUG_ON(sizeof(struct lowcore) != LC_PAGES * PAGE_SIZE); in setup_lowcore()
728 void *lowcore_end = lowcore_start + sizeof(struct lowcore); in reserve_lowcore()
H A Didle.c27 struct lowcore *lc = get_lowcore(); in account_idle_time_irq()
H A Dtraps.c272 struct lowcore *lc = get_lowcore(); in trap_init()
292 struct lowcore *lc = get_lowcore(); in __do_pgm_check()
H A Dos_info.c75 struct lowcore *abs_lc; in os_info_init()
H A Dtext_amode31.S109 lg %r2,0(%r4) # Disable lowcore protection
/linux-6.15/arch/s390/include/asm/
H A Dabs_lowcore.h8 #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 Dsmp.h20 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 Dspinlock.h24 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 Dvtime.h7 struct lowcore *lc = get_lowcore(); in update_timer_sys()
16 struct lowcore *lc = get_lowcore(); in update_timer_mcck()
H A Dlowcore.h31 struct lowcore { struct
218 static __always_inline struct lowcore *get_lowcore(void) in get_lowcore() argument
220 struct lowcore *lc; in get_lowcore()
233 extern struct lowcore *lowcore_ptr[];
H A Dcurrent.h22 lc_current = offsetof(struct lowcore, current_task); in get_current()
H A Dctlreg.h166 struct lowcore;
170 void system_ctlreg_init_save_area(struct lowcore *lc);
/linux-6.15/arch/s390/mm/
H A Dmaccess.c138 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 Ddump_pagetables.c285 unsigned long lowcore = (unsigned long)get_lowcore(); in pt_dump_init() local
298 rc |= add_marker(lowcore, lowcore + sizeof(struct lowcore), "Lowcore"); in pt_dump_init()
/linux-6.15/tools/testing/selftests/kvm/s390/
H A Ddebug_test.c25 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-6.15/arch/s390/boot/
H A Dboot.h112 #define __lowcore_pa(x) ((unsigned long)(x) % sizeof(struct lowcore))
113 #define __abs_lowcore_pa(x) (((unsigned long)(x) - __abs_lowcore) % sizeof(struct lowcore))

12