Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3996256yba; Mon, 29 Apr 2019 11:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/efQCgUKC/7eDuG16A5KCmh4X9Oo2K4ckRBHbKx8kdjspfCNoApS5ku0xvJtlAieXy6zv X-Received: by 2002:a63:1701:: with SMTP id x1mr10695759pgl.153.1556564256303; Mon, 29 Apr 2019 11:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556564256; cv=none; d=google.com; s=arc-20160816; b=AgFPotmkPWvukjtsms5AJ8CzWiJ79HWm1Mf2LJUuunB+t/xsX+zzpeOTyVmdGny/hu n/Hu5fa8mt+aJxIKkuDdKJxQ38jFJMaCkeL9mFMPSGflU4aHN2KDg6iV8apH/DL1hn4e JCj02ciXMIXthtqTeeAm3BhTWnEN6CNLfvvR75mti1RbFDCqb1NlwKU9vwPOCVE/a80l 4jLnnsKu9d7mRkl2ZFT2cNSucRRHiAGlbepp0aQi4UICnzQH1HXdiEeplaNaA6MJr5rC o1EmAdKzUvQ/SPCSDQxD/NVclWzy5IMcb9MNqfEYpuZM5JxdtxCGVpdy5eJAHQmfjT/j Cq/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=/S/0BgZz+W3xVXXMOjn/ObMc35Z6F0P9t3vBU/XCEAc=; b=rX0XSG0X4GSBN+1PTBgkUPkYLSznc95aleCS8ABKv9QxtP5JH34SO4Rv7joWkN/TYI wlveMG2Ml3fAuFeHHIRnOH/cLcpLsZpY9unRPUPE9CGo6m4MWPzXNv17EPTdVZkNMHB5 sZIknVqFiYVWqsrtkF56kDX0elkRJ7NYgdkJZOIsNTO17EpNUckKNigIO7eDUOrg6kHY pohwwGqRXvoAF7NjdnTHQTgOWQmwgBwHEzsf1ftfdsZH0t06ckh1K7nHgVZwdnNKbuvK pQSVRyX9yooEodhYP+5aVF40RLjJMXTKfGkFppvvT84ULAXFuw/yRGO1w9ttg72vLhSL 6GrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=USnEw7w7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si8618676plr.216.2019.04.29.11.57.20; Mon, 29 Apr 2019 11:57:36 -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; dkim=pass header.i=@kernel.org header.s=default header.b=USnEw7w7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729092AbfD2S43 (ORCPT + 99 others); Mon, 29 Apr 2019 14:56:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:51546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728946AbfD2S42 (ORCPT ); Mon, 29 Apr 2019 14:56:28 -0400 Received: from localhost (odyssey.drury.edu [64.22.249.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2B682075E; Mon, 29 Apr 2019 18:56:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556564188; bh=l9u1ysS3GT7OB/kiY6gTzx5x3l55qd0OUe7XJXsNJF4=; h=From:To:Subject:Date:From; b=USnEw7w7sFx64aezMaHI1O7bocLHlTB9WcH7ytJ12BDLpC88wuqiiO87fe9JsMlBi lVjQzUWecb94A6bes2n2UHG/YbYR0wIAHVmp2Wy8cUihNL1Z4q4+bnlk70+XR0oTPX 7jyBhVWtx6fgfUUZ/VqFArv4oI06g02OFDh8TJz0= From: Bjorn Helgaas To: Alexandru Gagniuc , Lukas Wunner , Alex Williamson , Austin Bolen , Alexandru Gagniuc , Keith Busch , Shyam Iyer , Sinan Kaya , Linus Torvalds , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Revert "PCI/LINK: Report degraded links via link bandwidth Date: Mon, 29 Apr 2019 13:56:10 -0500 Message-Id: <20190429185611.121751-1-helgaas@kernel.org> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alex W. reported a case where the new link bandwidth notification logging, e.g.: vfio-pci 0000:07:00.0: 32.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x16 link at 0000:00:02.0 (capable of 64.000 Gb/s with 5 GT/s x16 link) is somewhat surprising. The message is great if link bandwidth was reduced because of a hardware problem, but in this case it's caused by a GPU doing link state management to conserve power, so the message is to be expected and is likely to confuse the user. We haven't figured out a good way to handle both the "hardware failure" and the "active link management" cases yet, so revert this for now. Bjorn