Re: dma_mmap_coherent() breakage with mem_encrypt on AMD Ryzen

2021-01-19 Thread Tom Lendacky
On 1/18/21 1:28 PM, Takashi Iwai wrote: Hi, we've got a bug report recently about the garbage playback sound from a PCI sound device with mem_encrypt on AMD Ryzen: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.kernel.org%2Fshow_bug.cgi%3Fid%3D27&data=04%7C01

dma_mmap_coherent() breakage with mem_encrypt on AMD Ryzen

2021-01-18 Thread Takashi Iwai
Hi, we've got a bug report recently about the garbage playback sound from a PCI sound device with mem_encrypt on AMD Ryzen: https://bugzilla.kernel.org/show_bug.cgi?id=27 The debug session showed that this happens only with the mmap using dma_mmap_coherent() and mem_encrypt. The mmap with