Re: [PATCHv2 2/2] x86/mm: Make memremap(MEMREMAP_WB) map memory as encrypted by defaultk

From: Kirill A. Shutemov
Date: Mon Jan 13 2025 - 07:23:09 EST


On Mon, Jan 13, 2025 at 11:32:38AM +0100, Borislav Petkov wrote:
> On Mon, Jan 13, 2025 at 12:03:22PM +0200, Kirill A. Shutemov wrote:
> > Borislav,
> >
> > Is there anything I need to do to get this patchset merged?
>
> Your updated commit message here:
>
> https://lore.kernel.org/r/bz3vlh3lri7yfckdkddopwhsgvkmizhw5q6ecomgeba7q22ufp@ntu2kugiho4o
>
> Reads better, yes.
>
> > This change fixes the crash on kexec in TDX guests if CONFIG_EISA is
> > enabled.
>
> s/This change fixes/Fix/
>
> In imperative tone pls.

Okay.

> And that sentence begs the question: does this need to go to stable?

Right.

It is hard to pin down Fixes commit as the bug is inherited from initial
encrypted/decrypted handling implementation, but it is not useful to
backport it all the way.

I'll add

Cc: stable@xxxxxxxxxxxxxxx # 6.11+

6.11 is where kexec handling for TDX was introduced.

--
Kiryl Shutsemau / Kirill A. Shutemov