On Wed, Jun 18, 2025 at 03:29:26PM -0400, Zack Rusin wrote: > From: Marko Kiiskila <[email protected]> > > Commit 81256a50aa0f ("x86/mm: Make memremap(MEMREMAP_WB) map memory as > encrypted by default") changed the default behavior of > memremap(MEMREMAP_WB) and started mapping memory as encrypted. > The driver requires the fifo memory to be decrypted to communicate with > the host but was relaying on the old default behavior of > memremap(MEMREMAP_WB) and thus broke. > > Fix it by explicitly specifying the desired behavior and passing > MEMREMAP_DEC to memremap. > > Fixes: 81256a50aa0f ("x86/mm: Make memremap(MEMREMAP_WB) map memory as > encrypted by default") > Signed-off-by: Marko Kiiskila <[email protected]> > Signed-off-by: Zack Rusin <[email protected]> > Cc: Kirill A. Shutemov <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: Andrew Morton <[email protected]> > Cc: Dave Hansen <[email protected]> > Cc: Linus Torvalds <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: [email protected] > Cc: [email protected]
Acked-by: Kirill A. Shutemov <[email protected]> -- Kiryl Shutsemau / Kirill A. Shutemov
