linux_dsm_epyc7002/drivers/media/pci
Tasos Sahanidis a250df336a media: saa7134: use sg_dma_len when building pgtable
[ Upstream commit 4e1cb753c04d74e06d7ca826ea0bcb02526af03e ]

The new AMD IOMMU DMA implementation concatenates sglist entries under
certain conditions, and because saa7134 accessed the length member
directly, it did not support this scenario.

This fixes IO_PAGE_FAULTs and choppy DMA audio by using the
sg_dma_len macro.

Fixes: be62dbf554 ("iommu/amd: Convert AMD iommu driver to the dma-iommu api")
Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:22 +02:00
..
b2c2
bt8xx
cobalt
cx18
cx88
cx23885 media: cx23885: add more quirks for reset DMA on some AMD IOMMU 2021-03-11 14:17:24 +01:00
cx25821 media: cx25821: Fix a bug when reallocating some dma memory 2021-03-04 11:37:43 +01:00
ddbridge
dm1105
dt3155
intel media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt() 2021-03-04 11:38:34 +01:00
ivtv
mantis
meye
netup_unidvb
ngene
pluto2
pt1
pt3
saa7134 media: saa7134: use sg_dma_len when building pgtable 2021-05-14 09:50:22 +02:00
saa7146
saa7164 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs 2021-05-11 14:47:24 +02:00
smipcie media: smipcie: fix interrupt handling and IR timeout 2021-03-04 11:38:34 +01:00
solo6x10
sta2x11 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB 2021-05-11 14:47:24 +02:00
ttpci
tw68
tw686x
tw5864
Kconfig
Makefile