Re: [PATCH 0/2] SWIOTLB fixes for 4.20

From: John Stultz
Date: Tue Nov 20 2018 - 14:24:40 EST


On Tue, Nov 20, 2018 at 6:10 AM Robin Murphy <robin.murphy@xxxxxxx> wrote:
>
> This is what I have so far, which at least resolves the most ovbious
> problems. I still haven't got very far with the USB corruption issue
> I see on Juno with -rc1, but I'm yet to confirm whether that's actually
> attributable to the SWIOTLB changes or something else entirely.
>
> Robin.
>
> Robin Murphy (2):
> swiotlb: Make DIRECT_MAPPING_ERROR viable
> swiotlb: Skip cache maintenance on map error
>
> include/linux/dma-direct.h | 2 +-
> kernel/dma/swiotlb.c | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)

Thanks so much for chasing this down!

Unfortunately AOSP is giving me grief this week, so I've not been able
to test the full environment, but I don't seem to be hitting the io
hangs I was seeing earlier with this patch set.

For both:
Tested-by: John Stultz <john.stultz@xxxxxxxxxx>

thanks
-john