From patchwork Mon Sep 9 23:13:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 2863371 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2F6D9BF43F for ; Mon, 9 Sep 2013 23:13:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 44C3120260 for ; Mon, 9 Sep 2013 23:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 320EB2024F for ; Mon, 9 Sep 2013 23:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755850Ab3IIXNt (ORCPT ); Mon, 9 Sep 2013 19:13:49 -0400 Received: from mail-yh0-f53.google.com ([209.85.213.53]:34011 "EHLO mail-yh0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755841Ab3IIXNs (ORCPT ); Mon, 9 Sep 2013 19:13:48 -0400 Received: by mail-yh0-f53.google.com with SMTP id b20so1732678yha.26 for ; Mon, 09 Sep 2013 16:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=Z8BukrRzGmkA2Gf3YRIDaNNDxs9FDR2C/FFEv+HSMW0=; b=gdTpZYm4h3teqyRK01nqLHzj6g2cesqXHx57Y1Dgo7UfEjSP9xzf5UaVcIzZNZw4aJ HQsVlCPkSTh/QBUrDvCFikR86za2lhjOB8Q68+p/KMOdjyMUzyXd7tY2lRZ4FpYMd5hD WbWJ6PB3ol5GESmAwRLjoPC5BvrbiJYH1R5fl3zDPWXQtRJx+Z9OqOmhAOD0vi7pkUQE xpAkSGCJFCn4v4F3UIPtVoImJYowYwth/PIaNdu5jigFujjNGnDRT36f1MHCI1IUXSJO lZfFDb0B2ayKHkIMstyyJg2uojagLsrY+gFnevxDVTSFwADiWtl2JPa/A88h2CAWie8x Zs3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:from:cc:date:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=Z8BukrRzGmkA2Gf3YRIDaNNDxs9FDR2C/FFEv+HSMW0=; b=Qm8hVjzeNZ6y+XRkuA66/6hSE+nPAgLeDdo7RvIsU4q8i6ChQR6yU8dWF8g2IEafza xOkyaTRj2/qmZv2DhoIi2cebWBRSiHpxb1v8K7qMFMCgr0dJRLHBikmu8M6AmkbUaV4/ Xn1QSona7cHl3f3PDoHEjFenpmIyX5ktBiv15Ks40DhKKeXn9eyG10z239Ox6+wrT91V e+obDNDg7P6d3nxeAjW0brBQePfrEVYIqXYWUVbZD/B6mzjHX8Ss8TTLu1/h6c/jtZ2x iEH5XJo+1MdWgdbENMQUj1wE+VEMwY5km49wy1eCjZaR7TeWBx4mADnp5P0GtUIlexQ2 uxfQ== X-Gm-Message-State: ALoCoQlA+5172CfkXE2Abp55MkGZ2vMlKVWbZWi/BBrAhBel4rUHYewYeJqFfl9lDpU+YLkc5/N/O/huIIz9kxNUAqqTidfh2kJBumcBW9n4MfrhrSkgCA9x1RLDhmr6U7wL4xZultBmgKGR6IuPUfoj6Yn4pKdvErqQ1LupBR/wvGd49GDWrcHpEwelvelMKSR46K+yiSpCPCUYE95s1sgTyDlC2+Awwg== X-Received: by 10.236.45.102 with SMTP id o66mr18913556yhb.13.1378768428105; Mon, 09 Sep 2013 16:13:48 -0700 (PDT) Received: from localhost ([172.16.51.73]) by mx.google.com with ESMTPSA id m26sm20736338yho.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 09 Sep 2013 16:13:47 -0700 (PDT) Subject: [PATCH 1/7] lspci: Label PCIe LnkCap "L0s Exit Latency" as "L0s", not "L0" To: Martin Mares From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Date: Mon, 09 Sep 2013 17:13:45 -0600 Message-ID: <20130909231345.30095.61638.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The PCIe Link Capabilities "L0s Exit Latency" is the latency to exit L0s, not L0, so label it "L0s" instead of "L0". This matches the way we label the Device Capabilities "Endpoint L0s Acceptable Latency" field as "Latency L0s". This also adds "Exit" to the description to help distinguish it from the "Acceptable Latency" fields in the Device Capabilities register. Signed-off-by: Bjorn Helgaas --- ls-caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/ls-caps.c b/ls-caps.c index be19d38..a1a1546 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -753,7 +753,7 @@ static void cap_express_link(struct device *d, int where, int type) u16 w; t = get_conf_long(d, where + PCI_EXP_LNKCAP); - printf("\t\tLnkCap:\tPort #%d, Speed %s, Width x%d, ASPM %s, Latency L0 %s, L1 %s\n", + printf("\t\tLnkCap:\tPort #%d, Speed %s, Width x%d, ASPM %s, Exit Latency L0s %s, L1 %s\n", t >> 24, link_speed(t & PCI_EXP_LNKCAP_SPEED), (t & PCI_EXP_LNKCAP_WIDTH) >> 4, aspm_support((t & PCI_EXP_LNKCAP_ASPM) >> 10),