Dear Stable Team,
This is a backport of ddbd89deb7d3 ("swiotlb: fix info leak with DMA_FROM_DEVICE") and aa6f8dcbab47 ("swiotlb: rework "fix info leak with DMA_FROM_DEVICE"") to 5.10.y.
I had to handle some merge conflicts, and at this point we have swiotlb_tbl_sync_single() as opposed to swiotlb_sync_single_for_device() so I had to handle that as well.
Halil Pasic (2): swiotlb: fix info leak with DMA_FROM_DEVICE swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
kernel/dma/swiotlb.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-)
base-commit: 9d7b0ced5647e0df1b200ee29119cb58ff958339