Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp140546ybp; Wed, 16 Oct 2019 15:21:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzx+uyWqbCpyYae3d7KtjqHmAnpw9ztkRKlysABgTn40v2ugU3GrtFY6nD9Mzk+Oe0kaGYI X-Received: by 2002:a17:906:af46:: with SMTP id ly6mr616020ejb.330.1571264492531; Wed, 16 Oct 2019 15:21:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571264492; cv=none; d=google.com; s=arc-20160816; b=bc11rqVsq7MbavNhjQhG7fhuao+SIqEuETAGtZOFEQk0VCeiBUv8ByiZXy8Bn7kOBy 0JIj8dtXJOKkylEcqCAG3Sw/4lAQ9US6LBHgneI+c0ujoao+2qen/CTNtXpQhoqZ60ZX 5iqqwXii8WcCMVBZHshQHWxFoBg3cKdY8iXBzQuOefbknGLvEmMH9MdAUyqrvzlKFHWp sgQLymjgTTqX6wQkp5JG/mJK+VpNChFhCnMB3EOwVqka1lZjU+gfEKPPBefWli0ObW8Z K7NguanSzrpfODidIjH+9hvXLDUoBq0fi0osnL+6MKK5Nne6LqJxFHr6JXiDSKDw018S kIuw== 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=HUc2umIRYdu4x+2kp7boSLQywn3cqntwQrFxiY9w4pY=; b=I8apv0wNk/0ez6duTwJORTU47IVKo3qJzdVfWDvnlzoXr3Y29mYdCd6Vn8FdRGRwbm T1lJmnySY6PFSqjZtn0vUUmWJSssfyckEYKW8M9csi2JTuUh7Qg7MXV5qILyloJfoNo2 yG3JhJkYg6TYtUFyniXBdnhQ9eSnGDyZrju/jwXvATehpR2N0V4gZ8mE1aq4y+WDRYfI xn9VJIZ8Ar+ljojkF8BmloNSisO6UAfehbJb1itr/rUa64P5hLAfiSckHcv6r0T+vcLV Anw7ymW7xzcbUr63nUj7bInI00bs86d4eLAq7FLTpRJrQlvHryPbhYEi1QcbJMOP86+a cwXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fy7si253665ejb.13.2019.10.16.15.20.33; Wed, 16 Oct 2019 15:21:32 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394165AbfJPPbQ (ORCPT + 99 others); Wed, 16 Oct 2019 11:31:16 -0400 Received: from mx2.suse.de ([195.135.220.15]:39408 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726332AbfJPPbQ (ORCPT ); Wed, 16 Oct 2019 11:31:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CCA7EAC9A; Wed, 16 Oct 2019 15:31:14 +0000 (UTC) Date: Wed, 16 Oct 2019 17:31:12 +0200 From: Joerg Roedel To: Qian Cai Cc: Tom Murphy , Robin Murphy , Christoph Hellwig , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: "Convert the AMD iommu driver to the dma-iommu api" is buggy Message-ID: <20191016153112.GF4695@suse.de> References: <1571237707.5937.58.camel@lca.pw> <1571237982.5937.60.camel@lca.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571237982.5937.60.camel@lca.pw> 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 Qian, thanks for the report! On Wed, Oct 16, 2019 at 10:59:42AM -0400, Qian Cai wrote: > On Wed, 2019-10-16 at 10:55 -0400, Qian Cai wrote: > > Today's linux-next generates a lot of warnings on multiple servers during boot > > due to the series "iommu/amd: Convert the AMD iommu driver to the dma-iommu api" > > [1]. Reverted the whole things fixed them. > > > > [1] https://lore.kernel.org/lkml/20190908165642.22253-1-murphyt7@tcd.ie/ > > > > BTW, the previous x86 warning was from only reverted one patch "iommu: Add gfp > parameter to iommu_ops::map" where proved to be insufficient. Now, pasting the > correct warning. I am looking into it and may send you fixes to test. Thanks, Joerg