Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted

From: Christoph Hellwig
Date: Tue Sep 03 2019 - 09:46:35 EST


On Tue, Sep 03, 2019 at 03:15:01PM +0200, Thomas Hellström (VMware) wrote:
> From: Thomas Hellstrom <thellstrom@xxxxxxxxxx>
>
> The force_dma_unencrypted symbol is needed by TTM to set up the correct
> page protection when memory encryption is active. Export it.

NAK. This is a helper for the core DMA code and drivers have no
business looking at it.