Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1808869imm; Tue, 2 Oct 2018 14:28:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV615wWskWKuC4GaMcArZHMiZTz1u2AgjFTN1exxbsA8EMGSIPIOyUmglDWZZzCucjdPT+kxs X-Received: by 2002:a17:902:bd85:: with SMTP id q5-v6mr2316215pls.73.1538515698590; Tue, 02 Oct 2018 14:28:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538515698; cv=none; d=google.com; s=arc-20160816; b=nDRglWXQfkiSAL9yZClGHOfUXbzTZeEeohHntS/cCNb4Lrropu4ryeb9CLGDulD81n /HvnzFLinKcYM2HbCyl/N1enKzpIBHrUXkcmN47Gd0Fa7WQ1XCu5+KroGxyatZEB2i4C RpGXSSvfDluA2hmOSvF5c6iQoxnU7NffDC9Q0UlcVOQINOVzWCPZIj2cJNFzE69vw6lF aZuEBh9cCLwAryT8CnWwUabrtqAst428lQrhg8ENqKwdkFqV+EU22ZqvPyApK5m7kgXM IQrnJyOTj1dMpWVadCk6EpuywmBmIDhqJhNbQb76/thSqUEwk+h2eXYUlKcda1Z4hoov EiiA== 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 :content-language:in-reply-to:mime-version:date:message-id :organization:from:references:cc:to:subject; bh=Lgu1choUO9SnBquCXxFDGIJBE2BGDzpKt7VnMHepaoA=; b=NW096f//mFML3XXbyHLNGgdyUH70RPlz52EPhsUd0N2WPTFEZQy7vxn55qIP/S5Lco /LO424tJz8qK/bqSWscElzeotTNFxuQ3jUeTvm4opUt0CTdLX3NQD5ahD+f1tarEI3DJ kekwjkv2aup2FjwdSsbSpx5jfO3AnWjxZaKmMVVWvIrQL32tuc68+qtMgLIsQ4fXkH7q +/Z8flG/OoIliK4WiGpj+mbJ41dCVAecA1LmrchiaO/Gh655c3NBCMt6iWnE7Gis4ONY hDFliQdQiZDCQekNs7uifBo1pQusoKN0oblmwAibJyrg7RuKApdKpnsOsLltlCcyFK8m n8lQ== 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 k135-v6si18484729pfd.168.2018.10.02.14.28.03; Tue, 02 Oct 2018 14:28:18 -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 S1728595AbeJCEMX (ORCPT + 99 others); Wed, 3 Oct 2018 00:12:23 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:19904 "EHLO mx1.mailbox.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbeJCEMW (ORCPT ); Wed, 3 Oct 2018 00:12:22 -0400 Received: from smtp2.mailbox.org (unknown [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id AFE2649571; Tue, 2 Oct 2018 23:26:58 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id 4tXfhGBJRgZo; Tue, 2 Oct 2018 23:26:57 +0200 (CEST) Subject: Re: [PATCH v3] PCI: Reprogram bridge prefetch registers on resume To: Bjorn Helgaas Cc: Daniel Drake , Linux PCI , Linux Upstreaming Team , nouveau@lists.freedesktop.org, Linux PM , Peter Wu , kherbst@redhat.com, andy.shevchenko@linux.intel.com, "Wysocki, Rafael J" , Keith Busch , Jon Derrick , David Miller , Heiner Kallweit , netdev , nic_swsd@realtek.com, rchang@marvell.com, Linux Kernel References: <20180913033745.11178-1-drake@endlessm.com> <20180918213244.GE13616@bhelgaas-glaptop.roam.corp.google.com> <20180927205247.GA18434@bhelgaas-glaptop.roam.corp.google.com> <3f8efcd6-7cd2-b41a-d984-28c9e1740d6c@rockbox.org> <7b0a5388-5b3a-a6e0-347f-94f87fc2e540@rockbox.org> <20181002200350.GC120535@bhelgaas-glaptop.roam.corp.google.com> From: Thomas Martitz Organization: Rockbox Message-ID: <0b3bc158-b836-7b44-ef09-7c124f479c58@rockbox.org> Date: Tue, 2 Oct 2018 23:26:35 +0200 MIME-Version: 1.0 In-Reply-To: <20181002200350.GC120535@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 02.10.18 um 22:03 schrieb Bjorn Helgaas: > Hi Thomas, > > On Mon, Oct 01, 2018 at 04:25:06PM +0200, Thomas Martitz wrote: >> Am 01.10.18 um 06:57 schrieb Daniel Drake: >>> On Sun, Sep 30, 2018 at 5:07 AM Thomas Martitz wrote: >>>> The latest iteration does not work on my HP system. The GPU fails to >>>> power up just like the unpatched kernel. >>> >>> That's weird, I would not expect a behaviour change in the latest >>> patch. pci_restore_config_dword() has some debug messages, could you >>> please make them visible and show logs again? >>> Also remind us of the PCI device address of the parent bridge (lspci -vt) >> >> I'll follow up with more the requested information on bugzilla >> (Link: https://bugzilla.kernel.org/show_bug.cgi?id=201069). >> >> On a quick re-check, it seems to depend on if I used the eGPU before >> the initial suspend. If I run glxgears (with DRI_PRIME=1) before suspend it >> seems fine. > > Does the patch ([1]) make things *worse* compared to v4.19-rc5? > No, certainly not. It does look like a different issue since resuming now works at least if I used the eGPU in some way before suspend (DRI_PRIME=1 glxgears seems to be enough, I assume glxinfo would work as well). Without the patch resuming the eGPU does not work whatsoever. Please ship the patch. I'll hopefully sort this other issue out. Best regards.