Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1811635imm; Tue, 2 Oct 2018 14:31:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV62B+BJi1o+OInc3KxPpLN1VyeOMSR9fGxu9ujXWWOBRzPM1fcvZqJvQmGh4lpUTdB616O0C X-Received: by 2002:a17:902:e111:: with SMTP id cc17-v6mr18363397plb.175.1538515882189; Tue, 02 Oct 2018 14:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538515882; cv=none; d=google.com; s=arc-20160816; b=nZZUtesKcL2srnQlK4VldU2cy5HsMRLNx+z2DgiZL2FsX6/nyW9D/WGnnKzHYufXTZ d6V7EWwkc9M0SJm3wDvNG6bxVu0N1RrxyiECdRIQwMpjHFKgVO5kRWR2gIkTW4Ql+u+8 EnaADYQo1vyNYm+skY0wm/sNWJ94RJoRahr5W1tpCVSAAN3mAakFAcyBbwFYuk76ulyM PM6EXgBRRQ/InLCaOwDFh+sPGjGuaqxIeKXKsLoW0KVaG/hs0YweWippHAUoJiJlt+lI 0jY1ofpdoxKXoToPhjTABNYA9KbKQLeFDT5hamkYG/wx+yD1UK8CRnYg3YU0P5vgeSbc aKHA== 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=ZkBuCV6IRX2im3KafCiD5nNr5a7+sSWP0uylXQwgrxE=; b=YGiqGX9RiE+aybIkQH+Iq63EekYkbJRn77T7BKiKxfZYMYkL0IUzTrTgP98+YZpLIn gJbn13XrKIJOO4/RVjNXaJ+ts8YE+cYYbOXo+B7Y5Vt8+vJCUT8gti8sPapiJS58dWbg 0vd5JLBnvJhF6Eoo8N50BzCZ9bSCANG/xFGS0oTwomTOD7sCyUwOmmdfhy+dxhELtppm Rys1kf1gSZDm1wdaH9wCo5QNjtXHvs1qZJcF7L+mToMXJ1nfvGCOW9KRm2itv1EM7Btn GMKe9lDdBeZPez+Ed+wdJiU4ritUILk0DbrNDYK8leSGG7VVDB+Oy6j/u7HJP79txavm qHDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nv8r5jq5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5-v6si17332752pgi.254.2018.10.02.14.31.05; Tue, 02 Oct 2018 14:31:22 -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=@google.com header.s=20161025 header.b=nv8r5jq5; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728620AbeJCEO6 (ORCPT + 99 others); Wed, 3 Oct 2018 00:14:58 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:37655 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728454AbeJCEO6 (ORCPT ); Wed, 3 Oct 2018 00:14:58 -0400 Received: by mail-yw1-f67.google.com with SMTP id y14-v6so1421235ywa.4 for ; Tue, 02 Oct 2018 14:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZkBuCV6IRX2im3KafCiD5nNr5a7+sSWP0uylXQwgrxE=; b=nv8r5jq5oyrFIttRnnEGL39CMnqaWINrTYlcTT/wOfvvvaI1QSDELSaP4RpEk0YleO l0zEUi0dHpCLwYLwkHmrDJEyi4YgMAz3cUnj12GQQh/RAY4GHEwi8JoivKSrUCkNc/uU 9AfOvhMvY5LHj8kwWuVKLm1d456Qvr1G7gwxZXih5c8KEb0x5bkY91iN+pqzF/NFXC96 2jaQZ/+UwFVKpX+Q+i/0j0RdbSXpiN3bNzk9n7yTQxF0sEuMGTadsd2FxF20eowML8ge WmbxI+D67vrL7IbDUAT83dQoldjIZTcpwYOBYAorBRqB55KAHmo91djDxPF9wMUKkcAn aeYA== 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=ZkBuCV6IRX2im3KafCiD5nNr5a7+sSWP0uylXQwgrxE=; b=KRSk+AtnaYctlxqfmz3k0EwCv7ga8csyX7LkKjRWguquoJi4HlDufX50Fp9sJGHwcV AglV962gzZQbWqLpXlo4kv04BEGd7q1FRfmsXufQoyK9NuQ/ooG1M+BvDrSNKj14rH6M wo+qbbd8bMVfXJBtQThTFp71v2lyK3/ZyRSlwyudnNy29WwhGytLcTo9BQ5ngabZw27D aO2gNPF+cXFaILmxKKsOU38/nUOEjX+gE042coWSc8T8ysMFSmWBH6ihqc8UTh/xX1jl cca93FKDjbbmR4vJn2IYJrHqK/EF2QzobeJJtQyxLL9W/t179rZ6t64j7X420QP5N5rE ullA== X-Gm-Message-State: ABuFfohtELfE08onvagQtifCNQlgFCOeX9U3kJrJaQuTrEDUscl95jh4 kyolxr9CPl4cwgoDrZRk4N8Sym3xQ41+qaKux6aM X-Received: by 2002:a81:6e06:: with SMTP id j6-v6mr9189204ywc.374.1538515776115; Tue, 02 Oct 2018 14:29:36 -0700 (PDT) MIME-Version: 1.0 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> <0b3bc158-b836-7b44-ef09-7c124f479c58@rockbox.org> In-Reply-To: <0b3bc158-b836-7b44-ef09-7c124f479c58@rockbox.org> From: Bjorn Helgaas Date: Tue, 2 Oct 2018 16:29:23 -0500 Message-ID: Subject: Re: [PATCH v3] PCI: Reprogram bridge prefetch registers on resume To: kugel@rockbox.org Cc: Bjorn Helgaas , Daniel Drake , linux-pci@vger.kernel.org, linux@endlessm.com, nouveau@lists.freedesktop.org, Linux PM list , Peter Wu , kherbst@redhat.com, andy.shevchenko@linux.intel.com, "Rafael J. Wysocki" , Keith Busch , Jon Derrick , David Miller , Heiner Kallweit , netdev , Realtek linux nic maintainers , rchang@marvell.com, Linux Kernel Mailing List 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 On Tue, Oct 2, 2018 at 4:27 PM Thomas Martitz wrote: > > 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. Great, thanks! That's what I thought, but just wanted to double check.