From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3292AC433DF for ; Thu, 14 May 2020 11:23:32 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB7B8206A5 for ; Thu, 14 May 2020 11:23:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB7B8206A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=8bytes.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 72981896DB; Thu, 14 May 2020 11:23:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JsX9ThN5NP6y; Thu, 14 May 2020 11:23:28 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 91B7C896E4; Thu, 14 May 2020 11:23:28 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6F593C0863; Thu, 14 May 2020 11:23:28 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 79A1DC016F for ; Thu, 14 May 2020 11:23:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 75D60879FE for ; Thu, 14 May 2020 11:23:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gh5Jt2V2zNk8 for ; Thu, 14 May 2020 11:23:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from theia.8bytes.org (8bytes.org [81.169.241.247]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9BE84879E7 for ; Thu, 14 May 2020 11:23:23 +0000 (UTC) Received: by theia.8bytes.org (Postfix, from userid 1000) id 490C9379; Thu, 14 May 2020 13:23:20 +0200 (CEST) Date: Thu, 14 May 2020 13:23:17 +0200 From: Joerg Roedel To: Guillaume Tucker Subject: Re: next/master bisection: baseline.login on jetson-tk1 Message-ID: <20200514112317.GH18353@8bytes.org> References: <5eb9fab4.1c69fb81.a1f1c.0e95@mx.google.com> <20200512151600.GD8135@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Cc: linux-next@vger.kernel.org, iommu@lists.linux-foundation.org, Joerg Roedel , linux-kernel@vger.kernel.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Wed, May 13, 2020 at 11:16:14PM +0100, Guillaume Tucker wrote: > which this time gave me: > > <4>[ 2.540558] PC is at iommu_probe_device+0x1c/0x15c > <4>[ 2.545606] LR is at of_iommu_configure+0x15c/0x1c4 > <4>[ 2.550736] pc : [] lr : [] psr: a0000013 > > which in turn brings us to: > > (gdb) l *0xc092e0e4 > 0xc092e0e4 is in iommu_probe_device (drivers/iommu/iommu.c:232). > 227 int ret; > 228 > 229 if (!dev_iommu_get(dev)) > 230 return -ENOMEM; > 231 > 232 if (!try_module_get(ops->owner)) { > 233 ret = -EINVAL; > 234 goto err_out; > 235 } > 236 Okay, so ops is NULL. I queued a fix for that in the iommu-tree. If you test the latest master branch the problem should be gone. Thanks for the report, Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu