/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | asm-offsets.c | 70 /* hardware defined lowcore locations 0x000 - 0x1ff */ in main() 71 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main() 72 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main() 73 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main() 74 OFFSET(__LC_SVC_ILC, lowcore, svc_ilc); in main() 75 OFFSET(__LC_SVC_INT_CODE, lowcore, svc_code); in main() 76 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main() 77 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_code); in main() 78 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main() 79 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_nu in main() [all...] |
H A D | vdso.c | 107 int vdso_alloc_per_cpu(struct lowcore *lowcore) in vdso_alloc_per_cpu() argument 122 vd->cpu_nr = lowcore->cpu_nr; in vdso_alloc_per_cpu() 132 lowcore->vdso_asce = segment_table + in vdso_alloc_per_cpu() 134 lowcore->vdso_per_cpu_data = page_frame; in vdso_alloc_per_cpu() 145 void vdso_free_per_cpu(struct lowcore *lowcore) in vdso_free_per_cpu() argument 149 segment_table = lowcore->vdso_asce & PAGE_MASK; in vdso_free_per_cpu()
|
H A D | smp.c | 48 #include <asm/lowcore.h> 75 struct lowcore *lowcore; /* lowcore page(s) for the cpu */ member 193 struct lowcore *lc; in pcpu_alloc_lowcore() 196 pcpu->lowcore = (struct lowcore *) in pcpu_alloc_lowcore() 199 if (!pcpu->lowcore || !nodat_stack) in pcpu_alloc_lowcore() 202 nodat_stack = pcpu->lowcore->nodat_stack - STACK_INIT_OFFSET; in pcpu_alloc_lowcore() 207 lc = pcpu->lowcore; in pcpu_alloc_lowcore() 241 unsigned long async_stack, nodat_stack, lowcore; pcpu_free_lowcore() local [all...] |
H A D | nmi.c | 24 #include <asm/lowcore.h> 67 void __init nmi_alloc_boot_cpu(struct lowcore *lc) in nmi_alloc_boot_cpu() 95 __ctl_clear_bit(0, 28); /* disable lowcore protection */ in nmi_init() 103 int nmi_alloc_per_cpu(struct lowcore *lc) in nmi_alloc_per_cpu() 118 void nmi_free_per_cpu(struct lowcore *lc) in nmi_free_per_cpu()
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | asm-offsets.c | 74 /* hardware defined lowcore locations 0x000 - 0x1ff */ in main() 75 OFFSET(__LC_EXT_PARAMS, lowcore, ext_params); in main() 76 OFFSET(__LC_EXT_CPU_ADDR, lowcore, ext_cpu_addr); in main() 77 OFFSET(__LC_EXT_INT_CODE, lowcore, ext_int_code); in main() 78 OFFSET(__LC_PGM_ILC, lowcore, pgm_ilc); in main() 79 OFFSET(__LC_PGM_INT_CODE, lowcore, pgm_code); in main() 80 OFFSET(__LC_DATA_EXC_CODE, lowcore, data_exc_code); in main() 81 OFFSET(__LC_MON_CLASS_NR, lowcore, mon_class_num); in main() 82 OFFSET(__LC_PER_CODE, lowcore, per_code); in main() 83 OFFSET(__LC_PER_ATMID, lowcore, per_atmi in main() [all...] |
H A D | abs_lowcore.c | 8 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc) in abs_lowcore_map() 10 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_map() 39 unsigned long addr = __abs_lowcore + (cpu * sizeof(struct lowcore)); in abs_lowcore_unmap()
|
H A D | smp.c | 196 struct lowcore *lc; in pcpu_alloc_lowcore() 198 lc = (struct lowcore *) __get_free_pages(GFP_KERNEL | GFP_DMA, LC_ORDER); in pcpu_alloc_lowcore() 236 struct lowcore *lc; in pcpu_free_lowcore() 256 struct lowcore *lc, *abs_lc; in pcpu_prepare_secondary() 282 struct lowcore *lc; in pcpu_attach_task() 301 struct lowcore *lc; in pcpu_start_fn() 327 struct lowcore *lc, *abs_lc; in pcpu_delegate() 405 struct lowcore *lc = lowcore_ptr[0]; in smp_call_ipl_cpu() 597 struct lowcore *abs_lc; in smp_ctl_set_clear_bit() 622 struct lowcore *l in smp_store_status() [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | abs_lowcore.h | 5 #include <asm/lowcore.h> 7 #define ABS_LOWCORE_MAP_SIZE (NR_CPUS * sizeof(struct lowcore)) 11 int abs_lowcore_map(int cpu, struct lowcore *lc, bool alloc); 14 static inline struct lowcore *get_abs_lowcore(void) in get_abs_lowcore() 19 return ((struct lowcore *)__abs_lowcore) + cpu; in get_abs_lowcore() 22 static inline void put_abs_lowcore(struct lowcore *lc) in put_abs_lowcore()
|
H A D | lowcore.h | 24 struct lowcore { struct 215 #define S390_lowcore (*((struct lowcore *) 0)) 217 extern struct lowcore *lowcore_ptr[];
|
H A D | current.h | 13 #include <asm/lowcore.h>
|
H A D | softirq_stack.h | 5 #include <asm/lowcore.h>
|
H A D | hardirq.h | 14 #include <asm/lowcore.h>
|
H A D | smp.h | 11 #include <asm/lowcore.h>
|
H A D | pai.h | 12 #include <asm/lowcore.h>
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | vdso.h | 39 int vdso_alloc_per_cpu(struct lowcore *lowcore); 40 void vdso_free_per_cpu(struct lowcore *lowcore);
|
H A D | nmi.h | 97 void nmi_alloc_boot_cpu(struct lowcore *lc); 98 int nmi_alloc_per_cpu(struct lowcore *lc); 99 void nmi_free_per_cpu(struct lowcore *lc);
|
H A D | facility.h | 14 #include <asm/lowcore.h> 16 #define MAX_FACILITY_BIT (sizeof(((struct lowcore *)0)->stfle_fac_list) * 8)
|
H A D | lowcore.h | 20 struct lowcore { struct 193 #define S390_lowcore (*((struct lowcore *) 0)) 195 extern struct lowcore *lowcore_ptr[];
|
H A D | current.h | 13 #include <asm/lowcore.h>
|
H A D | hardirq.h | 14 #include <asm/lowcore.h>
|
H A D | smp.h | 12 #include <asm/lowcore.h>
|
H A D | thread_info.h | 25 #include <asm/lowcore.h>
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
H A D | maccess.c | 156 __ctl_clear_bit(0, 28); /* disable lowcore protection */ in memcpy_absolute() 205 if (addr < sizeof(struct lowcore)) in is_swapped() 209 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc) in is_swapped()
|