Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1905313ybh; Fri, 17 Jul 2020 04:35:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxv/Kt+obzLpksa5VnSIHuXUDDdkeEszCuUlm25kDrDNjAYbF+FUeRNcPyEVKugOiSt6kZn X-Received: by 2002:a17:906:748:: with SMTP id z8mr8356300ejb.257.1594985738413; Fri, 17 Jul 2020 04:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594985738; cv=none; d=google.com; s=arc-20160816; b=sLJQtWEfmyAvt1D35s6a+/qlUqgyn9cJPY3M/BtbK0QiiiIbdGbNLrIZZ1B46oRKhp 78GGTCVFx15O1+c0NVtUE381kTpYfXbY8XHFu5UgPJhyD3mLorviaOfArtmcKcpKs2hF 5EPn9xjlxo2fwOhBr8pKSMh0OYtpzaJ8+VMvV1WUka0WR5zMMa23SlhUss+WCY4ia95O fTcZcJcSlUGDKxwU9WvbgcpcqY6jck6MkeD+OAK/U1dYw22n+HpjyOQyvvsu7LTj2Izf sILxChkVGQkU7eYwkWzzCD727uPJhJk+Owl1mQdixAUd9Jmg9eIohLmjekomuOQAMGfw gkWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TYpWDk5YRbEJgevYd6gB8eGgLm0tIiJeUcncZGG+w6o=; b=mlU/VniFo8FFysslgQGjIf6Gk4WpWRSdP3qXfNg7IhNWSpzk2LZyD/mgRBYjNz8VjS 4AqkuPH43wlg+BPSLxT3rv42oLdoQAEkmrJItZo/hT7OKLps4BHLmuGxyVUCPRloFrE9 WfkVT+rwLSHIHtSei+ag4qRz51HHp61bmnhe1684yGWyv2JRC7Rr1AvyljxbMK32Yw05 d7EOxkaxDvAEVl8kG2yLn3gcfBz7xrxZYhR4RgN3LEb0TbLVoyyHIfdNyogO2lfvT6iI 4lT+4EA1P0tr8nAy39OR/cA0dWw/6isoIOFyn98QQ7z4BPp1EVjSBlXWmm3CI7yGJLst IEcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i6ABQZyg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si4593559ejs.158.2020.07.17.04.35.15; Fri, 17 Jul 2020 04:35:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=i6ABQZyg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbgGQLcZ (ORCPT + 99 others); Fri, 17 Jul 2020 07:32:25 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:56009 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726040AbgGQLcZ (ORCPT ); Fri, 17 Jul 2020 07:32:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594985543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TYpWDk5YRbEJgevYd6gB8eGgLm0tIiJeUcncZGG+w6o=; b=i6ABQZygQAef7piM003bSba61BBGO8Rvdm6v1YtrN9Uf4Fm32+vz9lXwjJcUQ+5oJMgedJ 7mRYlrUVRAV0uwNbnxqRcLYnCt9kPyaFOm3dpYXzxZSAL3ZUdCMdwpqWs0OOTA/kS7dDOg Y1AYhXm+3PnveeHdtzlvHkWmmy4WDQc= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-341-QjwDNDEUPVuBvGum1B7NZw-1; Fri, 17 Jul 2020 07:32:21 -0400 X-MC-Unique: QjwDNDEUPVuBvGum1B7NZw-1 Received: by mail-qv1-f71.google.com with SMTP id r12so5372082qvk.3 for ; Fri, 17 Jul 2020 04:32:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TYpWDk5YRbEJgevYd6gB8eGgLm0tIiJeUcncZGG+w6o=; b=FAamrOSeHf23yC513NgsC6qsrsxbId/LhVuV59bDEXUB7Eo83T0yzBYnTJd4v+zEfJ vwz7Pf3QlMABGdC4urFf1lDvpHjEubDilaa4W18V+9SUxFUxHdyP5zYyk2n8sGQ5szpW p0k6aFkKXG3g0LZyZnLgyfWOOnIjlMQYYR/oHohr5ga65Gl1n3n7bcJVDN5q4seC7SBi +A6Z7kxPSoHYTkIGtK83JttKnhPO3zqObp3CUs3GGrfjhecNxOiolVlKRbPRPmZQshE4 AmxxsER5eFo7WYXq1FUwK0+P84gAwinZFSR1eUzK+brGZNz+IosGXe511zbvQAKZrsO8 bkww== X-Gm-Message-State: AOAM531FfZZL8gGtRbAtVxrO9uLBQU0OEQVtu0/DaSmz0WvDV6Wxaa0x 7n5WoFAHaSdjDO5rjSMXN7dx/3qbgCtbBRWQLsYXpyNa8wtfliNBPkFK0ux0bd7fdtvsKARxXpt /zEvnmoo0Kb5a1nK+cfSMeGz28TZnd/QYpCIQx66K X-Received: by 2002:a37:a589:: with SMTP id o131mr8525050qke.102.1594985541178; Fri, 17 Jul 2020 04:32:21 -0700 (PDT) X-Received: by 2002:a37:a589:: with SMTP id o131mr8525028qke.102.1594985540875; Fri, 17 Jul 2020 04:32:20 -0700 (PDT) MIME-Version: 1.0 References: <20200716235440.GA675421@bjorn-Precision-5520> In-Reply-To: From: Karol Herbst Date: Fri, 17 Jul 2020 13:32:10 +0200 Message-ID: Subject: Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms" To: Bjorn Helgaas Cc: Linux PCI , Mika Westerberg , Ben Skeggs , Bjorn Helgaas , Lyude Paul , nouveau , dri-devel , Patrick Volkerding , LKML , Kai-Heng Feng , Sasha Levin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Filed at https://bugzilla.kernel.org/show_bug.cgi?id=208597 oddly enough I wasn't able to reproduce it on my XPS 9560, will ping once something breaks. On Fri, Jul 17, 2020 at 2:43 AM Karol Herbst wrote: > > On Fri, Jul 17, 2020 at 1:54 AM Bjorn Helgaas wrote: > > > > [+cc Sasha -- stable kernel regression] > > [+cc Patrick, Kai-Heng, LKML] > > > > On Fri, Jul 17, 2020 at 12:10:39AM +0200, Karol Herbst wrote: > > > On Tue, Jul 7, 2020 at 9:30 PM Karol Herbst wrote: > > > > > > > > Hi everybody, > > > > > > > > with the mentioned commit Nouveau isn't able to load firmware onto the > > > > GPU on one of my systems here. Even though the issue doesn't always > > > > happen I am quite confident this is the commit breaking it. > > > > > > > > I am still digging into the issue and trying to figure out what > > > > exactly breaks, but it shows up in different ways. Either we are not > > > > able to boot the engines on the GPU or the GPU becomes unresponsive. > > > > Btw, this is also a system where our runtime power management issue > > > > shows up, so maybe there is indeed something funky with the bridge > > > > controller. > > > > > > > > Just pinging you in case you have an idea on how this could break Nouveau > > > > > > > > most of the times it shows up like this: > > > > nouveau 0000:01:00.0: acr: AHESASC binary failed > > > > > > > > Sometimes it works at boot and fails at runtime resuming with random > > > > faults. So I will be investigating a bit more, but yeah... I am super > > > > sure the commit triggered this issue, no idea if it actually causes > > > > it. > > > > > > so yeah.. I reverted that locally and never ran into issues again. > > > Still valid on latest 5.7. So can we get this reverted or properly > > > fixed? This breaks runtime pm for us on at least some hardware. > > > > Yeah, that stinks. We had another similar report from Patrick: > > > > https://lore.kernel.org/r/CAErSpo5sTeK_my1dEhWp7aHD0xOp87+oHYWkTjbL7ALgDbXo-Q@mail.gmail.com > > > > Apparently the problem is ec411e02b7a2 ("PCI/PM: Assume ports without > > DLL Link Active train links in 100 ms"), which Patrick found was > > backported to v5.4.49 as 828b192c57e8, and you found was backported to > > v5.7.6 as afaff825e3a4. > > > > Oddly, Patrick reported that v5.7.7 worked correctly, even though it > > still contains afaff825e3a4. > > > > I guess in the absence of any other clues we'll have to revert it. > > I hate to do that because that means we'll have slow resume of > > Thunderbolt-connected devices again, but that's better than having > > GPUs completely broken. > > > > Could you and Patrick open bugzilla.kernel.org reports, attach dmesg > > logs and "sudo lspci -vv" output, and add the URLs to Kai-Heng's > > original report at https://bugzilla.kernel.org/show_bug.cgi?id=206837 > > and to this thread? > > > > There must be a way to fix the slow resume problem without breaking > > the GPUs. > > > > I wouldn't be surprised if this is related to the Intel bridge we > check against for Nouveau.. I still have to check on another laptop > with the same bridge our workaround was required as well but wouldn't > be surprised if it shows the same problem. Will get you the > information from both systems tomorrow then. > > > Bjorn > >