summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2021-03-03 21:52:53 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-11 13:59:44 +0300
commite56429b09d5e0802b86f84ec7c24025886c9f88b (patch)
tree01f1b4a9a9573e504da7e1dc8bbb0c31d801ad23 /include/linux/pps_kernel.h
parent4e1cb753c04d74e06d7ca826ea0bcb02526af03e (diff)
downloadlinux-e56429b09d5e0802b86f84ec7c24025886c9f88b.tar.xz
media: saa7146: use sg_dma_len when building pgtable
The new AMD IOMMU DMA implementation concatenates sglist entries under certain conditions, and because saa7146 accessed the length member directly, it did not support this scenario. This fixes IO_PAGE_FAULTs by using the sg_dma_len macro. Fixes: be62dbf554c5 ("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>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions