Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1799532ybc; Wed, 20 Nov 2019 04:22:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzvbvozsQi3Fs9xIaMdw9dof5T27ga0AlykB7gEUzHJinKxLlj08icKP4raxx0umw30cUW9 X-Received: by 2002:a5d:5484:: with SMTP id h4mr2780873wrv.136.1574252569814; Wed, 20 Nov 2019 04:22:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574252569; cv=none; d=google.com; s=arc-20160816; b=iD2UNFxPz7e96MGLNOo2aIceb7Tqdx+EYXWDiouQltMX7V8UkNpLRKI2c2jBYxXKkD Bpr6R4iIsJB8aVBRCPZeVgZ9nlbImflAIw9nPTkE/chsFAWhDBkARK4wcApeXANoVDVE AzejZOhXBMJSTDkic/mxZsp8v/KR2FVPIxqoXYbzjU+FqfLvdsaIxRQbkgfVnUyXTlx8 zsnA2JhEfFtnx9QWmxld4wSMQw5o3MBiHSN2YH4+YmVeel+4mU6j1MOMeBO5XQQL0woz GFYzsopnqqioZtYlcXLYpmN50V2ghYm22S/nSWEIUAA1V80O8i1u5ZLvEFTliqL4fGXb Jy8g== 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=ElT7EJNqtwpJJU4QjMYGJbxkB5AWzSyGEgl7I/cinCY=; b=KqF2HgUEe/BX4HTM3aiKpcodK76YZ8jmSEry0jgsnOcSuAarY+oGxf+tbDGQT4dgAT ZTT1cVbyTqIx6c/vGDyte7LdiQCQ3gP+N//TWvEaK+G0BGLF+CUOHYMG0GAyZrr9Gf1p 1JeKd9k9dk34JZIE6NyDJH/yDAHhqmHZ1798JsVSuZOpYuun2j9ObfRHKZbt7Y4n+V3M +EbO8WWiDpC6PjGSwRM6vCQDQlWrdAQISy0LeAE5n9bHD/uWj1kknIpJ8kINpCPqvfgH H2AeZsERNKacLw5DHwTBp9THieA3hcIHkO2XIIgCs7K09aHr0hxdFzvCl3GhSbddXafV Ax6Q== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d22si8633467edr.370.2019.11.20.04.22.24; Wed, 20 Nov 2019 04:22:49 -0800 (PST) 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729101AbfKTMGj (ORCPT + 99 others); Wed, 20 Nov 2019 07:06:39 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:34344 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbfKTMGj (ORCPT ); Wed, 20 Nov 2019 07:06:39 -0500 Received: by mail-oi1-f196.google.com with SMTP id l202so22292064oig.1; Wed, 20 Nov 2019 04:06:38 -0800 (PST) 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=ElT7EJNqtwpJJU4QjMYGJbxkB5AWzSyGEgl7I/cinCY=; b=hr58LFCDCSzTnyNwpoB7s6lVEQK1tD0HPWHIS2n6GAB5ej72KyYoWxDVPuG6sNHjvs +i4tXFgQDVRylOpu3hf2FssZKNbIqbCsa+E3BEmzYRP7vTR0cSph3tIUaYZykugeOW7P t90QAVn3U8koe1EJuWLYgSdBZuN4mMCyj80HpBMtqiBu84H0j+QJ2IBZwEhnD8rQIrck HV9KWTgi7j6l0PYBDAA74o09F2kZquV3ek0kCoNwOj4Fqfsxc0Pvc0mZoWxsux38nqHW HC3GbzvFznH8A1mjyj8cu9E5jHkPsW4KnCfqyBuEE+DyDbe5pENwkX16vE9xfYgW75Ue HiuQ== X-Gm-Message-State: APjAAAVuz/wWxvyOS57hTEz4oFSryCNSqyIZ23j8fGWrhg4ZHQnRPkbS T4KZbAWVlIqDB/GGVyH3dtzEMreRSc4rHPhnuwE= X-Received: by 2002:aca:c753:: with SMTP id x80mr2352248oif.115.1574251597887; Wed, 20 Nov 2019 04:06:37 -0800 (PST) MIME-Version: 1.0 References: <20191017121901.13699-1-kherbst@redhat.com> <20191119214955.GA223696@google.com> <20191120101816.GX11621@lahna.fi.intel.com> <20191120112212.GA11621@lahna.fi.intel.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 20 Nov 2019 13:06:26 +0100 Message-ID: Subject: Re: [PATCH v4] pci: prevent putting nvidia GPUs into lower device states on certain intel bridges To: Karol Herbst Cc: "Rafael J. Wysocki" , Mika Westerberg , Bjorn Helgaas , LKML , Lyude Paul , "Rafael J . Wysocki" , Linux PCI , Linux PM , dri-devel , nouveau , Dave Airlie , Mario Limonciello 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 Wed, Nov 20, 2019 at 12:51 PM Karol Herbst wrote: > > On Wed, Nov 20, 2019 at 12:48 PM Rafael J. Wysocki wrote: > > > > On Wed, Nov 20, 2019 at 12:22 PM Mika Westerberg > > wrote: > > > > > > On Wed, Nov 20, 2019 at 11:52:22AM +0100, Rafael J. Wysocki wrote: > > > > On Wed, Nov 20, 2019 at 11:18 AM Mika Westerberg > > > > wrote: > > > > > [cut] > > > > > > > > Oh, so does it look like we are trying to work around AML that tried > > > > to work around some problematic behavior in Linux at one point? > > > > > > Yes, it looks like so if I read the ASL right. > > > > OK, so that would call for a DMI-based quirk as the real cause for the > > issue seems to be the AML in question, which means a firmware problem. > > > > And I disagree as this is a linux specific workaround and windows goes > that path and succeeds. This firmware based workaround was added, > because it broke on Linux. Apparently so at the time it was added, but would it still break after the kernel changes made since then? Moreover, has it not become harmful now? IOW, wouldn't it work after removing the "Linux workaround" from the AML? The only way to verify that I can see would be to run the system with custom ACPI tables without the "Linux workaround" in the AML in question.