Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1733294imm; Tue, 2 Oct 2018 13:04:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV63KgLCea7inbmG93dsRWfimbCnxQF8ISrOhDpuZfwdC15j2Dmh6KQrQ48PU5KrwPg6Vu7FH X-Received: by 2002:a63:e54d:: with SMTP id z13-v6mr15783465pgj.169.1538510660979; Tue, 02 Oct 2018 13:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538510660; cv=none; d=google.com; s=arc-20160816; b=HlvlN7/Hq1wnl0j9ThIauY8r+AcCBE84kxIyoNY4thpSBgVu37/XrzsaKJCWEDgZ4C no6Xg7uUDgV54F8fa6iPQhETdFVSs/9ug+34YwkUNFkJzETC69WcJIS5uzSzbQqhEAKu 8U81LGz8HM6vd/nUVJAjOJ4odo1Sts/XMkqFxdJ0p1CBFmq8NGNtG1W6n9nzcxeQdnMu bxDhhAeUizpd6O9XdNBpSOvtI9mLFkQj4NxIlX29uY76mkZgTajUtV24gYh8C0rOkSms FrJlcjGEj6h38aMmXlAyIzr8nXBfcoX5p3p0mEK3lCMk3LH9GYnIFoCbBndM+UQxRdJQ HjVw== 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:dkim-signature; bh=RJI/Ld+SnOAhKx2HrQeMnjiAT9XQ8aYayARKpvPOx4U=; b=KmYXS9gifDswaVkGZ2w7NA+8p+lkhkN5SrOaoaxyd06Nv6LufZu+/SUiSSFf5vuvJO Srgno3PZ6UqgBTiGeJ1km1oaI/QmnRoRQ3pbfhElPS09BHT75xqV2M3grJKOK9NDZNHi zTQMrOWbwEwhGQFipfDHP0S0qf6JcA3b2Xq2NOkknIgwxq/B23Kq3Oi73qI9WsBXJE1R /ticZc0HSuKiWulvvPW1cfWyjUmtmlf05k2ihOO3cpCrcXIDnMIbAxbdlPZWfUN0u2Sp mM9cmMGFLejm8PR4l9g34e83ZcSHy+1o3BrgSvQ6GtTQKCgHJ0Tf5QE6AYh9hSc+M6DP J9nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qdUJ2qok; 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 w124-v6si11282102pfw.145.2018.10.02.13.04.02; Tue, 02 Oct 2018 13:04:20 -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=qdUJ2qok; 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 S1727285AbeJCCsz (ORCPT + 99 others); Tue, 2 Oct 2018 22:48:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:56776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbeJCCsy (ORCPT ); Tue, 2 Oct 2018 22:48:54 -0400 Received: from localhost (unknown [69.71.4.100]) (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 84D5320652; Tue, 2 Oct 2018 20:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538510631; bh=X5xWHYlf5yWDwyydsBDtMo3blqnal0/vOvaUTVJEYiw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qdUJ2qokdwPf8dOlpp7shfKxIbF0BdYX7l5lhZwThLuz7nNrzINQjNe3bnXl2CveE WOCJFR7YZA8kHoMZHopBunwhP7d5HxGWGdetjoR4hjazXfxpfX9PdSMbRklVgj1s5f gllvwpr42zl16omXBq4poRp93LQ+CUhg5fTEPSaM= Date: Tue, 2 Oct 2018 15:03:50 -0500 From: Bjorn Helgaas To: Thomas Martitz Cc: Daniel Drake , Bjorn Helgaas , 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 Subject: Re: [PATCH v3] PCI: Reprogram bridge prefetch registers on resume Message-ID: <20181002200350.GC120535@bhelgaas-glaptop.roam.corp.google.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7b0a5388-5b3a-a6e0-347f-94f87fc2e540@rockbox.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? If so, I'll drop the patch until we figure this out. But if the GPU power issue also occurs in v4.19-rc5, I think we can assume it's a different problem and we can go ahead and merge [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/commit/?h=for-linus&id=083874549fdfefa629dfa752785e20427dde1511