Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp381170ybg; Mon, 1 Jun 2020 04:01:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwap+ZwtFEmRQPl3JEW1IqAVszTEFCHZkv5z5seqRjmg7sA4WcormhaGb1t6Ti1xNZysZNs X-Received: by 2002:a05:6402:16d6:: with SMTP id r22mr20307188edx.289.1591009271427; Mon, 01 Jun 2020 04:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591009271; cv=none; d=google.com; s=arc-20160816; b=N1YsH6zBYidFuu+Kz4CJzf4xih1Zpc3/vNTxf7hajqtDvCBe20t5c6hZ93DCSV+tZh b/h65QcJxNoXxss+xhP7ZRBsywwdTu67uM2EVh3lkSJzeGLmF/qRpwkSawpwu3tj7lYl Ph//k5Im0eL7OJXYl6+9Sw4anu7k6XelEnFGACsSpBE3NSlq5Df9SSzKXEoVArhRCngN nsN4nlrWaF01o6GAmRkLTB+b8PBMdo0PcIqkUyFoBfx0/jWkARTXgQ56+0Gy4mXzhUTM KPDahVEP7u++fF6k69rxjVNSY2m4gLrDDa6xcHjzhFvo/kojnaTTWRp7Ev5GPmB2d71F C/0Q== 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=keLV8Gd9C9GRlhQTmWInhDyaWAHDTSmesa5VJ61KhzA=; b=z94EDWl9BRsZfYF6c3D7zeuU56KD7m8209y3XYDIPJEPMx1hyAARqOtVPp1pKf6typ DLYrh5Qo4SPNYhva3NrsClFPik8OVJjJMDFKxlgSLMWC8r56R+CE0ihcRDCjwnOIYess 9Bmh7abv1WNAHE426NO7/OYP1j9CsI+c3tfKFCa1/FgqgredoGT/lM2q1PCCVpeFRW6g QBsLkj41vw8Ti0I4qXiH8AE8sEbcct443eE/2ykrds1rpiOeZpMQHPxM46YNcgbUmTQS 3dNU6FUupOz9qUoDzOAa62jXgbcSCbK6sMOJ8Y2wNFnVQrdz+5sO65eGA5Qq8es9Fte0 /Bbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id v20si10605346eji.549.2020.06.01.04.00.48; Mon, 01 Jun 2020 04:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725999AbgFAK7J (ORCPT + 99 others); Mon, 1 Jun 2020 06:59:09 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:45310 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbgFAK7I (ORCPT ); Mon, 1 Jun 2020 06:59:08 -0400 Received: by mail-oi1-f194.google.com with SMTP id p70so3852985oic.12; Mon, 01 Jun 2020 03:59:06 -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=keLV8Gd9C9GRlhQTmWInhDyaWAHDTSmesa5VJ61KhzA=; b=Iwq0U5l30/QISPgqe5GgmwukfMZiUgKOx6QnPCciJLeHfI5t5pkzsj2MILdFG8y+Y3 kkNfug1Tu7luwVu8YfCRM7lZ03gO+BMHt1vBFgwyg87IyojB+r9dgam2/aCTlkx2H19e FOubFxgYacwt72eUbiUGbhPRUz/iQ5a8EsgdULygvpnlwxm/wTMlHplO8Ny046QNlR3l mahvNtJwus0jRp7D6oueE5+RRFYb0z2UDxA7yOnmllAg31ZP8AJTMuZ2+H0B3sJInnSd Eu3kfLB5YGDu/7AmHjagNsxv/b470hIEz9rYtEvDeV8B//NL+a7CvOui1GfEAZpZ2FMu wo0A== X-Gm-Message-State: AOAM532B49EQaSMBbuYmjq0jo8ow+E+ojP7gHoACIXgSadHtqq0UmTFH zxPVrA+uQQu13xApH1jvJM9/bWMycOMjxPKmmng= X-Received: by 2002:a05:6808:486:: with SMTP id z6mr14374613oid.103.1591009146050; Mon, 01 Jun 2020 03:59:06 -0700 (PDT) MIME-Version: 1.0 References: <20200529202135.GA461617@bjorn-Precision-5520> <20200529205900.whx3mxuvt6ijlqwg@srcf.ucam.org> <824d63d8-668c-22c8-a303-b44e30e805e1@gmail.com> <20200529225801.szl4obsas6ndilz4@srcf.ucam.org> <7c8cab08-e2d4-1952-1923-aa023ea67657@gmail.com> <20200530071434.vjkqxfmgo7xpls6j@srcf.ucam.org> <20200530113344.GA2834@infradead.org> In-Reply-To: <20200530113344.GA2834@infradead.org> From: "Rafael J. Wysocki" Date: Mon, 1 Jun 2020 12:58:49 +0200 Message-ID: Subject: Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default") To: Christoph Hellwig Cc: Matthew Garrett , Heiner Kallweit , Bjorn Helgaas , Bjorn Helgaas , "Rafael J. Wysocki" , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , ACPI Devel Maling 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 Sat, May 30, 2020 at 1:34 PM Christoph Hellwig wrote: > > On Sat, May 30, 2020 at 08:14:34AM +0100, Matthew Garrett wrote: > > On Sat, May 30, 2020 at 08:33:50AM +0200, Heiner Kallweit wrote: > > > > > It *was* default y. This changed with a914ff2d78ce ("PCI/ASPM: Don't > > > select CONFIG_PCIEASPM by default") and that's what triggered the > > > problem. If there's no easy solution, then maybe it's best to revert > > > the change for now. > > > > Oh, sorry, I was looking at mainline. CONFIG_PCIEASPM should > > *definitely* be enabled by default - platforms expect the OS to support > > it. If we want to get rid of default y then I think it'd make more sense > > to have a CONFIG_DISABLE_PCIEASPM that's under EXPERT, and people who > > really want to disable the code can do so. > > I think the fact that the EXPERT didn't get removed in the above bug > is a defintive bug. But I'd go further and think the CONFIG_PCIEASPM > option should be removed entirely. There is absolutely no good reason > to not build this small amount of code if PCIe support is enabled. Well stated, thanks!