Re: [PATCH v3 0/2] Fix SEV user-space mapping of unencrypted coherent memory

2019-09-18 Thread Christoph Hellwig
This looks sensibe to me. x86 folks let me know if you guys want to pick this up or if I should take it. On Tue, Sep 17, 2019 at 03:01:13PM +0200, Thomas Hellström (VMware) wrote: > As far as I can tell there are no current users of dma_mmap_coherent() with > SEV or SME encryption which means tha

[PATCH v3 0/2] Fix SEV user-space mapping of unencrypted coherent memory

2019-09-17 Thread VMware
This patchset fixes dma_mmap_coherent() mapping of unencrypted memory in otherwise encrypted environments, where it would incorrectly map that memory as encrypted. With SEV and sometimes with SME encryption, The dma api coherent memory is typically unencrypted, meaning the linear kernel map has th