Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1092065imu; Tue, 20 Nov 2018 11:32:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2V4QpTSHCGyiwipPjxh4mb8Xhb+c103/W0JIghEpDT28f3rx0c92mOtNcu0LrWTGAVLUN X-Received: by 2002:a63:608f:: with SMTP id u137mr3086285pgb.203.1542742375015; Tue, 20 Nov 2018 11:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542742374; cv=none; d=google.com; s=arc-20160816; b=jlMkPtQqW6Mt9/JKlPof9H0Dhv9zf9EmXTXIKNNgX3/tOQj3rYYRcpOp6kcjEHKL63 o3h0YWm2LrtnJv6t5MhgdH2iOXQbOi4vSWYm37nTJ0YLr6ris65qoJ4O1j7MFU1RMhu1 bt6lILCVCN1EZFuL6IpCnkBe+DOz3fsPCQHQ0FP2xRGhkfh5j3JBqubhT0qVcuV9fv/Z 8eC0MqPbjaq7ZIdft98VIxPm23vmxYTS755hoIvi/RmvYpZ7i9pNKuN1hs1MpTntVZPX +PQaK2LXYYbMZemEZXGkmdBSeNmy+vWvPQ8psqYkl+GFv+HqJ0qygZdexKpkCMdbbodJ DumA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qKj78wwkoTbA2c5GvuXOfhnao08lS9Joiojynra3Bdw=; b=kwK82+yTJHHl4p2a7v9PXz6lOiqyhcdzz6c1BNcy6eImL8pNCQDxikJETSjmhmnvHz +H1M6D72lRSGgV7KPDG4rXPfs8iKLm0x0881anZjD/c2Ie+8IqAJfa6rQOZXKJCHB8kV wb+JNx6I8/zpvi28N8ScfJk0ppsGk4nkht84/00oWtjq3R+q1VB8jueL5KtgE9QFDuAJ JoBuNNxm9YbWlBEag191XllhLplAGRKluIfKMYpM7zdhjvRCX0B4Z4oZ+FRw9MlC3I7g m8vvZf8pyk208iac2OLH5xNokH2xHWObxk0tgz0eQ02oQ0pUc6BC/489DtaIcbG0BHV9 PT9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=YHk8MyXn; 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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z66-v6si49112637pfb.104.2018.11.20.11.32.40; Tue, 20 Nov 2018 11:32:54 -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=@oracle.com header.s=corp-2018-07-02 header.b=YHk8MyXn; 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728161AbeKUDFQ (ORCPT + 99 others); Tue, 20 Nov 2018 22:05:16 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:55168 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbeKUDFQ (ORCPT ); Tue, 20 Nov 2018 22:05:16 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wAKGY7ju097457; Tue, 20 Nov 2018 16:34:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=qKj78wwkoTbA2c5GvuXOfhnao08lS9Joiojynra3Bdw=; b=YHk8MyXn/MFnK2dSUtr/t74WjkJ7vuGChwDheYX+/tM5eOYAeBR0Cwl7a3k/oUE2gBNe FfaKXz47Jhs9HGnjg2eqlG3eTIxcWlzofmGviwW069h4yiOsVC0wUt4ETkh1i4oVcgtF Dcnkm5abyCyEOs0DGgmr99SBE3dSGcx0pPD+dPa8cMdLjT8RGj+1TYpX7VBkZkIiXgVr 2M8Lc9fmpg71rulXq1gvCMbER15zUV/SkubQ6bVDM5PqLiEiRddAa8jMuG+wDbAOBe3U B7cDqVDTO+o/h1mNI68hH+xtUJink/Dr9CmuSKC9SLjLWrNPGeZAsfOsncx014F9SJ51 RA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2ntadtw0mf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Nov 2018 16:34:45 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wAKGYhAj017797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Nov 2018 16:34:44 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wAKGYgZ9006492; Tue, 20 Nov 2018 16:34:43 GMT Received: from char.us.oracle.com (/10.152.32.25) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Nov 2018 08:34:42 -0800 Received: by char.us.oracle.com (Postfix, from userid 1000) id AA2BF6A00D4; Tue, 20 Nov 2018 11:34:41 -0500 (EST) Date: Tue, 20 Nov 2018 11:34:41 -0500 From: Konrad Rzeszutek Wilk To: Christoph Hellwig Cc: Robin Murphy , m.szyprowski@samsung.com, john.stultz@linaro.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] SWIOTLB fixes for 4.20 Message-ID: <20181120163441.GD31199@char.us.oracle.com> References: <20181120160818.GC2492@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120160818.GC2492@lst.de> User-Agent: Mutt/1.8.3 (2017-05-23) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9082 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=873 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1811200147 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 05:08:18PM +0100, Christoph Hellwig wrote: > On Tue, Nov 20, 2018 at 02:09:51PM +0000, 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. > > This looks good modulo the minor nitpicks. > > Konrad, are you ok with me picking up both through the dma-mapping > tree? Yes, albeit I would want Stefano to take a peek at patch #2 just in case.