Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Masahiro Yamada
On Fri, Dec 22, 2023 at 5:23 PM Helge Deller wrote: > > On 12/21/23 16:42, Masahiro Yamada wrote: > > On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada > > wrote: > >> > >> On Thu, Nov 23, 2023 at 7:18 AM wrote: > >>> > >>> From: Helge Deller > >>> > >>> While working on the 64-bit parisc

RE: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread David Laight
... > diff --git a/include/linux/init.h b/include/linux/init.h > index 3fa3f6241350..650311e4b215 100644 > --- a/include/linux/init.h > +++ b/include/linux/init.h > @@ -264,6 +264,7 @@ extern struct module __this_module; > #define define_initcall(fn, __stub, __name, __sec) \ >

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/20/23 20:40, Luis Chamberlain wrote: On Tue, Dec 19, 2023 at 01:26:49PM -0800, Luis Chamberlain wrote: On Wed, Nov 22, 2023 at 11:18:10PM +0100, del...@kernel.org wrote: From: Helge Deller My questions: - Am I wrong with my analysis? This would typically of course depend on the arch,

Re: [PATCH 0/4] Section alignment issues?

2023-12-22 Thread Helge Deller
On 12/21/23 16:42, Masahiro Yamada wrote: On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada wrote: On Thu, Nov 23, 2023 at 7:18 AM wrote: From: Helge Deller While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] table was not correctly 64-bit aligned in many modules.

Re: [PATCH 0/4] Section alignment issues?

2023-12-21 Thread Masahiro Yamada
On Thu, Dec 21, 2023 at 10:40 PM Masahiro Yamada wrote: > > On Thu, Nov 23, 2023 at 7:18 AM wrote: > > > > From: Helge Deller > > > > While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] > > table was not correctly 64-bit aligned in many modules. > > The following patches

Re: [PATCH 0/4] Section alignment issues?

2023-12-21 Thread Masahiro Yamada
On Thu, Nov 23, 2023 at 7:18 AM wrote: > > From: Helge Deller > > While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] > table was not correctly 64-bit aligned in many modules. > The following patches do fix some of those issues in the generic code. > > But further

Re: [PATCH 0/4] Section alignment issues?

2023-12-20 Thread Luis Chamberlain
On Tue, Dec 19, 2023 at 01:26:49PM -0800, Luis Chamberlain wrote: > On Wed, Nov 22, 2023 at 11:18:10PM +0100, del...@kernel.org wrote: > > From: Helge Deller > > My questions: > > - Am I wrong with my analysis? > > This would typically of course depend on the arch, but whether it helps > is what

Re: [PATCH 0/4] Section alignment issues?

2023-12-19 Thread Luis Chamberlain
On Wed, Nov 22, 2023 at 11:18:10PM +0100, del...@kernel.org wrote: > From: Helge Deller > My questions: > - Am I wrong with my analysis? This would typically of course depend on the arch, but whether it helps is what I would like to see with real numbers rather then speculation. Howeer, I don't

[PATCH 0/4] Section alignment issues?

2023-11-22 Thread deller
From: Helge Deller While working on the 64-bit parisc kernel, I noticed that the __ksymtab[] table was not correctly 64-bit aligned in many modules. The following patches do fix some of those issues in the generic code. But further investigation shows that multiple sections in the kernel and in