From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2502C433E2 for ; Fri, 17 Jul 2020 19:52:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BDFFC20829 for ; Fri, 17 Jul 2020 19:52:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728387AbgGQTwP (ORCPT ); Fri, 17 Jul 2020 15:52:15 -0400 Received: from bmailout1.hostsharing.net ([83.223.95.100]:53651 "EHLO bmailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728159AbgGQTwO (ORCPT ); Fri, 17 Jul 2020 15:52:14 -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 E02A030000CF7; Fri, 17 Jul 2020 21:52:09 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id A84152B0C74; Fri, 17 Jul 2020 21:52:09 +0200 (CEST) Date: Fri, 17 Jul 2020 21:52:09 +0200 From: Lukas Wunner To: Lyude Paul Cc: Bjorn Helgaas , Karol Herbst , Sasha Levin , Patrick Volkerding , Linux PCI , linux-kernel@vger.kernel.org, dri-devel , Kai-Heng Feng , Ben Skeggs , nouveau , Bjorn Helgaas , Mika Westerberg Subject: Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms" Message-ID: <20200717195209.vmtyfmgweoo645lh@wunner.de> References: <20200716235440.GA675421@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Fri, Jul 17, 2020 at 03:04:10PM -0400, Lyude Paul wrote: > Isn't it possible to tell whether a PCI device is connected through > thunderbolt or not? We could probably get away with just defaulting > to 100ms for thunderbolt devices without DLL Link Active specified, > and then default to the old delay value for non-thunderbolt devices. pci_is_thunderbolt_attached()