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

From: Uwe Kleine-König

Date: Tue Jun 09 2026 - 08:23:15 EST


Hello,

On Tue, May 26, 2026 at 12:20:37PM +0200, Arnd Bergmann wrote:
> 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")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

That problem still exists as of next-20260608. Even though there is
resistance to this approach, can we please apply this patch to fix the
build failure given that we're already at -rc7? This doesn't have to stop efforts to get rid of that
export for all archs.

Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature