File tree Expand file tree Collapse file tree 8 files changed +46
-34
lines changed Expand file tree Collapse file tree 8 files changed +46
-34
lines changed Original file line number Diff line number Diff line change @@ -809,7 +809,8 @@ union hv_synic_sint {
809
809
u64 reserved1 :8 ;
810
810
u64 masked :1 ;
811
811
u64 auto_eoi :1 ;
812
- u64 reserved2 :46 ;
812
+ u64 polling :1 ;
813
+ u64 reserved2 :45 ;
813
814
} __packed ;
814
815
};
815
816
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ obj-$(CONFIG_FUNCTION_TRACER) += ftrace_$(BITS).o
94
94
obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
95
95
obj-$(CONFIG_FTRACE_SYSCALLS) += ftrace.o
96
96
obj-$(CONFIG_X86_TSC) += trace_clock.o
97
+ obj-$(CONFIG_CRASH_CORE) += crash_core_$(BITS ) .o
97
98
obj-$(CONFIG_KEXEC_CORE) += machine_kexec_$(BITS ) .o
98
99
obj-$(CONFIG_KEXEC_CORE) += relocate_kernel_$(BITS ) .o crash.o
99
100
obj-$(CONFIG_KEXEC_FILE) += kexec-bzimage64.o
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: GPL-2.0-only
2
+
3
+ #include <linux/crash_core.h>
4
+
5
+ #include <asm/pgtable.h>
6
+ #include <asm/setup.h>
7
+
8
+ void arch_crash_save_vmcoreinfo (void )
9
+ {
10
+ #ifdef CONFIG_NUMA
11
+ VMCOREINFO_SYMBOL (node_data );
12
+ VMCOREINFO_LENGTH (node_data , MAX_NUMNODES );
13
+ #endif
14
+ #ifdef CONFIG_X86_PAE
15
+ VMCOREINFO_CONFIG (X86_PAE );
16
+ #endif
17
+ }
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: GPL-2.0-only
2
+
3
+ #include <linux/crash_core.h>
4
+
5
+ #include <asm/pgtable.h>
6
+ #include <asm/setup.h>
7
+
8
+ void arch_crash_save_vmcoreinfo (void )
9
+ {
10
+ u64 sme_mask = sme_me_mask ;
11
+
12
+ VMCOREINFO_NUMBER (phys_base );
13
+ VMCOREINFO_SYMBOL (init_top_pgt );
14
+ vmcoreinfo_append_str ("NUMBER(pgtable_l5_enabled)=%d\n" ,
15
+ pgtable_l5_enabled ());
16
+
17
+ #ifdef CONFIG_NUMA
18
+ VMCOREINFO_SYMBOL (node_data );
19
+ VMCOREINFO_LENGTH (node_data , MAX_NUMNODES );
20
+ #endif
21
+ vmcoreinfo_append_str ("KERNELOFFSET=%lx\n" , kaslr_offset ());
22
+ VMCOREINFO_NUMBER (KERNEL_IMAGE_SIZE );
23
+ VMCOREINFO_NUMBER (sme_mask );
24
+ }
Original file line number Diff line number Diff line change @@ -250,15 +250,3 @@ void machine_kexec(struct kimage *image)
250
250
251
251
__ftrace_enabled_restore (save_ftrace_enabled );
252
252
}
253
-
254
- void arch_crash_save_vmcoreinfo (void )
255
- {
256
- #ifdef CONFIG_NUMA
257
- VMCOREINFO_SYMBOL (node_data );
258
- VMCOREINFO_LENGTH (node_data , MAX_NUMNODES );
259
- #endif
260
- #ifdef CONFIG_X86_PAE
261
- VMCOREINFO_CONFIG (X86_PAE );
262
- #endif
263
- }
264
-
Original file line number Diff line number Diff line change @@ -398,25 +398,6 @@ void machine_kexec(struct kimage *image)
398
398
__ftrace_enabled_restore (save_ftrace_enabled );
399
399
}
400
400
401
- void arch_crash_save_vmcoreinfo (void )
402
- {
403
- u64 sme_mask = sme_me_mask ;
404
-
405
- VMCOREINFO_NUMBER (phys_base );
406
- VMCOREINFO_SYMBOL (init_top_pgt );
407
- vmcoreinfo_append_str ("NUMBER(pgtable_l5_enabled)=%d\n" ,
408
- pgtable_l5_enabled ());
409
-
410
- #ifdef CONFIG_NUMA
411
- VMCOREINFO_SYMBOL (node_data );
412
- VMCOREINFO_LENGTH (node_data , MAX_NUMNODES );
413
- #endif
414
- vmcoreinfo_append_str ("KERNELOFFSET=%lx\n" ,
415
- kaslr_offset ());
416
- VMCOREINFO_NUMBER (KERNEL_IMAGE_SIZE );
417
- VMCOREINFO_NUMBER (sme_mask );
418
- }
419
-
420
401
/* arch-dependent functionality related to kexec file-based syscall */
421
402
422
403
#ifdef CONFIG_KEXEC_FILE
Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ EndTable
929
929
930
930
GrpTable: Grp3_2
931
931
0: TEST Ev,Iz
932
- 1:
932
+ 1: TEST Ev,Iz
933
933
2: NOT Ev
934
934
3: NEG Ev
935
935
4: MUL rAX,Ev
Original file line number Diff line number Diff line change @@ -929,7 +929,7 @@ EndTable
929
929
930
930
GrpTable: Grp3_2
931
931
0: TEST Ev,Iz
932
- 1:
932
+ 1: TEST Ev,Iz
933
933
2: NOT Ev
934
934
3: NEG Ev
935
935
4: MUL rAX,Ev
You can’t perform that action at this time.
0 commit comments