diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2021-05-11 09:42:24 +0200 |
---|---|---|
committer | Adrian Calianu <Adrian.Calianu@enea.com> | 2021-05-12 21:56:14 +0100 |
commit | c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8 (patch) | |
tree | 93a3d96c027a437fc9b168d07ab2ad62248d77d1 /patches/boot_time_opt/0124-print-CPU-that-faults.patch | |
parent | 7a93e54032bb148a92e16b59736a1b76fedae319 (diff) | |
download | enea-kernel-cache-c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8.tar.gz |
boot_time_opt: update patches to 5.10 kernel
Patches used in boot time optimization are coming from
clearlinux distribution. Update patches correspuding to 5.10
kernel: https://github.com/clearlinux-pkgs/linux/tree/5.10.32-1034
We selected a list of patches from ClearLinux. Those we have
considered risky, unknown impact on functionality have been
avoided.
Change-Id: If01459292a5a383b49944645bd8536d9a62d9de3
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0124-print-CPU-that-faults.patch')
-rw-r--r-- | patches/boot_time_opt/0124-print-CPU-that-faults.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0124-print-CPU-that-faults.patch b/patches/boot_time_opt/0124-print-CPU-that-faults.patch new file mode 100644 index 0000000..0bbe9c1 --- /dev/null +++ b/patches/boot_time_opt/0124-print-CPU-that-faults.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Sat, 10 Aug 2019 03:19:04 +0000 | ||
4 | Subject: [PATCH] print CPU that faults | ||
5 | |||
6 | print cpu number when we print a crash | ||
7 | --- | ||
8 | arch/x86/mm/fault.c | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c | ||
12 | index 9c1545c376e9..b55a36614dad 100644 | ||
13 | --- a/arch/x86/mm/fault.c | ||
14 | +++ b/arch/x86/mm/fault.c | ||
15 | @@ -770,9 +770,9 @@ show_signal_msg(struct pt_regs *regs, unsigned long error_code, | ||
16 | if (!printk_ratelimit()) | ||
17 | return; | ||
18 | |||
19 | - printk("%s%s[%d]: segfault at %lx ip %px sp %px error %lx", | ||
20 | + printk("%s%s[%d]: segfault at %lx ip %px sp %px error %lx cpu %i", | ||
21 | loglvl, tsk->comm, task_pid_nr(tsk), address, | ||
22 | - (void *)regs->ip, (void *)regs->sp, error_code); | ||
23 | + (void *)regs->ip, (void *)regs->sp, error_code, raw_smp_processor_id()); | ||
24 | |||
25 | print_vma_addr(KERN_CONT " in ", regs->ip); | ||
26 | |||
27 | -- | ||
28 | https://clearlinux.org | ||
29 | |||