Re: [PATCH v2] LoongArch: Load vmlinux.efi to the link address

2023-11-28 Thread Huacai Chen
Hi, all, On Tue, Nov 28, 2023 at 2:27 PM WANG Rui wrote: > > Hi, > > On Mon, Nov 27, 2023 at 10:36 AM RuiRui Yang wrote: > > > > On Mon, 27 Nov 2023 at 09:53, RuiRui Yang wrote: > > > > > > On Sat, 25 Nov 2023 at 14:54, WANG Rui wrote: > > > > > > > > Currently, kexec loads vmlinux.efi to

Re: [RFC V2] IMA Log Snapshotting Design Proposal

2023-11-28 Thread Mimi Zohar
On Tue, 2023-11-28 at 20:06 -0500, Paul Moore wrote: > On Tue, Nov 28, 2023 at 7:09 AM Mimi Zohar wrote: > > On Mon, 2023-11-27 at 17:16 -0500, Paul Moore wrote: > > > On Mon, Nov 27, 2023 at 12:08 PM Mimi Zohar wrote: > > > > On Wed, 2023-11-22 at 09:22 -0500, Paul Moore wrote: > > ... > > >

Re: [PATCHv9 2/2] powerpc/setup: Loosen the mapping between cpu logical id and its seq in dt

2023-11-28 Thread Pingfan Liu
Hi Hari, On Mon, Nov 27, 2023 at 12:30 PM Hari Bathini wrote: > > Hi Pingfan, Michael, > > On 17/10/23 4:03 pm, Hari Bathini wrote: > > > > > > On 17/10/23 7:58 am, Pingfan Liu wrote: > >> *** Idea *** > >> For kexec -p, the boot cpu can be not the cpu0, this causes the problem > >> of

Re: [RFC V2] IMA Log Snapshotting Design Proposal

2023-11-28 Thread Paul Moore
On Tue, Nov 28, 2023 at 7:09 AM Mimi Zohar wrote: > On Mon, 2023-11-27 at 17:16 -0500, Paul Moore wrote: > > On Mon, Nov 27, 2023 at 12:08 PM Mimi Zohar wrote: > > > On Wed, 2023-11-22 at 09:22 -0500, Paul Moore wrote: ... > > If we are going to have a record count, I imagine it would also be

Re: [PATCH v2] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP

2023-11-28 Thread Eric DeVolder
On 11/27/23 23:44, Baoquan He wrote: Ignat Korchagin complained that a potential config regression was introduced by commit 89cde455915f ("kexec: consolidate kexec and crash options into kernel/Kconfig.kexec"). Before the commit, CONFIG_CRASH_DUMP has no dependency on CONFIG_KEXEC. After the

Re: [PATCHv3 00/14] x86/tdx: Add kexec support

2023-11-28 Thread Isaku Yamahata
On Tue, Nov 21, 2023 at 02:41:08PM +0800, Baoquan He wrote: > On 11/17/23 at 06:46pm, Kirill A. Shutemov wrote: > > On Fri, Nov 17, 2023 at 11:03:00PM +0800, Baoquan He wrote: > > > On 11/17/23 at 03:47pm, Kirill A. Shutemov wrote: > > > > On Thu, Nov 16, 2023 at 10:45:23PM +0800, Baoquan He

Re: [PATCH 07/10] printk: Remove the now superfluous sentinel elements from ctl_table array

2023-11-28 Thread Petr Mladek
On Tue 2023-11-07 14:45:07, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run time >

Re: [PATCH v2] drivers/base/cpu: crash data showing should depends on KEXEC_CORE

2023-11-28 Thread Eric DeVolder
On 11/27/23 23:52, Baoquan He wrote: After commit 88a6f8994421 ("crash: memory and CPU hotplug sysfs attributes"), on x86_64, if only below kernel configs related to kdump are set, compiling error are triggered. CONFIG_CRASH_CORE=y CONFIG_KEXEC_CORE=y CONFIG_CRASH_DUMP=y

Re: [PATCH v2] drivers/base/cpu: crash data showing should depends on KEXEC_CORE

2023-11-28 Thread Alexander Gordeev
On Tue, Nov 28, 2023 at 01:52:48PM +0800, Baoquan He wrote: > After commit 88a6f8994421 ("crash: memory and CPU hotplug sysfs > attributes"), on x86_64, if only below kernel configs related to kdump > are set, compiling error are triggered. > > > CONFIG_CRASH_CORE=y > CONFIG_KEXEC_CORE=y >

Re: [PATCH v2] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP

2023-11-28 Thread Alexander Gordeev
On Tue, Nov 28, 2023 at 01:44:57PM +0800, Baoquan He wrote: > Ignat Korchagin complained that a potential config regression was > introduced by commit 89cde455915f ("kexec: consolidate kexec and > crash options into kernel/Kconfig.kexec"). Before the commit, > CONFIG_CRASH_DUMP has no dependency

Re: [RFC V2] IMA Log Snapshotting Design Proposal

2023-11-28 Thread Mimi Zohar
On Mon, 2023-11-27 at 17:16 -0500, Paul Moore wrote: > On Mon, Nov 27, 2023 at 12:08 PM Mimi Zohar wrote: > > On Wed, 2023-11-22 at 09:22 -0500, Paul Moore wrote: > > ... > > > > Okay, we are starting to get closer, but I'm still missing the part > > > where you say "if you do X, Y, and Z, I'll

Re: [PATCH v2] drivers/base/cpu: crash data showing should depends on KEXEC_CORE

2023-11-28 Thread Ignat Korchagin
On Tue, Nov 28, 2023 at 5:53 AM Baoquan He wrote: > > After commit 88a6f8994421 ("crash: memory and CPU hotplug sysfs > attributes"), on x86_64, if only below kernel configs related to kdump > are set, compiling error are triggered. > > > CONFIG_CRASH_CORE=y > CONFIG_KEXEC_CORE=y >

Re: [PATCH v2] kernel/Kconfig.kexec: drop select of KEXEC for CRASH_DUMP

2023-11-28 Thread Ignat Korchagin
On Tue, Nov 28, 2023 at 5:45 AM Baoquan He wrote: > > Ignat Korchagin complained that a potential config regression was > introduced by commit 89cde455915f ("kexec: consolidate kexec and > crash options into kernel/Kconfig.kexec"). Before the commit, > CONFIG_CRASH_DUMP has no dependency on

Re: [PATCH 0/4] kdump: crashkernel reservation from CMA

2023-11-28 Thread Michal Hocko
On Tue 28-11-23 10:11:31, Baoquan He wrote: > On 11/28/23 at 09:12am, Tao Liu wrote: [...] > Thanks for the effort to bring this up, Jiri. > > I am wondering how you will use this crashkernel=,cma parameter. I mean > the scenario of crashkernel=,cma. Asking this because I don't know how > SUSE

Re: [PATCH 0/4] kdump: crashkernel reservation from CMA

2023-11-28 Thread Michal Hocko
On Tue 28-11-23 10:07:08, Pingfan Liu wrote: > On Sun, Nov 26, 2023 at 5:24 AM Jiri Bohac wrote: > > > > Hi Tao, > > > > On Sat, Nov 25, 2023 at 09:51:54AM +0800, Tao Liu wrote: > > > Thanks for the idea of using CMA as part of memory for the 2nd kernel. > > > However I have a question: > > > > >