Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp63254imn; Mon, 25 Jul 2022 10:11:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vyn/mJDwbyd7ASYGYSLO8hQfIq7IdjSajvIEsk0RTTG/1unN4mJvE7/cvkPsbxxa56v++S X-Received: by 2002:a63:220d:0:b0:41a:a604:8540 with SMTP id i13-20020a63220d000000b0041aa6048540mr11933037pgi.390.1658769070272; Mon, 25 Jul 2022 10:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658769070; cv=none; d=google.com; s=arc-20160816; b=WVV2vdm1n7JXRYzItLJOyQpLSIUpu73XlSH+K0mN4iISogo5MWNS8iJjuPYQgdZiKw cdtJg1EcF3MBmqcpY60iCeBiTu2b+FOMaQqYs46FpCUAoTxJQJ6VxKsoH8JK3wvq/9Ct Url79nHYIuYlFgJErOHGWyUpW8blgk+bYBrGw9ksZMSAy9QcnI03y+5j7wy7JIgqh1/m zhCWpm5mBwDGCp5osgxBv1zZzIcfYkxBj0d9GLwJ00TvXuoN6X6wb8I2dSBtisI/xuiW dan6g9MX3RFYeW0x1hKC4lugkWatYfeQp05OMxl+kz8kWMzCQhFoqrKct/KH6u0cE9Nc OsRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PN7KzK4YWI4XLFC1w5RYZ4KI46AFK9CbFZY+LqXzP+M=; b=0TQtAN1XX+BcMaYX+T92q92zYTvczvs4CE3o7gFLtOfJ5xlBQgm9lZ+4gTtYV7DGYQ 8JtNtXXk9+0gus77xXlcWe/OpHoEINHZJNmgjcXsq8x9V5NfDcNO4HoE8MNSrKxOpPc/ MuVdEm0Uq8XyvhXqV6/b+85GsEBLZquh+0OdunWLJIRFbNpk+u84JFtq1Mmgj2dxzuUW h4+NaqpOcNK4OgUT9Mh8W2EZK86ZKDzsYmG4+9vsCyMyYLCFyQR/WWpo/m/jUzVLGRoW M0mo0XnbN2dNmly12MQpUFlGTjtjivNYJ9Rk1SCZK4nkNQTJjGlcI88jt0vko2xvuGDe zX0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K3egCreI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z17-20020aa79f91000000b0052ad6e04b95si13452945pfr.202.2022.07.25.10.11.00; Mon, 25 Jul 2022 10:11:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K3egCreI; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236645AbiGYRIg (ORCPT + 65 others); Mon, 25 Jul 2022 13:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235991AbiGYRIe (ORCPT ); Mon, 25 Jul 2022 13:08:34 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D59717A8C; Mon, 25 Jul 2022 10:08:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658768913; x=1690304913; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=sSdI+BU9e3YX5dM7OgmzfeHQiDsLJgc/tN6SHdRbQbE=; b=K3egCreI9cpkezxpMXJbaL/YMPbWhdJ6lhTl6x5qj+BT80VX2BE7S5li oqfp+d5LPU6/4b3LhX3UU41Vbx1N0OK7jZa441wVx8xCdIkXMFuDnl0Bl U9d6VwkhIjFDoEazKH2YoFG68d7XMVIZ0/wioeCpnfeBhfVgFHnt37wFj 2PpMsrJ4RKTBX040pRjMSdMjeZwgeujJn8xjUyX24EKjwIYJuFABda97o zfBOXCzTVJpzp2Q7xz+R7CBOx7A3LA6mFQx0GO7NgUKXkaNCbkaTjReca SqICogQniHWApMeKY635Q1pBRtc1caS1VhU/fPWrp9PMwqdrAvYHJdgiv w==; X-IronPort-AV: E=McAfee;i="6400,9594,10419"; a="287760223" X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="287760223" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2022 10:08:33 -0700 X-IronPort-AV: E=Sophos;i="5.93,193,1654585200"; d="scan'208";a="550062694" Received: from jxzhao-mobl.amr.corp.intel.com (HELO [10.212.0.178]) ([10.212.0.178]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2022 10:08:31 -0700 Message-ID: <148f6cb9-aafc-4fd5-9e30-24078866d3fd@linux.intel.com> Date: Mon, 25 Jul 2022 10:32:27 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [BISECTED] igb initialization failure on Bay Trail Content-Language: en-US To: "Matwey V. Kornilov" , hdegoede@redhat.com Cc: andriy.shevchenko@linux.intel.com, carlo@endlessm.com, davem@davemloft.net, hkallweit1@gmail.com, js@sig21.net, linux-clk@vger.kernel.org, linux-wireless@vger.kernel.org, mturquette@baylibre.com, netdev@vger.kernel.org, sboyd@kernel.org References: <20180912093456.23400-4-hdegoede@redhat.com> <20220724210037.3906-1-matwey.kornilov@gmail.com> From: Pierre-Louis Bossart In-Reply-To: <20220724210037.3906-1-matwey.kornilov@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 7/24/22 16:00, Matwey V. Kornilov wrote: > Hello, > > I've just found that the following commit > > 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") > > breaks the ethernet on my Lex 3I380CW (Atom E3845) motherboard. The board is > equipped with dual Intel I211 based 1Gbps copper ethernet. It's not going to be simple, it's 4 yr old commit that fixes other issues with S0i3... > > Before the commit I see the following: > > igb 0000:01:00.0: added PHC on eth0 > igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection > igb 0000:01:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 4c:02:89:10:02:e4 > igb 0000:01:00.0: eth0: PBA No: FFFFFF-0FF > igb 0000:01:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s) > igb 0000:02:00.0: added PHC on eth1 > igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection > igb 0000:02:00.0: eth1: (PCIe:2.5Gb/s:Width x1) 4c:02:89:10:02:e5 > igb 0000:02:00.0: eth1: PBA No: FFFFFF-0FF > igb 0000:02:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s) > > while when the commit is applied I see the following: > > igb 0000:01:00.0: added PHC on eth0 > igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection > igb 0000:01:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 4c:02:89:10:02:e4 > igb 0000:01:00.0: eth0: PBA No: FFFFFF-0FF > igb 0000:01:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s) > igb: probe of 0000:02:00.0 failed with error -2 > > Please note, that the second ethernet initialization is failed. > > > See also: http://www.lex.com.tw/products/pdf/3I380A&3I380CW.pdf