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

From: Dave Hansen
Date: Tue Sep 03 2019 - 11:14:54 EST


On 9/3/19 6:15 AM, Thomas HellstrÃm (VMware) wrote:
> The force_dma_unencrypted symbol is needed by TTM to set up the correct
> page protection when memory encryption is active. Export it.

It would be great if this had enough background that I didn't have to
look at patch 4 to figure out what TTM might be.

Why is TTM special? How many other drivers would have to be modified in
a one-off fashion if we go this way? What's the logic behind this being
a non-GPL export?