Home
last modified time | relevance | path

Searched refs:lowcore (Results 1 - 25 of 84) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dasm-offsets.c70 /* 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 Dvdso.c107 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 Dsmp.c48 #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 Dnmi.c24 #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 Dasm-offsets.c74 /* 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 Dabs_lowcore.c8 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 Dsmp.c196 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 Dabs_lowcore.h5 #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 Dlowcore.h24 struct lowcore { struct
215 #define S390_lowcore (*((struct lowcore *) 0))
217 extern struct lowcore *lowcore_ptr[];
H A Dcurrent.h13 #include <asm/lowcore.h>
H A Dsoftirq_stack.h5 #include <asm/lowcore.h>
H A Dhardirq.h14 #include <asm/lowcore.h>
H A Dsmp.h11 #include <asm/lowcore.h>
H A Dpai.h12 #include <asm/lowcore.h>
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dvdso.h39 int vdso_alloc_per_cpu(struct lowcore *lowcore);
40 void vdso_free_per_cpu(struct lowcore *lowcore);
H A Dnmi.h97 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 Dfacility.h14 #include <asm/lowcore.h>
16 #define MAX_FACILITY_BIT (sizeof(((struct lowcore *)0)->stfle_fac_list) * 8)
H A Dlowcore.h20 struct lowcore { struct
193 #define S390_lowcore (*((struct lowcore *) 0))
195 extern struct lowcore *lowcore_ptr[];
H A Dcurrent.h13 #include <asm/lowcore.h>
H A Dhardirq.h14 #include <asm/lowcore.h>
H A Dsmp.h12 #include <asm/lowcore.h>
H A Dthread_info.h25 #include <asm/lowcore.h>
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dmaccess.c137 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 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()
/kernel/linux/linux-5.10/arch/s390/mm/
H A Dmaccess.c156 __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()

Completed in 9 milliseconds

1234