Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp836532imm; Fri, 27 Jul 2018 07:02:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVvjFb0p2VkDn5im4m07acDDqSN/6tzzXWbdi+h1bKBwWShurrbdQG7YmB/swKnJgGBdZ0 X-Received: by 2002:a63:5e45:: with SMTP id s66-v6mr6260612pgb.151.1532700130822; Fri, 27 Jul 2018 07:02:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532700130; cv=none; d=google.com; s=arc-20160816; b=d44nkqS4DaQq/NWycoDloNI41kpytCc0tQ24CkinYG8TEuznD/RLnYNOchhZivHmn+ GQyDPrb1fSLxPHRlhf/t7JSHUjtnvx9hvcxHUHRHqAV51GimWcIfY0iE9GLDDnjVtKtx fRVZNnC2WAgUwz4agzK50IB6Ei5IrXtnn4va9ZqO9pH0R5E5gf5rn52gHJLYL2QmAjjU zxDP7o2o3TkhvqKD+WgNv6ySxHA4SI2VLaofG/Rk1llIZH4wxiBETerGFLc5OY5tUvAj 2fN8wZFnn1TSIyUOfDiZJ84IzEKidSFzJ3CtFd1DlTamyeI+r/EhZqVVJcvBqH41lhh6 hGQg== 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:arc-authentication-results; bh=ogOVlANR527c+4MSdoSgAMkDZo6U+DSVpef2qPpC5cU=; b=cR7HHnkjwz+j5XU4H8RfBuyT45FxKAFZwfF59Hew6Fcyo2o0qOtrp1U23jJ1z5Th9W oyosOGVg2aTZZ42Ut/OxFz+mEElSi0lSzuTeVINcb5qIqWZNLbU4no5+UhMAy8houkDk c7sbJUj0Dn2KcQq0H1pKVZaJPRPdgjl+5YB1hCjVyMcnus1OnsXl6kmAhNzIUy22PD7U vs3reN21RdMALZ/GNKvdo/hcgBZ3wGFTG+y4zCSktUeAtR/1sXPkx2NEVhz4fIOu5jyc bxmOevSJ6pAB09RjuMA4/WsxiwbkfwgCfrKlobDs72KIvofC1e6RIzWvxnh815oEcEPt 6CBQ== 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 w19-v6si3814167pfn.160.2018.07.27.07.01.54; Fri, 27 Jul 2018 07:02:10 -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 S2388344AbeG0PXB (ORCPT + 99 others); Fri, 27 Jul 2018 11:23:01 -0400 Received: from verein.lst.de ([213.95.11.211]:41496 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730561AbeG0PXB (ORCPT ); Fri, 27 Jul 2018 11:23:01 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id E8B4F68D60; Fri, 27 Jul 2018 16:04:48 +0200 (CEST) Date: Fri, 27 Jul 2018 16:04:48 +0200 From: Christoph Hellwig To: Krzysztof Kozlowski Cc: Robin Murphy , Ard Biesheuvel , Christoph Hellwig , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner , Fugang Duan Subject: Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask) Message-ID: <20180727140448.GA29001@lst.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 27, 2018 at 03:18:14PM +0200, Krzysztof Kozlowski wrote: > On 27 July 2018 at 15:11, Krzysztof Kozlowski wrote: > > Hi, > > > > On today's next, the bisect pointed commit > > ff33d1030a6ca87cea9a41e1a2ea7750a781ab3d as fault for my boot failures > > with NFSv4 root on Toradex Colibri VF50 (Iris carrier board). > > > > Author: Robin Murphy > > Date: Mon Jul 23 23:16:12 2018 +0100 > > OF: Don't set default coherent DMA mask > > > > Board: Toradex Colibri VF50 (NXP VF500, Cortex A5, serial configured > > with DMA) on Iris Carrier. > > > > It looks like problem with Freescale Ethernet driver: > > [ 15.458477] fsl-edma 40018000.dma-controller: coherent DMA mask is unset > > [ 15.465284] fsl-lpuart 40027000.serial: Cannot prepare cyclic DMA > > [ 15.472086] Root-NFS: no NFS server address > > [ 15.476359] VFS: Unable to mount root fs via NFS, trying floppy. > > [ 15.484228] VFS: Cannot open root device "nfs" or > > unknown-block(2,0): error -6 > > [ 15.491664] Please append a correct "root=" boot option; here are > > the available partitions: > > [ 15.500188] 0100 16384 ram0 > > [ 15.500200] (driver?) > > [ 15.506406] Kernel panic - not syncing: VFS: Unable to mount root > > fs on unknown-block(2,0) > > [ 15.514747] ---[ end Kernel panic - not syncing: VFS: Unable to > > mount root fs on unknown-block(2,0) ]--- > > > > Attached - defconfig and full boot log. > > > > Any hints? > > Let me know if you need any more information. > > My Exynos boards also fail to boot on missing network: > https://krzk.eu/#/builders/21/builds/799/steps/10/logs/serial0 > > As expected there are plenty of "DMA mask not set" warnings... and > later dwc3 driver fails with: > dwc3: probe of 12400000.dwc3 failed with error -12 > which is probably the answer why LAN attached to USB is not present. Looks like all the drivers failed to set a dma mask and were lucky.