Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp796415imm; Fri, 27 Jul 2018 06:19:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeScE/Q7wkDFyfXo6t0LU0M8BX7Yb957kC8lWC2CvvegN/ORIu+oVj1AuKtMragrJpb51IS X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr6198760pgt.164.1532697597700; Fri, 27 Jul 2018 06:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532697597; cv=none; d=google.com; s=arc-20160816; b=Qsy6JgQWudgcXZgK9k0d0TODnVzl0I+enbCJTq94zLU4024O07kVICM0vDHf8YcBJE sNsmSsNaEWLiBUdp0EWPKKxH+bZ+9dYUOup0e1/rc4TQiJ0lgGN6q3pmW74t/v/U07On 8HV1MGOZpUReMIMnIMKZLT0EdfjhcvBjybNhEY9vCtsfkrBjJHKWkDPmS6Xs6trP1LmA 14jyjEPH9UU4HDYQJjex4sERTS9G6C8eQT6A60A6scXftSlJAGfv6ILvEj9wK2aR7+HX s/F0Hfkaw4blFvg81B6Ydo1WX7BcT4kCvTpXoTFW8qE7TV5E99MB/8RSFcr+zeQAC7SA 5ujg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=T6mEAVvS6ROwFcrld97r82T7iuYwu3pGQUiESTjgCSs=; b=d3CQ408Q9EmsN9BNtHuDWjUA5AKZ/1fKfpfi+jvh7sQvtHuBdPmrRJrqUubn9BCQE/ 5GbTGJACKvwsLAnEOOwCIHy2LesYycTrtNry9tsje0YVWoNURL+ROSoN6loQzrF48gK4 hn51d/3yxMGCMqXj9wqYrLFxbkXXu3PAewbZS+AH1ZNdSaH/BN0gRp6eCIzwYYsOeqIh bO/mRRKOdCHQaEueHJnZcmpKwuK4wNEmGKZ0jcTBTlPiqkP8AY9FUE80Uc08KqYHJFyb oWIrJQS7PTsupd402ATkGnAC/OnyNKnlph3Chu7soWjD/eV8xo5ykrSWQmVpJNMBqI5z yFfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yG5uDyp7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y63-v6si3777204pgb.5.2018.07.27.06.19.42; Fri, 27 Jul 2018 06:19:57 -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; dkim=pass header.i=@kernel.org header.s=default header.b=yG5uDyp7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388568AbeG0OkM (ORCPT + 99 others); Fri, 27 Jul 2018 10:40:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:43636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729568AbeG0OkL (ORCPT ); Fri, 27 Jul 2018 10:40:11 -0400 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F0FEB208B9; Fri, 27 Jul 2018 13:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532697497; bh=8i1yvTmC1huTf78EBqYiGO//lFJmzaBy6PwPOj1jgls=; h=In-Reply-To:References:From:Date:Subject:To:From; b=yG5uDyp7h1RnqiPHbB0dIUrK6Nry7zRk4PF0rdYdxCSE79inKdFJijrZEVUGUmqGb ZPGGBZc2fkVy4iRUAmU2hS8vracHk3oSheLNrlVJpSjEvKahKj2JMbP9NRghtD2SBq zvdiYUYEEEu+g4PgE/OCbsqldtFM/ylzGd3DUzMQ= Received: by mail-wr1-f52.google.com with SMTP id c13-v6so5037319wrt.1; Fri, 27 Jul 2018 06:18:16 -0700 (PDT) X-Gm-Message-State: AOUpUlGLd7B4LRG8luIWC+rLMPQYshA4noCAE9Sd5YEb9ckUoFrVwwkT Ko01nmg3GV52cwaXRRshw79x6skDfHfULUpItXo= X-Received: by 2002:adf:f390:: with SMTP id m16-v6mr4584120wro.279.1532697495451; Fri, 27 Jul 2018 06:18:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9141:0:0:0:0:0 with HTTP; Fri, 27 Jul 2018 06:18:14 -0700 (PDT) In-Reply-To: References: From: Krzysztof Kozlowski Date: Fri, 27 Jul 2018 15:18:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask) To: Robin Murphy , Ard Biesheuvel , Christoph Hellwig , Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner , Fugang Duan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof