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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 3FCF9C433DB for ; Mon, 29 Mar 2021 10:38:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05CC461930 for ; Mon, 29 Mar 2021 10:38:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbhC2KiZ (ORCPT ); Mon, 29 Mar 2021 06:38:25 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:47982 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230452AbhC2KiG (ORCPT ); Mon, 29 Mar 2021 06:38:06 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F88DP4njmz1qt3f; Mon, 29 Mar 2021 12:37:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F88DP3XYVz1r1M0; Mon, 29 Mar 2021 12:37:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qHhjco2SiS_B; Mon, 29 Mar 2021 12:37:56 +0200 (CEST) X-Auth-Info: SY4jm4BlGYZhw3PVScWDgiAb4jYC06Zb+UoxBWZYT/IpA/DcokoI2XiNNWuYVXSw Received: from igel.home (ppp-46-244-184-171.dynamic.mnet-online.de [46.244.184.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 29 Mar 2021 12:37:56 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id E93BA2C3258; Mon, 29 Mar 2021 12:37:55 +0200 (CEST) From: Andreas Schwab To: Zong Li Cc: Paul Walmsley , Palmer Dabbelt , Stephen Boyd , Pragnesh Patel , Albert Ou , Michael Turquette , "linux-kernel@vger.kernel.org List" , linux-clk@vger.kernel.org, linux-riscv Subject: Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740 References: <20201209094916.17383-1-zong.li@sifive.com> <87v99qyjaz.fsf@igel.home> <87lfaj7cki.fsf@igel.home> <871rc4on36.fsf@igel.home> <87a6qrk2pw.fsf@igel.home> <874kgyfetu.fsf@igel.home> X-Yow: I feel like I'm in a Toilet Bowl with a thumbtack in my forehead!! Date: Mon, 29 Mar 2021 12:37:55 +0200 In-Reply-To: (Zong Li's message of "Mon, 29 Mar 2021 18:18:42 +0800") Message-ID: <87h7kukzy4.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Mär 29 2021, Zong Li wrote: > Yes, I could get the network problem by using the defconfig you > provided, the system hung up when executing 'ifconfig' immediately > after installing macb driver module, the network can work by only > reverting the commit 732374a0b440d9a79c8412f318a25cd37ba6f4e2. But the > network is fine by using the mainline's defconfig, this is a little > bit weird, I will check that and try to find the difference. My guess would be that it is an init dependency problem between the phy driver and the clock driver, which causes the clock to be enabled too late. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 7D676C433DB for ; Mon, 29 Mar 2021 18:32:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CF5B61959 for ; Mon, 29 Mar 2021 18:32:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CF5B61959 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=pdXeenld8uvE9/9W32hLZoYmdODh13jYYfF6kXpL624=; b=lf8OWQyxGM2kz25yNW4XPQSOV GYsASzadrbXmj+FtUZmu3iO57fo/bcYX16L/oBn28WjXqHuZ0evcVwlHevXC4OLGJz03oGUoTMlfZ vMnAfCYwSgs3Gw0O7Hfeki69hcGZjOUpypM0c2+LXTTPpnebqOnPxQwTSPz4CgHAw3cQUIh9SOcTv EYXkcOPHOJmNMIieUbRbh+o7yffkEXst+g7uhQdrlpqH2M12vBmV84Edlu4OW8hd/hoAWKF6rMATY pyjKOZ3cCJQUJHJ4QLWpivAFgJaDfayZxwTMNUSpi31gniZ02DlLxl1/thSYxrD0CxaAtBvdzrZnb pPnH4XwNQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwg5-0014AC-V7; Mon, 29 Mar 2021 18:31:54 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpHW-000aar-5e for linux-riscv@lists.infradead.org; Mon, 29 Mar 2021 10:38:04 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4F88DP4njmz1qt3f; Mon, 29 Mar 2021 12:37:57 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4F88DP3XYVz1r1M0; Mon, 29 Mar 2021 12:37:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qHhjco2SiS_B; Mon, 29 Mar 2021 12:37:56 +0200 (CEST) X-Auth-Info: SY4jm4BlGYZhw3PVScWDgiAb4jYC06Zb+UoxBWZYT/IpA/DcokoI2XiNNWuYVXSw Received: from igel.home (ppp-46-244-184-171.dynamic.mnet-online.de [46.244.184.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 29 Mar 2021 12:37:56 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id E93BA2C3258; Mon, 29 Mar 2021 12:37:55 +0200 (CEST) From: Andreas Schwab To: Zong Li Cc: Paul Walmsley , Palmer Dabbelt , Stephen Boyd , Pragnesh Patel , Albert Ou , Michael Turquette , "linux-kernel@vger.kernel.org List" , linux-clk@vger.kernel.org, linux-riscv Subject: Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740 References: <20201209094916.17383-1-zong.li@sifive.com> <87v99qyjaz.fsf@igel.home> <87lfaj7cki.fsf@igel.home> <871rc4on36.fsf@igel.home> <87a6qrk2pw.fsf@igel.home> <874kgyfetu.fsf@igel.home> X-Yow: I feel like I'm in a Toilet Bowl with a thumbtack in my forehead!! Date: Mon, 29 Mar 2021 12:37:55 +0200 In-Reply-To: (Zong Li's message of "Mon, 29 Mar 2021 18:18:42 +0800") Message-ID: <87h7kukzy4.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_113802_349407_AA7B69C8 X-CRM114-Status: GOOD ( 14.98 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org T24gTcOkciAyOSAyMDIxLCBab25nIExpIHdyb3RlOgoKPiBZZXMsIEkgY291bGQgZ2V0IHRoZSBu ZXR3b3JrIHByb2JsZW0gYnkgdXNpbmcgdGhlIGRlZmNvbmZpZyB5b3UKPiBwcm92aWRlZCwgdGhl IHN5c3RlbSBodW5nIHVwIHdoZW4gZXhlY3V0aW5nICdpZmNvbmZpZycgaW1tZWRpYXRlbHkKPiBh ZnRlciBpbnN0YWxsaW5nIG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