Re: [REGRESSION] Re: [PATCH v7 8/8] x86/module: enable ROX caches for module text on 64 bit

Borislav Petkov
2025-01-12T19:09:05Z

On Sun, Jan 12, 2025 at 08:42:05PM +0200, Ville Syrjälä wrote:
> On Wed, Oct 23, 2024 at 07:27:11PM +0300, Mike Rapoport wrote:
> > From: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
> >
> > Enable execmem's cache of PMD_SIZE'ed pages mapped as ROX for module
> > text allocations on 64 bit.
>
> Hi,
>
> This breaks resume from hibernation on my Alderlake laptop.
>
> Fortunately this still reverts cleanly.

Does that hunk in the mail here fix it?

https://lore.kernel.org/all/Z4DwPkcYyZ-tDKwY@kernel.org/

--
Regards/Gruss,
Boris.