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=211117
The debug session showed that this happens only with the mmap using dma_mmap_coherent() and mem_encrypt. The mmap with the legacy page fault (as done in ALSA PCM core) seems still working even with the mem_encrypt. Since the problem could be observed on two different PCI drivers, it looks like a generic problem of DMA-mmap implementation with AMD memory encryption. According to the reporter, it's seen on both 5.4.x and 5.10.x kernels, hence it doesn't like a recent regression. Can anyone take a look? Thanks! Takashi _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu