From patchwork Mon Feb 11 22:55:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10806925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80A9E13B4 for ; Mon, 11 Feb 2019 22:55:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FAC72B42C for ; Mon, 11 Feb 2019 22:55:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62FBC2B426; Mon, 11 Feb 2019 22:55:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1DA132B426 for ; Mon, 11 Feb 2019 22:55:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727753AbfBKWzf (ORCPT ); Mon, 11 Feb 2019 17:55:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:38304 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727284AbfBKWze (ORCPT ); Mon, 11 Feb 2019 17:55:34 -0500 Received: from localhost (unknown [64.22.249.253]) (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 1120E2083B; Mon, 11 Feb 2019 22:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549925734; bh=lOZXT8YIPI6htqvmb4jtkxl1KNDEcGde/eZzjKZoS+Q=; h=Subject:From:To:Cc:Date:From; b=v2+aAavG7IxY4oOH3gdKFMwddVd2pZhfv2pV1lzB75s6AIFteLAbq0Iys9BLaUg4e QEcwnb92wO859G5KaDnp2YHMdFNQN0fiXRvo/Cl/s/Cf32YpE6XCAc3w911Zo8XzAw f40YoxlAkvS4O8JSGyW5zG4+FUwjFqAqkCs6cCyo= Subject: [PATCH v1 0/2] PCI/ASPM: Fix LTR issues From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: RussianNeuroMancer , David Ward , Frederick Lawler , Patrick Talbert , Lukas Wunner , Srinath Mannam , "Rafael J. Wysocki" , Vidya Sagar , Emmanuel Grumbach , linux-kernel@vger.kernel.org Date: Mon, 11 Feb 2019 16:55:33 -0600 Message-ID: <154992561743.7864.14353823538864422094.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These are to fix a couple LTR-related issues found while investigating https://bugzilla.kernel.org/show_bug.cgi?id=201469 I don't claim that these fix the whole problem of that bugzilla, but I think it's pretty clear that these are problems we need to fix, so I want to give these a little more exposure. Feedback welcome! --- Bjorn Helgaas (2): PCI/ASPM: Use LTR if already enabled by platform PCI/ASPM: Save LTR Capability for suspend/resume drivers/pci/pci.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++-- drivers/pci/probe.c | 36 ++++++++++++++++++++++------------- 2 files changed, 74 insertions(+), 15 deletions(-)