From: Thomas Hellstrom <[email protected]> The force_dma_unencrypted symbol is needed by TTM to set up the correct page protection when memory encryption is active. Export it.
Cc: Dave Hansen <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Tom Lendacky <[email protected]> Cc: Christian König <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]> --- arch/x86/mm/mem_encrypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/mem_encrypt.c b/arch/x86/mm/mem_encrypt.c index fece30ca8b0c..bbfe8802d63a 100644 --- a/arch/x86/mm/mem_encrypt.c +++ b/arch/x86/mm/mem_encrypt.c @@ -377,6 +377,7 @@ bool force_dma_unencrypted(struct device *dev) return false; } +EXPORT_SYMBOL(force_dma_unencrypted); /* Architecture __weak replacement functions */ void __init mem_encrypt_free_decrypted_mem(void) -- 2.20.1
