-
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 branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
…inux/kernel/git/tip/tip Pull x86 fixes from Ingo Molnar: "Misc fixes: - three fixes and a cleanup for the resctrl code - a HyperV fix - a fix to /proc/kcore contents in live debugging sessions - a fix for the x86 decoder opcode map" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/decoder: Add TEST opcode to Group3-2 x86/resctrl: Clean up unused function parameter in mkdir path x86/resctrl: Fix a deadlock due to inaccurate reference x86/resctrl: Fix use-after-free due to inaccurate refcount of rdtgroup x86/resctrl: Fix use-after-free when deleting resource groups x86/hyper-v: Add "polling" bit to hv_synic_sint x86/crash: Define arch_crash_save_vmcoreinfo() if CONFIG_CRASH_CORE=y
- Loading branch information
Showing
9 changed files
with
71 additions
and
57 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
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 | ||
|