[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <164490279930.270256.11789081622461037215.b4-ty@ellerman.id.au>
Date: Tue, 15 Feb 2022 16:26:39 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: mpe@...erman.id.au, Wedson Almeida Filho <wedsonaf@...gle.com>
Cc: linux-kernel@...r.kernel.org, benh@...nel.crashing.org,
linuxppc-dev@...ts.ozlabs.org, paulus@...ba.org
Subject: Re: [PATCH] powerpc/module_64: use module_init_section instead of patching names
On Wed, 2 Feb 2022 05:51:23 +0000, Wedson Almeida Filho wrote:
> Without this patch, module init sections are disabled by patching their
> names in arch-specific code when they're loaded (which prevents code in
> layout_sections from finding init sections). This patch uses the new
> arch-specific module_init_section instead.
>
> This allows modules that have .init_array sections to have the
> initialisers properly called (on load, before init). Without this patch,
> the initialisers are not called because .init_array is renamed to
> _init_array, and thus isn't found by code in find_module_sections().
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/module_64: use module_init_section instead of patching names
https://git.kernel.org/powerpc/c/d4be60fe66b7380530868ceebe549f8eebccacc5
cheers
Powered by blists - more mailing lists