Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp525673imn; Tue, 26 Jul 2022 02:22:42 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vKsg6YbNuldPMVnKDyQ2Rbh6X7jwLHF8ce78FF+Bc1L077UZ2eS3RnXquLGWdqYuHrNgu+ X-Received: by 2002:a05:6402:1e8f:b0:43a:ddfc:5c4e with SMTP id f15-20020a0564021e8f00b0043addfc5c4emr17648014edf.358.1658827362263; Tue, 26 Jul 2022 02:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658827362; cv=none; d=google.com; s=arc-20160816; b=IzZzL1AhNkKFro+CU91w8barRfvrH7UBGFFWZ/Bx7VdjJSRBEBaemU+sLwudbRYZZz 8lDx1q05OamXIAE5pTMZFAmtN09hr/x5IzqRtfULjdSNvST+hEmgB/RxYlzE3lBuzzkP OZvqCaYr1SLUbGMhY38zSUBlAcDJyKN631fzYJ5HMEQbblAJz7bKT+19Jz2O9kqpXXI/ ylNUfT4LNPC6I6Tinz/c2Gs+YiS9D5FDyke9pizQ4VMHBOorgxBBQdQJIeiQK+i473As 4ujFudlXnw0RdL6U0oczmkeF2dRaTBNEeQGSD7bV0Ikpds4pk2VQfc/uOs2G5nZg7uCj iP2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pAq42ao1YTooOwr1NrQpDBaQLMHRfAHTP/kyLO5Tw4Q=; b=XhFpFeyVxKz4L609P773n0HchzxJS5yvNHcfnHEkAcIbkFlh/DHM8f7wHhIV+nm5SO MjdR3PN66F8vW6tsxl/sS+NmzcMUWnYMv4g6mETCJvQw4QplVEQU7eU4xlbdrnR1cTlW oDTgt9t/CGVrwWxLTnbx4XBWYC/F0LIpBC3CU4eBMsGIyCnQ9XAVjnHLmdtWQcsct47I p13rDt6UCbIL1d80viJVJZ85y2RoWPxlbWc6oRSOYjShtetAOXfwyTwkqOefKYZcRNse GxuwpWh+BpC1WIxY4GoZZn6fetD3yGnIn1XcYpC/DSebqUoa0zRnCrEhLn0OUHvsGbPS gPLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VsukYp99; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp16-20020a170906c15000b0072f112ad84asi11300523ejc.151.2022.07.26.02.22.21; Tue, 26 Jul 2022 02:22:42 -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=@gmail.com header.s=20210112 header.b=VsukYp99; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237826AbiGZJPo (ORCPT + 65 others); Tue, 26 Jul 2022 05:15:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237675AbiGZJPn (ORCPT ); Tue, 26 Jul 2022 05:15:43 -0400 Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0552124F32; Tue, 26 Jul 2022 02:15:40 -0700 (PDT) Received: by mail-vk1-xa34.google.com with SMTP id z9so5919483vkb.9; Tue, 26 Jul 2022 02:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pAq42ao1YTooOwr1NrQpDBaQLMHRfAHTP/kyLO5Tw4Q=; b=VsukYp99jSahECFcFXsodoADb1yDdK1MTzG+DveLz68PrKw0DGfy9SVhkmt8MKBGRf n3R0WVRRFJS755SmXdovMz2pCEckMh0oGZW5B89YSzM/DimcGkJIO/sq3X8CFF6c6Mv/ nyIERB6HMYHNRMz1UsN3GJ+Z02aAw2qhVerainCw05Vw95lqyC5QskewKOmgZsif7n1o LcNTIQQ6PH/CPPznjdQFkA/hB2jTJ0zWAIjYxveCP/Oh7/ICLJRjpEo5Mwe7LyB41pL0 L7FuwiIAno9mN09dE874cj4ZBdjSMQ6GUGMwkNZZiX4pOZDlfJJj+1ps9cVvjvfd9GX1 tmyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pAq42ao1YTooOwr1NrQpDBaQLMHRfAHTP/kyLO5Tw4Q=; b=zNhMISWNrIM5ydEpJbuEh1wAddYuksxMbfHTUOArmIxkJ+HbctIiy/bLE+ezoRcbI6 2GZIG9EtMOZ/vyyLK66rxvQzoP86804CTA6FY2enNrjlF9uvac/dZRnj3hAXodqncy2o wX3oWA4+KweRjIvwAeStFgZi+c4peCsLp/OSMjSvXzdqGg9QPHtbOwKUPZqK9tQw1lr7 /e08Y0FZGhYI70ZM+ezosBHtQbCmVgOrXL7BvP/flRv38nFje3JuNyUeYpz8Nrr2OkCU 8ALZN477VoN6MKuMMItsysjkc19JokCMDR0UW70jTWA19kvRp6HKvVgEtkcrHFHQ9Qrv LDxQ== X-Gm-Message-State: AJIora/jk4ZxCdyKYAMDNCyZu+CvhOCjZBzPthrrthMXS5+AJUZ8isMx J1zdlP25PChECFOyZlNhJtVO8UWFOgTiF6CKwYycjeCn/M51WA== X-Received: by 2002:a1f:b6c8:0:b0:376:380a:b98d with SMTP id g191-20020a1fb6c8000000b00376380ab98dmr3696042vkf.27.1658826939018; Tue, 26 Jul 2022 02:15:39 -0700 (PDT) MIME-Version: 1.0 References: <20180912093456.23400-4-hdegoede@redhat.com> <20220724210037.3906-1-matwey.kornilov@gmail.com> <148f6cb9-aafc-4fd5-9e30-24078866d3fd@linux.intel.com> In-Reply-To: <148f6cb9-aafc-4fd5-9e30-24078866d3fd@linux.intel.com> From: "Matwey V. Kornilov" Date: Tue, 26 Jul 2022 12:15:28 +0300 Message-ID: Subject: Re: [BISECTED] igb initialization failure on Bay Trail To: Pierre-Louis Bossart Cc: Hans de Goede , Andy Shevchenko , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 =D0=BF=D0=BD, 25 =D0=B8=D1=8E=D0=BB. 2022 =D0=B3. =D0=B2 20:08, Pierre-Loui= s Bossart : > > > > 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 boa= rd 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... Additionally, it seems that the issue appears only when CONFIG_IGB=3Dm is used. When CONFIG_IGB=3Dy then both ethernets are initialized correctly. However, most (if not all) kernel configs in Linux distros use CONFIG_IGB= =3Dm > > > > > 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 queu= e(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 queu= e(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 queu= e(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 --=20 With best regards, Matwey V. Kornilov