Re: [POC][RFC][PATCH 1/2] mm/x86: Add wildcard * option as memmap=nn*align:name

2024-04-12 Thread Steven Rostedt
On Fri, 12 Apr 2024 23:59:07 +0300 Mike Rapoport wrote: > On Tue, Apr 09, 2024 at 04:41:24PM -0700, Kees Cook wrote: > > On Tue, Apr 09, 2024 at 07:11:56PM -0400, Steven Rostedt wrote: > > > On Tue, 9 Apr 2024 15:23:07 -0700 > > > Kees Cook wrote: > > > > > > > Do we need to involve e820

Re: [POC][RFC][PATCH 1/2] mm/x86: Add wildcard * option as memmap=nn*align:name

2024-04-12 Thread Mike Rapoport
On Tue, Apr 09, 2024 at 04:41:24PM -0700, Kees Cook wrote: > On Tue, Apr 09, 2024 at 07:11:56PM -0400, Steven Rostedt wrote: > > On Tue, 9 Apr 2024 15:23:07 -0700 > > Kees Cook wrote: > > > > > Do we need to involve e820 at all? I think it might be possible to just > > > have pstore call

Re: [PATCH] kallsyms: replace deprecated strncpy with strscpy

2024-04-12 Thread Luis Chamberlain
On Fri, Apr 12, 2024 at 06:53:47PM +, Justin Stitt wrote: > strncpy() is deprecated for use on NUL-terminated destination strings > [1] and as such we should prefer more robust and less ambiguous string > interfaces. The goal is to remove its use completely [2]. > > namebuf is eventually

[PATCH] kallsyms: replace deprecated strncpy with strscpy

2024-04-12 Thread Justin Stitt
= namebuf; } preempt_enable(); --- base-commit: d7ad0581567927c433918bb5f06f3d29f89807d3 change-id: 20240412-strncpy-kernel-module-kallsyms-c-8539c5e7bf57 Best regards, -- Justin Stitt

Re: [PATCH v2] arm64: hibernate: Fix level3 translation fault in swsusp_save()

2024-04-12 Thread Catalin Marinas
For some reason I missed the updated patch. On Fri, Mar 01, 2024 at 10:19:24AM +0800, Yaxiong Tian wrote: > From: Yaxiong Tian > > On ARM64 machines using UEFI, if can_set_direct_map() return false by > setting some CONFIGS in kernel build or grub,such as > NO

Re: [POC][RFC][PATCH 0/2] pstore/mm/x86: Add wildcard memmap to map pstore consistently

2024-04-12 Thread Steven Rostedt
On Fri, 12 Apr 2024 09:17:18 -0300 "Guilherme G. Piccoli" wrote: > Thanks Steve, seems a good idea. With that, I could test on kdumpst (the > tool used on Steam Deck), since it relies on modular pstore/ram. Something like this could work. -- Steve diff --git a/arch/x86/kernel/e820.c

Re: [PATCH] arm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first

2024-04-12 Thread Will Deacon
Hi Doug, I'm doing some inbox Spring cleaning! On Thu, Dec 07, 2023 at 05:02:56PM -0800, Douglas Anderson wrote: > When testing hard lockup handling on my sc7180-trogdor-lazor device > with pseudo-NMI enabled, with serial console enabled and with kgdb > disabled, I found that the stack crawls

Re: [POC][RFC][PATCH 0/2] pstore/mm/x86: Add wildcard memmap to map pstore consistently

2024-04-12 Thread Guilherme G. Piccoli
On 11/04/2024 16:40, Steven Rostedt wrote: > [...] > What I think I could do is to have a check after memory is allocated to > copy the table mapping (in the heap) if it is filled. The reason I did it > this way was because it was the easiest way to save the label to address > memory before memory