Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1179326imu; Tue, 20 Nov 2018 13:03:26 -0800 (PST) X-Google-Smtp-Source: AJdET5dbGkHYEaKaG27bgXksRxZIkJUr7NwX27ubOuda8+cC3tlxLmrTeDfk4e+NL9y5LXvIM7qC X-Received: by 2002:a62:670f:: with SMTP id b15mr3820926pfc.212.1542747806880; Tue, 20 Nov 2018 13:03:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542747806; cv=none; d=google.com; s=arc-20160816; b=vMWEVd5m5gfuh4lBk+n1ANl0RPBESeXeAexJSwyYZKBFXY6YtO84X8ELGQ6IZNpatM vwIf9VyKU1C3TvSKwP2FV24x5ab0jMg1eyHkAG6e9AX4AzOxkBF4cgCFjYoidN15nfBf uq5aOujw7p6PegzGkefgQLiix7eLHmyLbUE1drqHaoOMkisumB7ZeeXFcJNXYbaKf6Pg 4Mv014+hqtfc4+W8EmXua0bvtP2WQ7RtLzIGp4ZEaSb1ieDWQJSm7DlcJIoTwnQuoJAa cPvoVFH5QCs/Mc2MFXM1yoohl2/ey8NCOBZZaaHUtjxdaj2wb0Eb3VZUxdXJe2XjpF9S j0wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nTM/aHZnV1F3dWmHH/OtdXgtMP2odEXlC7+Xt9884ao=; b=IDKkgFTRIB0mY2oB+L4SR4l582eflhJZ3Ll1HO3fKLzxc+61eu0AqQAYduiBDxmT9d /1WRc+QWm5qJWqFqnuWDix5WZtZBWvk+SmuSNI7liK4Xy9jL8CTeQYgY+X6GY420w4Pi 7RA4rO+FRANTZx9fZU27CtZPvVJ4Jqgx97HwVtZfcO3Vj+GSgFkAvzTJN9bzwvUH3ec+ GlEJQs3kn+S+OOiVsGbX259xIL+EN+lagpsufFG9p2fcPfqbUJp3BW+KpwSEPQJEaq1E B7LZp3iAXvIx29N+chxzYe2gR9iCRLxtcTNbgp2KYx4+8hgaqhOYSUM0+bMSTIpY6E4z 5Kmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YM9kZpjP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si5068044pgl.507.2018.11.20.13.03.09; Tue, 20 Nov 2018 13:03:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YM9kZpjP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbeKUFzR (ORCPT + 99 others); Wed, 21 Nov 2018 00:55:17 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34064 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbeKUFzR (ORCPT ); Wed, 21 Nov 2018 00:55:17 -0500 Received: by mail-wr1-f65.google.com with SMTP id j2so3211318wrw.1 for ; Tue, 20 Nov 2018 11:24:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nTM/aHZnV1F3dWmHH/OtdXgtMP2odEXlC7+Xt9884ao=; b=YM9kZpjPhk2bH42K1nsdAwuwj3WlHbgbu+83ubnPL/ilNee/Hj5WnHHG+ebKSXiJQe hwv0NI43KTNSJ0v1Kcfk+5YJZulf/vsHIE6E2VkLq18wz6eMnUhywfq/SFPr72UriX34 2SOqtCx9jmPbAwvfdSKznzong2eQ0SI3xEuV4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nTM/aHZnV1F3dWmHH/OtdXgtMP2odEXlC7+Xt9884ao=; b=XqC/4S1+ICGQA/ehN6fwd5Nk6FuGjCWTFjZYTq+YkuNYLV66LqMhvwZEtRwcMcdqtC 57YJxxj+8pWO5b2ALxtRjtsXJlhXjkEFGHw1WE5Z0WVZd8tukASMBx1H9zvYU6/3NJGH GQ2RyVFzdkLrONVXs/z2W2YDdTPdyHYSvM8zNdF2mqn1TmKOo1h1L3VJBe7MBMcEI9OR wHn6GtCRxUWa8fiDsbR2WqayAbLLuEQlrSrDwERMZFHrs3crCXyra/XiwDbgKww8LLLr 3n1EqT9z6A6nKWR4WV8qLG8ljBrce2EqaLK2HlC6ATwU2vkXeXSSiloeEfBZIiZ21sl/ E1bQ== X-Gm-Message-State: AA+aEWZcb++clzaV+fEux4uJ2nguzwME7o0+uE3rDzuJJk0cd+xKNQ3J 4cFXxtHqCZKbUASoPkQHnrotElqWFqEnayLUirl+GSy+T8g= X-Received: by 2002:a5d:6988:: with SMTP id g8mr3041407wru.33.1542741871844; Tue, 20 Nov 2018 11:24:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: John Stultz Date: Tue, 20 Nov 2018 11:24:18 -0800 Message-ID: Subject: Re: [PATCH 0/2] SWIOTLB fixes for 4.20 To: Robin Murphy Cc: Christoph Hellwig , Konrad Rzeszutek Wilk , Marek Szyprowski , iommu@lists.linux-foundation.org, linux-arm-kernel , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 6:10 AM Robin Murphy 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 thanks -john