From mboxrd@z Thu Jan 1 00:00:00 1970 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.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 3E6DDECE58D for ; Thu, 17 Oct 2019 17:52:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1802621925 for ; Thu, 17 Oct 2019 17:52:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=gmx.net header.i=@gmx.net header.b="Ki9RNvFZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436940AbfJQRwt (ORCPT ); Thu, 17 Oct 2019 13:52:49 -0400 Received: from mout.gmx.net ([212.227.15.15]:53191 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436896AbfJQRwt (ORCPT ); Thu, 17 Oct 2019 13:52:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1571334755; bh=JFTzIpl2vUzTaahVY6jDAfJ94neB1yDBl6CpIuujvEs=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Ki9RNvFZHRiS7BNyYH+p5jdMtCDRjjuPiYgffoyx8LO0s2mzsw8cGKG1ms87Z8lAd C4E5v2BMnIGuYFmLbN8ts6MRwQeuXrJNk+I1eeA8W53N7hWhQwxB8kbsQQCUuWQezd 1PMAd+BlaUqHlvxsJ4LCtI+azN4SjVb7NFqs4P/M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.162] ([37.4.249.112]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MYeQr-1iZEYL3Dt5-00VeyV; Thu, 17 Oct 2019 19:52:34 +0200 Subject: Re: lan78xx and phy_state_machine To: Daniel Wagner Cc: Woojung Huh , Andrew Lunn , netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org References: <20191014140604.iddhmg5ckqhzlbkw@beryllium.lan> <20191015005327.GJ19861@lunn.ch> <20191015171653.ejgfegw3hkef3mbo@beryllium.lan> <20191016142501.2c76q7kkfmfcnqns@beryllium.lan> <20191016155107.GH17013@lunn.ch> <20191017065230.krcrrlmedzi6tj3r@beryllium.lan> <6f445327-a2bc-fa75-a70a-c117f2205ecd@gmx.net> <20191017174133.e4uhsp77zod5vbef@beryllium.lan> From: Stefan Wahren Message-ID: <388beb72-c7e6-745a-ad39-cfbde201f373@gmx.net> Date: Thu, 17 Oct 2019 19:52:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191017174133.e4uhsp77zod5vbef@beryllium.lan> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:5KbIL5XYuSEW5O/V1kBxP+XAM1gCYsnxDhYduIq3rA8Oy0uC7Ky WrWhr1FY/JM0zHjBeePfPlWHTVR10MPMTmF9uFKUUdRVEseGcLSr2Oo3SAjfxpJhSN8WPK8 4MJugThd1Byoa3/24fYA5U6g+IsbO3cVN3Yh+VuQzJ9l1i1jOTNp8i5pNe/EdOdOroCrrOC 7vo62KvZ1da1yiVHWe4xg== X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i+08P7QytakrjcLS+9d50lVQKdfUgOPS+AIJbg6r2IMX5+a9Sg6TkwRUseXQ8NCsrco9 hQ+bb3DAFwPGTvVUGt5xSt8ZZH1WufnC4d8QjA48xTtI0s4QIZvZgXvkTxo5a4VxacvS9jjI8 xT7ksTCoLuEGWw2rIth+sQQ+W7DsdYXKDq2YJs9XOhAznYRFdO5xVCehYvK/+0OfZlJHd98MH EIDOLbVDO0u0Tnpi37RD1hY6+mGWYHFdykooqdJA17oFxEeptVIp0EIPMUPc= Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Daniel, Am 17.10.19 um 19:41 schrieb Daniel Wagner: > Hi Stefan, > > On Thu, Oct 17, 2019 at 07:05:32PM +0200, Stefan Wahren wrote: >> Am 17.10.19 um 08:52 schrieb Daniel Wagner: >>> On Wed, Oct 16, 2019 at 05:51:07PM +0200, Andrew Lunn wrote: >>>> Please could you give this a go. It is totally untested, not even >>>> compile tested... >>> Sure. The system boots but ther is one splat: >>> >> this is a known issues since 4.20 [1], [2]. So not related to the crash. > Oh, I see. > >> Unfortunately, you didn't wrote which kernel version works for you >> (except of this splat). Only 5.3 or 5.4-rc3 too? > With v5.2.20 I was able to boot the system. But after this discussion > I would say that was just luck. The race seems to exist for longer and > only with my 'special' config I am able to reproduce it. okay, let me rephrase my question. You said that 5.4-rc3 didn't even boot in your setup. After applying Andrew's patch, does it boot or is it a different issue? > >> [1] - https://marc.info/?l=linux-netdev&m=154604180927252&w=2 >> [2] - https://patchwork.kernel.org/patch/10888797/ > Indeed, the irq domain code looks suspicious and Marc pointed out that > is dead wrong. Could we just go with [2] and fix this up? Sorry, i cannot answer this question. Stefan > > Thanks, > Daniel > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel