summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2021-03-03 21:30:18 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-11 13:59:44 +0300
commit4e1cb753c04d74e06d7ca826ea0bcb02526af03e (patch)
treeb0e8966226ac1ab071f6da2b5e315c3e4e950609 /include/linux/stackprotector.h
parenta4184b4f99019f5d91b3a1bb1905af986e002aa4 (diff)
downloadlinux-4e1cb753c04d74e06d7ca826ea0bcb02526af03e.tar.xz
media: saa7134: use sg_dma_len when building pgtable
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: 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/stackprotector.h')
0 files changed, 0 insertions, 0 deletions