Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1942910imm; Thu, 24 May 2018 03:20:15 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo9atqKSRgwv3VfYrQUxqh6DmN3Ma5IS4+j3bhiU8F5IqWkg4rmU9Sdof0rYHP+agWbRQda X-Received: by 2002:a65:4d8e:: with SMTP id p14-v6mr5160010pgq.296.1527157215373; Thu, 24 May 2018 03:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527157215; cv=none; d=google.com; s=arc-20160816; b=JcWkpnHKe8sxKYy3lhjS/re7sO2e2goNkZgfT7IScM1jkAqu8xlkq9xKQ4OaLHLALh HzNm1R9TEWz0zMHyR0tx0Gwbkuq77XmhIwTJEjvzLTa/Ly7DV5EZMAU4gSviChrhhK/I 1Z6S6Hv/WVJhRe7qWecGlCamwjMsGMgB6ho/nJi7fOB+VA1zMcuxQsMWr4LjXMRoLTAS CSA9UiBiNp/oPn/wVjfkt4l4wdYbc3bUpbWsUsT/00wAS8rnp/Gimg9PY0B6IUia3GEY jKBkEfz5IvDcGCCleuSMPmFrmR7rsWIqdvbsjvU3XrxbcFTjW73+dlMCECVJBeEdjBKT zf0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=AgfAnr3F71f2HGlFQaC+IiypS6FSCei6jdtufX4+7NE=; b=W5TbIFPXwZVbbFqQ8v2heG10l7/rYZnjf8ODQ/hVYZlUtaF+Y+bRlinnjeVqWuUjV7 o8w6X29i7Mm00xXW5B5bwoYN+7u+szgH9fDTyXmD5HLmJhn4Vv4Czfj6azn1ESd4uBcH Gp8uQB/Ezyo8Mlh30UjDSJaDkaSEP4maeYjkT6IgJL/cCYFpn6d7FnQfkY9BFO/UpQxi BM2QKIYmvK5R74SLKAF/yhHkuouCqgy+RNJ2CrrwHIMbMrVAlSn8eFLitQgMvGaZLJAV gfbRLjZtR3qXQlhTlFvnsetyCfeET5KHwijKG1+AZFWwuXspbygfiH5yT6Rf6gIoNR62 SN5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay9-v6si22402053plb.259.2018.05.24.03.20.00; Thu, 24 May 2018 03:20:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031911AbeEXKTN (ORCPT + 99 others); Thu, 24 May 2018 06:19:13 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:15107 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031552AbeEXKTI (ORCPT ); Thu, 24 May 2018 06:19:08 -0400 Received: from localhost (victim.blr.asicdesigners.com [10.193.185.129]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id w4OAIsHk015341; Thu, 24 May 2018 03:18:54 -0700 Date: Thu, 24 May 2018 15:48:55 +0530 From: Ganesh Goudar To: Bjorn Helgaas Cc: Jeff Kirsher , Michael Chan , Ariel Elior , "David S. Miller" , linux-pci@vger.kernel.org, everest-linux-l2@cavium.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Tal Gilboa , Tariq Toukan , Jacob Keller , Jakub Kicinski Subject: Re: [PATCH v6 0/5] PCI: Improve PCIe link status reporting Message-ID: <20180524101853.GA4913@chelsio.com> References: <152537719056.62474.2571390812509425478.stgit@bhelgaas-glaptop.roam.corp.google.com> <20180523214651.GE150632@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180523214651.GE150632@bhelgaas-glaptop.roam.corp.google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, May 05/23/18, 2018 at 16:46:51 -0500, Bjorn Helgaas wrote: > [+to Davem] > > On Thu, May 03, 2018 at 03:00:07PM -0500, Bjorn Helgaas wrote: > > This is based on Tal's recent work to unify the approach for reporting PCIe > > link speed/width and whether the device is being limited by a slower > > upstream link. > > > > The new pcie_print_link_status() interface appeared in v4.17-rc1; see > > 9e506a7b5147 ("PCI: Add pcie_print_link_status() to log link speed and > > whether it's limited"). > > > > That's a good way to replace use of pcie_get_minimum_link(), which gives > > misleading results when a path contains both a fast, narrow link and a > > slow, wide link: it reports the equivalent of a slow, narrow link. > > > > This series removes the remaining uses of pcie_get_minimum_link() and then > > removes the interface itself. I'd like to merge them all through the PCI > > tree to make the removal easy. > > > > This does change the dmesg reporting of link speeds, and in the ixgbe case, > > it changes the reporting from KERN_WARN level to KERN_INFO. If that's an > > issue, let's talk about it. I'm hoping the reduce code size, improved > > functionality, and consistency across drivers is enough to make this > > worthwhile. > > > > --- > > > > Bjorn Helgaas (5): > > bnx2x: Report PCIe link properties with pcie_print_link_status() > > bnxt_en: Report PCIe link properties with pcie_print_link_status() > > cxgb4: Report PCIe link properties with pcie_print_link_status() > > ixgbe: Report PCIe link properties with pcie_print_link_status() > > PCI: Remove unused pcie_get_minimum_link() > > > > > > drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 23 ++----- > > drivers/net/ethernet/broadcom/bnxt/bnxt.c | 19 ------ > > drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 75 ---------------------- > > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 47 -------------- > > drivers/pci/pci.c | 43 ------------- > > include/linux/pci.h | 2 - > > 6 files changed, 9 insertions(+), 200 deletions(-) > > I applied all of these on pci/enumeration for v4.18. If you'd rather take > them, Dave, let me know and I'll drop them. > > I solicited more acks, but only heard from Jeff. Sorry for that, Thanks for cxgb4 changes.