-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'x86/hyperv', 'x86/kdump' and 'x86/misc' into x86/urge…
…nt, to pick up single-commit branches Signed-off-by: Ingo Molnar <mingo@kernel.org>
- Loading branch information
Showing
8 changed files
with
46 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
|
||
#include <linux/crash_core.h> | ||
|
||
#include <asm/pgtable.h> | ||
#include <asm/setup.h> | ||
|
||
void arch_crash_save_vmcoreinfo(void) | ||
{ | ||
#ifdef CONFIG_NUMA | ||
VMCOREINFO_SYMBOL(node_data); | ||
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); | ||
#endif | ||
#ifdef CONFIG_X86_PAE | ||
VMCOREINFO_CONFIG(X86_PAE); | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: GPL-2.0-only | ||
|
||
#include <linux/crash_core.h> | ||
|
||
#include <asm/pgtable.h> | ||
#include <asm/setup.h> | ||
|
||
void arch_crash_save_vmcoreinfo(void) | ||
{ | ||
u64 sme_mask = sme_me_mask; | ||
|
||
VMCOREINFO_NUMBER(phys_base); | ||
VMCOREINFO_SYMBOL(init_top_pgt); | ||
vmcoreinfo_append_str("NUMBER(pgtable_l5_enabled)=%d\n", | ||
pgtable_l5_enabled()); | ||
|
||
#ifdef CONFIG_NUMA | ||
VMCOREINFO_SYMBOL(node_data); | ||
VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); | ||
#endif | ||
vmcoreinfo_append_str("KERNELOFFSET=%lx\n", kaslr_offset()); | ||
VMCOREINFO_NUMBER(KERNEL_IMAGE_SIZE); | ||
VMCOREINFO_NUMBER(sme_mask); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -929,7 +929,7 @@ EndTable | |
|
||
GrpTable: Grp3_2 | ||
0: TEST Ev,Iz | ||
1: | ||
1: TEST Ev,Iz | ||
2: NOT Ev | ||
3: NEG Ev | ||
4: MUL rAX,Ev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -929,7 +929,7 @@ EndTable | |
|
||
GrpTable: Grp3_2 | ||
0: TEST Ev,Iz | ||
1: | ||
1: TEST Ev,Iz | ||
2: NOT Ev | ||
3: NEG Ev | ||
4: MUL rAX,Ev | ||
|