Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4359666ybg; Mon, 21 Oct 2019 07:51:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWhWelVcTsDSRrKrKpL1UWt6ssyiDmU8yrNaf5SSqxqEnWNQoI6Myow/o5V89dLDBqwcj6 X-Received: by 2002:a05:6402:8cf:: with SMTP id d15mr24846893edz.225.1571669468819; Mon, 21 Oct 2019 07:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571669468; cv=none; d=google.com; s=arc-20160816; b=WzLNy/ifuAtzhU0Z5gl2N+IW6xCp6Jwb3jt1RI/Bj6qSGxhiKtbQZMf7JbDKlBKD/f ZgryisSf4rOrGJKJ0zeubVh+NBgGkOBaDj1BuJKiPVKw8Ys20YUfb2SvSeA7gtugpMWM BcHsrm591GUIZEDhX/OT0W3GQ3nmpqMAAZfYtfeDDvd2VX71R8SP6k+0cAnO1iotvvcP GO5J+YM897iH/DH/TBU5xxC0uGOnT7CyZKbi315+Go62UUXql9yQ3VRzoc8zRDJ9ut8n tmbIBdQQWi/h5rYyA1rDqg96WVSA+DR7oBzcQFJ4otr2mV4gTZzfNkkDKInhRUCHB203 HJiA== 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; bh=qoM05916f2iOKQ8k9NQo94DTKSXVJOYaaX8pIUuRDvI=; b=EujcnjkoQ6DM3IeWj0nOu9f10PdAxIDmwtMRx7RrlkBrLmLRqSf30WkVFSnzwsva+2 aE5LdESLcNfJdGMI7WYYlBa2BjGXI9ZJQDMl8s494DtnSRZNeGO8ziRl92I08ZKp7wno FJ38AboTXDhwv1E62Js7H8eql0HnlZHojD1wU6O8+N7l3QdgceYRblm4QsuWcyhNpcVt PmpyaFaFtGNhjNKNvVKrhGFQvDBdzG0xWZHbmQyonjLFtuMyx4mxLn3A194tIrK66Kpd c1Mjoy1Ci5BIsJE9Q5Oc9UhCeshwCklCVJgv1/aCc+D5LhvrMaIbY1bK6y2ay8cJ2vkk nWvA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si7219759eda.192.2019.10.21.07.50.44; Mon, 21 Oct 2019 07:51:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729175AbfJUOtW (ORCPT + 99 others); Mon, 21 Oct 2019 10:49:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42436 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbfJUOtW (ORCPT ); Mon, 21 Oct 2019 10:49:22 -0400 Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C83C32A09A2 for ; Mon, 21 Oct 2019 14:49:21 +0000 (UTC) Received: by mail-qt1-f199.google.com with SMTP id m20so14310290qtq.16 for ; Mon, 21 Oct 2019 07:49: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=qoM05916f2iOKQ8k9NQo94DTKSXVJOYaaX8pIUuRDvI=; b=QE6DY65zk8spi0XWdv8kMk7lyHklikB6Bzn/O3qrGr9ubhvbQtoQ/nckBVNGI/kZ0B ib6QU4fqf0+JQbtz1cwArME5UB5N2ZiBBzYHS2VZ112HIqaQeCOjr8tfNPA9fvEzmsbt 08Zkg8hn2iRAlZtvi1Sl6VBRM9TqrqYWl9Qi3p44SD1UHWtL/z2psH1K7Y5vyM8W5hg9 VcH9wnZFHjY7V3eXTs2OYt13cN+KUpyP/uACpokCH6b0KFTMYqg4Euz+TU1i8HSxssFE Yf+QIJ+hcqSAA/lXBV5JWsH1ILeT1LSnF980NIC/PFvAFxO/jZGG3YY4dmD42aJiW6In li+Q== X-Gm-Message-State: APjAAAVBixI0IVmuYb1gQnb13LCw8/rJi3RqTfdWyVPU8EWhiuW0HpZI O5yvAxYQVTo3oJJnwfyZF69ICDTOFZLCeMrQs6cTWYoHGlq+ZRmU+9k7UyEp9KRl225rkwyhaMP Z/f58aBJAtQVabBLS4ILKFigMSXL/1c7pQX+jmYOS X-Received: by 2002:a05:620a:a9c:: with SMTP id v28mr1773193qkg.381.1571669361064; Mon, 21 Oct 2019 07:49:21 -0700 (PDT) X-Received: by 2002:a05:620a:a9c:: with SMTP id v28mr1773179qkg.381.1571669360782; Mon, 21 Oct 2019 07:49:20 -0700 (PDT) MIME-Version: 1.0 References: <20191016213722.GA72810@google.com> <20191021133328.GI2819@lahna.fi.intel.com> <20191021140852.GM2819@lahna.fi.intel.com> In-Reply-To: <20191021140852.GM2819@lahna.fi.intel.com> From: Karol Herbst Date: Mon, 21 Oct 2019 16:49:09 +0200 Message-ID: Subject: Re: [PATCH v3] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges To: Mika Westerberg Cc: Bjorn Helgaas , "Rafael J . Wysocki" , LKML , Lyude Paul , Linux PCI , Linux PM , dri-devel , nouveau , Linux ACPI 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 Mon, Oct 21, 2019 at 4:09 PM Mika Westerberg wrote: > > On Mon, Oct 21, 2019 at 03:54:09PM +0200, Karol Herbst wrote: > > > I really would like to provide you more information about such > > > workaround but I'm not aware of any ;-) I have not seen any issues like > > > this when D3cold is properly implemented in the platform. That's why > > > I'm bit skeptical that this has anything to do with specific Intel PCIe > > > ports. More likely it is some power sequence in the _ON/_OFF() methods > > > that is run differently on Windows. > > > > yeah.. maybe. I really don't know what's the actual root cause. I just > > know that with this workaround it works perfectly fine on my and some > > other systems it was tested on. Do you know who would be best to > > approach to get proper documentation about those methods and what are > > the actual prerequisites of those methods? > > Those should be documented in the ACPI spec. Chapter 7 should explain > power resources and the device power methods in detail. either I looked up the wrong spec or the documentation isn't really saying much there.