Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp954028imu; Wed, 28 Nov 2018 02:11:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/VwzSWEGvm01lMxvMbfi08vnLOePLsQaa+z5r4YENAVdFVu1qyteDozUM354gyHno9CMkde X-Received: by 2002:a62:5a03:: with SMTP id o3mr21056978pfb.19.1543399902079; Wed, 28 Nov 2018 02:11:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543399902; cv=none; d=google.com; s=arc-20160816; b=F5cjVnmCnEs85dzkBH223HABe0Qp724QHgQ1fWsM5k/8ID9ddiU+HanvzMq7jvHbUM yOTTIiNXVMghdWbjyGkmw3ymE8DuOamH4RdHovcWEWHfWuuOwLsDa2J4a8AD0Cnc8b4F optSat0//zcVZb2eVXWvq0yj/kO7PBdAlVLmYBf0eDPuD7LmwH9B0bBly2NTQjPd1P5K v7cU8knR2BnUxeFZKIESQDhdj+4UvMcBXxWqWfT/JAMEfisCZ0UyX5xoC70hALI5WkEF /faBRSHYqSZ7PVO86ATtLonIDPLxFHJuSb8k2FyCYLR8pcUSNEIc1fyvhd3t9i60VIPW djjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id:date :subject:cc:to:from; bh=3W9ejCSFYAoYLlvYErXHDV7+my25pMGLRzUgaIJdQdY=; b=Kn8W/Fg3VBcluv4C01w9aBM2u3pZMRXq8P7PHOvi4J5+YRiSoGIz90gdtQH9zn5uvQ AyqiOB+fQ5YGWi7p2Tqeik7/r2WbdjJnzllOGvQatvlHo660UsniDuefNprxMyWi8EHK IwPS+1v7qTdY9fpoodNhDmtcbYyXu32sVdVmvB1PcFHOlmLFn3096pz4wHBH0Mjeo9+t hCx6bXT1gFFyo+vsueehxV/8DjmcQhsR2VFdqVtk7ziECWTblhnY8yNgHHgZarUzwr37 jNHDlpR54HUn9AV/NtkbuGL3KPuDCaSU55aBXlrsc/hPx6lKz+1mVy4TlfpTdBw3GU9q SoeQ== 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 i69si7105962pgd.71.2018.11.28.02.11.27; Wed, 28 Nov 2018 02:11:42 -0800 (PST) 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 S1728136AbeK1VMA (ORCPT + 99 others); Wed, 28 Nov 2018 16:12:00 -0500 Received: from mx2.suse.de ([195.135.220.15]:59518 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727662AbeK1VL7 (ORCPT ); Wed, 28 Nov 2018 16:11:59 -0500 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 3E0F3AEFA; Wed, 28 Nov 2018 10:10:51 +0000 (UTC) From: Andreas Schwab To: Nicolas Ferre Cc: linux-riscv@lists.infradead.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: macb: probe of 10090000.ethernet failed with error -110 X-Yow: Here is my refrigerator full of FLANK STEAK...and over there is my UPHOLSTERED CANOE...I don't know WHY I OWN them!! Date: Wed, 28 Nov 2018 11:10:50 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PHY probing of the macb driver appears to be rather unreliable. Most of the time it doesn't work the first time, I have to reload the module several times to let it succeed. [ 40.530000] macb: GEM doesn't support hardware ptp. [ 40.530000] libphy: MACB_mii_bus: probed [ 41.450000] macb 10090000.ethernet (unnamed net_device) (uninitialized): Could not attach to PHY [ 41.510000] macb: probe of 10090000.ethernet failed with error -110 [ 1354.400000] macb: GEM doesn't support hardware ptp. [ 1354.410000] libphy: MACB_mii_bus: probed [ 1355.260000] macb 10090000.ethernet (unnamed net_device) (uninitialized): Could not attach to PHY [ 1355.300000] macb: probe of 10090000.ethernet failed with error -110 [ 1358.100000] macb: GEM doesn't support hardware ptp. [ 1358.110000] libphy: MACB_mii_bus: probed [ 1358.310000] Microsemi VSC8541 SyncE 10090000.ethernet-ffffffff:00: attached PHY driver [Microsemi VSC8541 SyncE] (mii_bus:phy_addr=10090000.ethernet-ffffffff:00, irq=POLL) [ 1358.320000] macb 10090000.ethernet eth0: Cadence GEM rev 0x10070109 at 0x10090000 irq 12 (70:b3:d5:92:f1:07) This is 4.20-rc4 on a HiFive-U. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."