Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp861327ybk; Wed, 13 May 2020 15:20:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPKwe1r03FAlxlGqfchFPLRZExIV3teOiJL0qHseaNNoRg4ayoJHcX+RyrPozy+tEoW5Gs X-Received: by 2002:a17:906:cb98:: with SMTP id mf24mr1214107ejb.146.1589408424279; Wed, 13 May 2020 15:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589408424; cv=none; d=google.com; s=arc-20160816; b=ZMlYKAscbXWwDK9GxDPVxiqtENNotekaiqGfVbMu4roYDyci3ByKSe0Dr+ShvRBwEY JgZrRP2k35gzunUi21aWt7rWksR0zkr+qhyHwoHtU1RHThHh6dOCTkLwZ0R2HVZuq99A Lkr5DvkBsGLHlVy+kXqpY7dyqFuaHOzTVvJNOvp6/TdosDpNu7iYAxX1ABtXT0TGsWwq N1tgLIC61KAFWE9B5Hy3lfxnZ/zvvyGxnCa2nCJIhf9l0Eyl1Y3pNJo2zOD25INuIzDR frriYjzSdjplPU2Mov4kv7HYAR0LW2yevXxPg1bFMbRKvtlkeZqH1vDxBNIoAG5ycQgv +lQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hi3ZVLDPU9nvXQzmyyA+gpWwzi6kmR7xnQGc+CZOTT4=; b=KtQGhqQFIalDi9X6vF2wtthqp/W81iQ4RuaHhprJ6G/QfQdN/az/RYWQa1ZpCtzKWW I/jRie8By3XyS17Xy04c+pMOSn6Qwgk08BmnDUvkr19YSvH0fVU05UYo/xYEUH6Xo1X9 X50OR9Vt1uRqEVzw2OF5wgA16UvH/JSH5PEpkVy+pXVjQE940lO7maNSC8vQ8MO6GNHl +HMg8hNmR8OsOeaijCNqAgfltvOywAXdguJcl2MFSpS9H03et1on6aICPxXWvCM7/6z2 wQd0BuXhp6TjaSVBnLrVmPbJ7BU9VU+W8unnfCiURLCp2cyZ0T1oDlYL7+/14cWOI/+1 VIiQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s27si667956ejf.2.2020.05.13.15.20.00; Wed, 13 May 2020 15:20:24 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730963AbgEMWQT (ORCPT + 99 others); Wed, 13 May 2020 18:16:19 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:53186 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730276AbgEMWQT (ORCPT ); Wed, 13 May 2020 18:16:19 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id A221C2A285C Subject: Re: next/master bisection: baseline.login on jetson-tk1 To: Joerg Roedel Cc: Marek Szyprowski , iommu@lists.linux-foundation.org, Joerg Roedel , linux-kernel@vger.kernel.org, linux-next@vger.kernel.org References: <5eb9fab4.1c69fb81.a1f1c.0e95@mx.google.com> <20200512151600.GD8135@suse.de> From: Guillaume Tucker Message-ID: Date: Wed, 13 May 2020 23:16:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200512151600.GD8135@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/2020 16:16, Joerg Roedel wrote: > Hi Guillaume, > > thanks for the report! > > On Tue, May 12, 2020 at 07:05:13AM +0100, Guillaume Tucker wrote: >>> Summary: >>> Start: 4b20e7462caa6 Add linux-next specific files for 20200511 >>> Plain log: https://storage.kernelci.org/next/master/next-20200511/arm/tegra_defconfig/gcc-8/lab-collabora/baseline-tegra124-jetson-tk1.txt >>> HTML log: https://storage.kernelci.org/next/master/next-20200511/arm/tegra_defconfig/gcc-8/lab-collabora/baseline-tegra124-jetson-tk1.html >>> Result: 3eeeb45c6d044 iommu: Remove add_device()/remove_device() code-paths > > Okay, so it faults at > > PC is at __iommu_probe_device+0x20/0x1b8 > > Can you translate that for me into a code-line, please? That would help > finding the issue. Sure, sorry for the delay. I've built my own image as vmlinux is not stored by kernelci and reproduced the problem: https://lava.collabora.co.uk/scheduler/job/2403076#L544 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 Hope this helps. Guillaume