Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1156502ybg; Thu, 4 Jun 2020 02:28:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQTCqRTiIkc3qw4BnDcuVPv9WNlYxE79XlRWpGSJAseMThKdwrJrNlvVmIUN7CQQnxeJb4 X-Received: by 2002:a50:9d46:: with SMTP id j6mr3520388edk.362.1591262926756; Thu, 04 Jun 2020 02:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591262926; cv=none; d=google.com; s=arc-20160816; b=KMHAYc9fJiIZ2j81IXSdlVSxzP1C3G4xe7Yc+LPzX3BxLDr4sQJTjmznSxn8dzWL7f gawVBqInB0Og5Ms06JPHCn66dRl6dwGEWI0l5Xdw0IJP1OuEgMsbM1KXZuXVFf4unpkZ TbeChQhIGa8icOTNODn7/9snIteBTMj5ZP3Mld99B1pf5jgdVaBM06M56926yR7MjX6z SjKLMAnDwTp8FPUt2Nu/7eCkjAvyFgZHZ1G4isquQF4kmUyvU0gpkp/DtMqogmavj8Bs hayiaPBWhr+3tQfQ0hSa1CA9F15T+JFhiDYQgxXuNhyaMjKxuDrwgdieTh12mnqRzsDh 5cMQ== 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; bh=eJTgyvNNyU0Pkwpt4G3mAh2RS1BII3iKUTO7hU9FUC8=; b=FYLeEHDM0d29s2PuXSKp+3LM8f30fbvS7z/XKpHHX8igzz8554uIFE80vgnbrflR1Q Ev3vQpih3krOKdjJ057+Uj+vV05UyRaCsr/6ifsLPk66M2Pj8TFt3+nB0gGjSv28NZHQ wP3mnFY1hpuny40tX0UAzjQ5Q47ZC/XIh/tsOdFAMqq6aCCs6vxPe9RaWzeR9Zp4ccoj mt3ovN/C9ABLT0i+pMUD/Xs7NE+qh0vHT5UQRa/3S2lkXu27O7EbyDwXzAQIk34mjt6I rslSVPl+CPL88rfpS72Mipvd49vVljqJQd2DtEG/vGcf2b8xFr+PaY8okQClMAZwgeoT N7Dw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a39si1431712edf.25.2020.06.04.02.28.23; Thu, 04 Jun 2020 02:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726814AbgFDJQX (ORCPT + 99 others); Thu, 4 Jun 2020 05:16:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:50906 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726567AbgFDJQW (ORCPT ); Thu, 4 Jun 2020 05:16:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 51022AB87; Thu, 4 Jun 2020 09:16:25 +0000 (UTC) Date: Thu, 4 Jun 2020 11:16:19 +0200 From: Joerg Roedel To: Jerry Snitselaar Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [PATCH] iommu: Don't attach deferred device in iommu_group_do_dma_attach Message-ID: <20200604091619.GO6857@suse.de> References: <20200604073142.74701-1-jsnitsel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604073142.74701-1-jsnitsel@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jerry, On Thu, Jun 04, 2020 at 12:31:42AM -0700, Jerry Snitselaar wrote: > Attaching a deferred device should be delayed until dma api is called. > > Cc: iommu@lists.linux-foundation.org > Suggested-by: Joerg Roedel > Signed-off-by: Jerry Snitselaar > --- > If you already have thrown a patch together, then ignore this. Also > feel free to swap out the signed-off-by with your's since > this is more your patch than mine. You can put a reviewed-by > and tested-by instead for me. Yeah, I already have a patch, just not sent out yet. I updated it with your tags and will send it out shortly. Regards, Joerg