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

From: Borislav Petkov
Date: Sun Jan 12 2025 - 14:09:19 EST


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@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx/

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette