Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2793370iog; Mon, 20 Jun 2022 05:04:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sjjcwn57/ppsN+sWxIE3zAy4y5zHdRauPLDCXpjM+ytlTVcNZabOKMdntJ+4o4vsoiQnix X-Received: by 2002:a05:6402:2687:b0:430:328f:e46b with SMTP id w7-20020a056402268700b00430328fe46bmr29062961edd.33.1655726640188; Mon, 20 Jun 2022 05:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655726640; cv=none; d=google.com; s=arc-20160816; b=tshxb0+5qz61mAQz+36Zdtuvvys+8u9xslBgR/8XWtO0O+czF9RCUfsTX3f+Z61qXg RzGaxY5HKj8tj89j6zAIQ/SYIOYRzKvBXXwlLkrOqY9rn6xI56gLmldWdKX54jZ6pji7 absfmC5wDaIA/rjgbA/EXL1d2iNDDMVyw0SmYQZ89DzyDQuACVZiZMEBGWWTX/nX9bds x0XMDE+9t+ijNWFbTFAqT8s7yl2a2M3D6oByi9FRYZYhStZbzQiSfhreTYxT52VfdZiQ ZDjF9AyQQuLoIn+wSxEUo9AAkz10ibh3O9ZQnNQ0ScHbqrSMUpX66x+J08pcLEYdebNT wWug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=DF7IXatyZcfmlzK8+a+MhGWDcx/oKyhm00O2IupG+FQ=; b=ZbuegM2g0V/ygJra4ngzKTUUyiZAGvoAAe/nCkWfxXsM16yrlDuoj9PNcFK0uXgdvm uJwUqLDANzz8LP+QaWc/Obozs9mTtXcSHCY5pszF8iB2H4s3OhHg3x+2tCOBu0RWLKum 8pcsXrIvq1d0fWAdmfiN0ye28VxyTGsxx3Vylr+efxt7YIbuCgIgfjnaM7rS3ykQTy8P fvwqBu7bV0OqwTn0jdzYJkYT0YFB04fiCXq3+gBG1xASaxyfwCRdYnbibMhAUv3u5gd4 vsr9o6aAhguqs/5NlPaDzSHuYMMLbia37UDUqyceJsPGtJCHxRG6kwGRIs4W3Y7amahx 67uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm2 header.b=mlrVNjTC; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=t7pOi2Fr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ed9-20020a056402294900b0043586d19cf9si1623877edb.465.2022.06.20.05.03.32; Mon, 20 Jun 2022 05:04:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kroah.com header.s=fm2 header.b=mlrVNjTC; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=t7pOi2Fr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242008AbiFTL47 (ORCPT + 99 others); Mon, 20 Jun 2022 07:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241536AbiFTL4z (ORCPT ); Mon, 20 Jun 2022 07:56:55 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D0D17E1C; Mon, 20 Jun 2022 04:56:54 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B41865C0181; Mon, 20 Jun 2022 07:56:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 20 Jun 2022 07:56:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1655726213; x=1655812613; bh=DF7IXatyZc fmlzK8+a+MhGWDcx/oKyhm00O2IupG+FQ=; b=mlrVNjTCvYnNl5CCKcdeL0DydB Q1lav+HH1xUKrcd06uN0JAVYiLwnWsYL3/zm8jKqEki+oatveBtvR4nlQOHb6wJm cgXxfiNiME7dVy2rmplDAYaluH6H0JI/Pcfnw8G05UxalQ1e/EYIbM6IlKCpFWAJ 3ycjWSZ9fLJRWDqvC7hzm3aVMbduqhY8Si1I8gsbd4ZLSqKaJVwUwPmW2Ct3feHY xtu95HhZ+OVIfJpT1ZJHfPv63mRkaY9s4tIWkqK5KL2zfcJhNFrPh3t2ly9hRO/x aJIZeyi3WsHO/WHQ9kBVzGRFPv+p4dBHwm5X436S4UpzT6RG5gE13kHV6glA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1655726213; x=1655812613; bh=DF7IXatyZcfmlzK8+a+MhGWDcx/o Kyhm00O2IupG+FQ=; b=t7pOi2FrxrrbySpK9wvrKZ9gV4es2g90+BcCCHXz6ohL xOOTuHFxP406cFJfRGFzE0CMt+jb4Y4p+NogFfrHN4yvzigsJCnE9GDkf1KsU44b swH4tMykh3rOQtqC3drKZVrl6AkEIgHPRdH5H6bKicfElmQE+UbNwSgCQJdi+XiB G3/XWYbKuExEN/ZCRJbF6DxE98MdeAFP+YXhtjYZA3Zc1+wXYst/EPX+rUfzZP+c NP/cy6AsbdySTuuulFB28nJzXK4kb2bVBDxSuQFZpKGyB3nQQOtOFBD/WaPle1/H xe8QNtRfqYv9Z5SLRl3WgT33wDd7vfiq5jx1g3pRaw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefuddggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepheegvd evvdeljeeugfdtudduhfekledtiefhveejkeejuefhtdeufefhgfehkeetnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorg hhrdgtohhm X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Jun 2022 07:56:53 -0400 (EDT) Date: Mon, 20 Jun 2022 13:56:51 +0200 From: Greg KH To: Meng Tang Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vinicius Costa Gomes , Dvora Fuxbrumer , Tony Nguyen Subject: Re: [PATCH 5.10 2/2] commit 1b5d73fb8624 ("igc: Enable PCIe PTM") Message-ID: References: <20220614011528.32118-1-tangmeng@uniontech.com> <20220614011528.32118-2-tangmeng@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220614011528.32118-2-tangmeng@uniontech.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org On Tue, Jun 14, 2022 at 09:15:28AM +0800, Meng Tang wrote: > In the 5.10 kernel version, even to the latest confirmed version, > the following error will still be reported when I225-V network card > is used. > > kernel: [ 1.031581] igc: probe of 0000:01:00.0 failed with error -2 > kernel: [ 1.066574] igc: probe of 0000:02:00.0 failed with error -2 > kernel: [ 1.096152] igc: probe of 0000:03:00.0 failed with error -2 > kernel: [ 1.127251] igc: probe of 0000:04:00.0 failed with error -2 > > Even though I confirmed that 7c496de538eebd8212dc2a3c9a468386b2640d4 > and 47bca7de6a4fb8dcb564c7ca4d885c91ed19e03 have been merged into the > kernel 5.10, but bug still occurred, and this patch can fixes it. > > Enables PCIe PTM (Precision Time Measurement) support in the igc > driver. Notifies the PCI devices that PCIe PTM should be enabled. > > PCIe PTM is similar protocol to PTP (Precision Time Protocol) running > in the PCIe fabric, it allows devices to report time measurements from > their internal clocks and the correlation with the PCIe root clock. > > The i225 NIC exposes some registers that expose those time > measurements, those registers will be used, in later patches, to > implement the PTP_SYS_OFFSET_PRECISE ioctl(). > > Signed-off-by: Vinicius Costa Gomes > Tested-by: Dvora Fuxbrumer > Signed-off-by: Tony Nguyen > Signed-off-by: Meng Tang > --- > drivers/net/ethernet/intel/igc/igc_main.c | 5 +++++ > 1 file changed, 5 insertions(+) Both now queued up, thanks. greg k-h