Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5498622yba; Tue, 30 Apr 2019 16:11:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGT+oqGrkqrqD9E/bZmLD8QHNoLyQg6vfH9PU2648xT94d62GkFaAUcSAME1ZGoQb/mI6i X-Received: by 2002:a62:14d6:: with SMTP id 205mr12304174pfu.4.1556665911304; Tue, 30 Apr 2019 16:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556665911; cv=none; d=google.com; s=arc-20160816; b=hl3s8jSOMXL/Yick0PfKwWz80KmZM4//9hryCckuJZvTq47diConvATFggc6BltNii /+Ntls+xQao1lzUXzDuAObyPKUGjx8z6MW8cEDkJr+lXG3X7VjGWtioB4u6a5mGowuWQ eiDiy/JuxXKHC0nF8BoUThzfAl64EYkCQPBCRz+GrI8qIGHJ4UdnQJopxiNZZmpGpJhP QIifuaQJ+znysxTypMIMAzdvLKWUg3VLTWnfjtcpl/Td7C3ETwVz0nezQOi1zeRNAdUA pkhokZlg1q0M9OF3leo8Le3LP2TQ7jvDJKy4h9qEA6OYbkFqT0+5b5BM4KntKrI9HK+n mlCA== 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; bh=6vuxNutbhMYJNXjIzv/cNPxz1lj0ufYvWJIxfleK2vY=; b=0tSeHv3Ery474L+1jhHwsTZZ35sshPPTW/tWa6wJ+EqQ50cjdvRDJyakD/dkoSxyHw EQQKayEgay81dEZ1s7iDnaLKnHx0tDIP5rXnIJyPSOiRWWtecfKwnd5aJapp7Zwa8YMl STrBjveOu1Apj2WZtyXSRJuTAFaaeiXDLeAptkdU3FEFyDe+9PUFnfGwYrmGP8zbH/5m a8VfMNNB3qVoIHN+oJgc2aQ1dPoMyUH10btLnKizj6VS7o3sfk7u+9J6feRASpagiwGR LGCDbkkHasYM+MtiFNOsB2ZYldpmv8WBPUJOmrveLGFf+vRpDoVWJ2KB2PqS+G85Y425 Eu3w== 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 d22si15916178plr.387.2019.04.30.16.11.24; Tue, 30 Apr 2019 16:11:51 -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 S1727251AbfD3XJm (ORCPT + 99 others); Tue, 30 Apr 2019 19:09:42 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:33607 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726086AbfD3XJl (ORCPT ); Tue, 30 Apr 2019 19:09:41 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id 6CC8C300002A0; Wed, 1 May 2019 01:09:39 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 21B39C2785; Wed, 1 May 2019 01:09:39 +0200 (CEST) Date: Wed, 1 May 2019 01:09:39 +0200 From: Lukas Wunner To: Keith Busch Cc: Bjorn Helgaas , Alex G , 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: Re: [PATCH] Revert "PCI/LINK: Report degraded links via link bandwidth notification" Message-ID: <20190430230939.5bn5ktirkbrx3vhy@wunner.de> References: <20190429185611.121751-1-helgaas@kernel.org> <20190429185611.121751-2-helgaas@kernel.org> <20190430161151.GB145057@google.com> <20190430180508.GB25654@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190430180508.GB25654@localhost.localdomain> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 30, 2019 at 12:05:09PM -0600, Keith Busch wrote: > On Tue, Apr 30, 2019 at 11:11:51AM -0500, Bjorn Helgaas wrote: > > > I'm not convinced a revert is the best call. > > > > I have very limited options at this stage of the release, but I'd be > > glad to hear suggestions. My concern is that if we release v5.1 > > as-is, we'll spend a lot of energy on those false positives. > > May be too late now if the revert is queued up, but I think this feature > should have been a default 'false' Kconfig bool rather than always on. Good idea, this would seem to be a less harsh solution than a revert. Enabling the feature by default for everyone was probably overly confident. I recall I did bring up in a review comment that all other port services have a Kconfig option. Alex replied that he's not using one because on device enumeration, downtraining is checked unconditionally as well. Bandwidth notification might be a feature that's not used by many operating systems. Such features don't get much real world exposure or aren't even validated by manufacturers. Inevitably, unpleasant side effects occur once Linux supports them. However if we keep the code and default to "N" in Kconfig, at least people get a chance to test and validate the functionality and hopefully this will lead to either better hardware or better driver support in the future. Thanks, Lukas