[PATCH v2 0/4] Fix restricted DMA vs swiotlb_exit()
From: Will Deacon
Date: Tue Jul 20 2021 - 09:42:28 EST
Hi again, folks,
This is version two of the patch series I posted yesterday:
https://lore.kernel.org/r/20210719123054.6844-1-will@xxxxxxxxxx
The only changes since v1 are:
* Squash patches 2 and 3, amending the commit message accordingly
* Add Reviewed-by and Tested-by tags from Christoph and Claire (thanks!)
I'd usually leave it a bit longer between postings, but since this fixes
issues with patches in -next I thought I'd spin a new version immediately.
Cheers,
Will
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Claire Chang <tientzu@xxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Cc: Robin Murphy <robin.murphy@xxxxxxx>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
--->8
Will Deacon (4):
of: Return success from of_dma_set_restricted_buffer() when
!OF_ADDRESS
swiotlb: Convert io_default_tlb_mem to static allocation
swiotlb: Emit diagnostic in swiotlb_exit()
swiotlb: Free tbl memory in swiotlb_exit()
drivers/base/core.c | 2 +-
drivers/of/of_private.h | 3 +-
drivers/xen/swiotlb-xen.c | 4 +-
include/linux/swiotlb.h | 4 +-
kernel/dma/swiotlb.c | 82 +++++++++++++++++++++++----------------
5 files changed, 56 insertions(+), 39 deletions(-)
--
2.32.0.402.g57bb445576-goog