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.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED, USER_AGENT_NEOMUTT autolearn=ham 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 36657C43381 for ; Sun, 17 Feb 2019 15:40:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6EF521929 for ; Sun, 17 Feb 2019 15:40:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="q+lCzRs9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728202AbfBQPkb (ORCPT ); Sun, 17 Feb 2019 10:40:31 -0500 Received: from pandora.armlinux.org.uk ([78.32.30.218]:39100 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728195AbfBQPkb (ORCPT ); Sun, 17 Feb 2019 10:40:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TTr5w3TxGXe/DHmKLv2pw7zJm4tYyOEIBlnetSQfkb4=; b=q+lCzRs9IoWaGLPKXuc62R+/K JnpOCrhF9nzEYM0qbEDHgs2yH6McEF6yiEMnGHVFIna7xjsJNZppKEtzxETOasWtmOkbcSeY3iV2U gFBDiClcySZr/Zfsr/YKzur0OJmnTU8yOgfAcRJevJlPbBhqDusfAP5QhCGIPEOADPCyU8JFzV+ld ukfeOAIc0Mju7igZ1JcQ3nwiumrfHIMNOCQxcTnrTMRA/ELduiOzF/jREbKxig8Mk+q1p9vV2HKBv Hc10wvkhr8HPDfzCtddnpU2RIewuWDG+PhW8RtXMgW3yyga0qK1RjjCx8vnt6beWWhYoj8OB/EpJa 8iJAo6U5A==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:36836) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gvOYN-000125-So; Sun, 17 Feb 2019 15:40:28 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.89) (envelope-from ) id 1gvOYM-0006P6-Qi; Sun, 17 Feb 2019 15:40:26 +0000 Date: Sun, 17 Feb 2019 15:40:26 +0000 From: Russell King - ARM Linux admin To: Heiner Kallweit Cc: Andrew Lunn , Florian Fainelli , "netdev@vger.kernel.org" Subject: Re: No traffic with Marvell switch and latest linux-next Message-ID: <20190217154026.tykxexcndx7l5urk@shell.armlinux.org.uk> References: <0907f213-df83-4bb8-8fad-21b1dedaeca5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0907f213-df83-4bb8-8fad-21b1dedaeca5@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Feb 17, 2019 at 04:34:32PM +0100, Heiner Kallweit wrote: > When testing latest linux-next on the ZII DTU I face the issue that no > traffic is flowing over the switch ports, even though in dmesg > everything looks good. Also PHY properly establishes the link. > > With 4.20.10 I don't have the issue and with 5.0-rc6 also not. > However on 5.0-rc6 I got the following, also number of network > interrupts seems to be very high (few minutes after boot). > Any idea what's going on? > > Andrew, IIRC you recently fixed some interrupt-related issue: > 7ae710f9f8b2 ("gpio: vf610: Mask all GPIO interrupts") > But the description doesn't seem to match this trace. I have a fix for the trace you have below, but it has nothing to do with no traffic. I'll send it out shortly. Which protocol are you using (ipv4 or ipv6)? Have you setup a bridge device containing the ports you wish to switch network traffic. Without a bridge device, DSA will by default treat each port as a separate port. The other thing that gets people is the ethernet interface connected to the DSA switch must be up _before_ bringing up any of the switch ports. > > irq 56: nobody cared (try booting with the "irqpoll" option) > CPU: 0 PID: 577 Comm: irq/38-400d1000 Not tainted 5.0.0-rc6 #1 > Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree) > [<8010c898>] (unwind_backtrace) from [<8010ad98>] (show_stack+0x10/0x14) > [<8010ad98>] (show_stack) from [<80149660>] (__report_bad_irq+0x38/0xb0) > [<80149660>] (__report_bad_irq) from [<80149478>] (note_interrupt+0x10c/0x294) > [<80149478>] (note_interrupt) from [<80149cac>] (handle_nested_irq+0xd8/0xf4) > [<80149cac>] (handle_nested_irq) from [<80384a64>] (mv88e6xxx_g2_irq_thread_fn+0x90/0xc0) > [<80384a64>] (mv88e6xxx_g2_irq_thread_fn) from [<80149c60>] (handle_nested_irq+0x8c/0xf4) > [<80149c60>] (handle_nested_irq) from [<8037ccd0>] (mv88e6xxx_g1_irq_thread_work+0x98/0xcc) > [<8037ccd0>] (mv88e6xxx_g1_irq_thread_work) from [<80147ff4>] (irq_thread_fn+0x1c/0x78) > [<80147ff4>] (irq_thread_fn) from [<80148280>] (irq_thread+0x124/0x1cc) > [<80148280>] (irq_thread) from [<8012f8e8>] (kthread+0x140/0x148) > [<8012f8e8>] (kthread) from [<801010e8>] (ret_from_fork+0x14/0x2c) > Exception stack(0x9f6c7fb0 to 0x9f6c7ff8) > 7fa0: 00000000 00000000 00000000 00000000 > 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 > handlers: > [] irq_default_primary_handler threaded [<44d6803f>] phy_interrupt > Disabling IRQ #56 > > > 36: 2030566 mscm-ir 79 Edge 400d1000.ethernet > 38: 1010437 gpio-vf610 2 Level 400d1000.ethernet-1:00 > 42: 0 mv88e6xxx-g1 3 Edge mv88e6xxx-g1-atu-prob > 44: 0 mv88e6xxx-g1 5 Edge mv88e6xxx-g1-vtu-prob > 46: 1010435 mv88e6xxx-g1 7 Edge mv88e6xxx-g2 > 49: 0 mv88e6xxx-g2 1 Edge mv88e6xxx-1:01 > 53: 0 mv88e6xxx-g2 5 Edge mv88e6xxx-1:05 > 54: 0 mv88e6xxx-g2 6 Edge mv88e6xxx-1:06 > 56: 100000 mv88e6xxx-g2 8 Edge mv88e6xxx-1:08 > 63: 0 mv88e6xxx-g2 15 Edge mv88e6xxx-watchdog > > Heiner > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up