Re: [PATCH 1/2] s390: export memory encryption helper functions

From: Heiko Carstens

Date: Tue Jun 09 2026 - 09:35:11 EST


On Tue, Jun 09, 2026 at 02:38:45PM +0200, Christian Borntraeger wrote:
> Am 26.05.26 um 12:20 schrieb Arnd Bergmann:
> > From: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > The set_memory_encrypted/set_memory_decrypted functions are exported
> > on x86 and arm64 but not on s390, which leads to a new build failure
> > because they are now used in a loadable module:
> >
> > ERROR: modpost: "set_memory_encrypted" [drivers/dma-buf/heaps/system_heap.ko] undefined!
> > ERROR: modpost: "set_memory_decrypted" [drivers/dma-buf/heaps/system_heap.ko] undefined!
> >
> > Export these the same way we do on the other architectures.
> >
> > Fixes: fd55edff8a0a ("dma-buf: heaps: system: Turn the heap into a module")
>
> This commit id was from an next tree? Seems to be no longer valid.
>
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> Acked-by: Christian Borntraeger <borntraeger@xxxxxxxxxxxxx>
>
> @Alexander/vasily/Heiko, can you maybe queue that via the s390 fixes tree?

There is a lot of discussion ongoing for the similar powerpc
patch. Waiting for the end result.

https://lore.kernel.org/all/20260522225853.878411-1-tjmercier@xxxxxxxxxx/