[GIT PULL] (swiotbl) tiny fix for 5.0rc2

From: Konrad Rzeszutek Wilk
Date: Thu Jan 17 2019 - 10:36:36 EST


Hey Linus,

Please pull a tiny fix for v5.0-rc2:

git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-5.0

This fixes an issue with GPU cards not working anymore with the DMA
mapping work Christopher did - as the SWIOTLB is initialized first
and then free-ed (as IOMMU is available) but we forgot to clear our
start and end entries which are used and BOOM.

Thank you!

kernel/dma/swiotlb.c | 2 ++
1 file changed, 2 insertions(+)

Christoph Hellwig (1):
swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit

Attachment: signature.asc
Description: PGP signature