Received: by 10.223.164.221 with SMTP id h29csp2220707wrb; Mon, 23 Oct 2017 03:30:28 -0700 (PDT) X-Google-Smtp-Source: ABhQp+ScX9lSjHHAZJwjMY4HBuWkP5dFgc5n8Itw6x9WAzx3f+YebTa5JqwtP6R3xotfiQhM7lge X-Received: by 10.98.194.16 with SMTP id l16mr12576358pfg.139.1508754628781; Mon, 23 Oct 2017 03:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508754628; cv=none; d=google.com; s=arc-20160816; b=scC5dYiBtrVGSr+TrptivjscQmEl8EOdRyx28egqE4b/QSBdwsz1tzEF8Ee21AVeed cWOcAxxjpRljt5hg8t7W8R5ibSZ+0T1ymobPRcz/MfPuNv3jJ/IKwOAI3iX+st8aabCz JVKi4lNi1u4Of2fX2FGPFn8P0pJICKZB4E9N5qMobpv5Gn9YQOhKSyQKPPf+cmx6sUDc Mu7ZILLgPlrQhMrhuZSuqygEFkILY7QzJu59kfO9Kr1psWwjXnYWE9mrTeAG60pni44y BjhAI1ViMh8ZFFm3lhYHzOTEATtPSFSMLpJ1v4CH9EKrYN52f8kmX96Ghx2PSCYqND0+ D3yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=nPKA3G1GqjfAncSsrcFZ1fmj62Mul2RJamWlyl0p+Bo=; b=Q+36WEBWe1mVywT+v7GhHO+AjcaOmXx6ld4ixmIG6AGl5XfhcbksW48aU/dAp8TTpH 1/OWZRFxmJ9aG8CxNpcdPe1lMlaz69gxuJpgZpmT2+wJEKRG9U/1BZI5c28aTPCqJtiT uhBD+pEJ0zWqp8L5d6za/GA5/aRCOYTXJK0Ox3MfxCFozDOzmLhOtCzCdcF0LJkLxrBT UyDwFIoFndkEFSbyVPX+ZZ1RONrpJEPQGs0lKGs7RV9sVTm86VNBAMs0WUIiJR02ifcx gaD5HkLz9R8MWkthiettKpCzRYwfDr2hlQYtHliv6fPakunNVGRx7d5Z02+rZ4sdOWY/ SKLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BcZ3hUMv; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si4663858pgq.608.2017.10.23.03.30.14; Mon, 23 Oct 2017 03:30:28 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BcZ3hUMv; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751591AbdJWK33 (ORCPT + 99 others); Mon, 23 Oct 2017 06:29:29 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:64300 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbdJWK31 (ORCPT ); Mon, 23 Oct 2017 06:29:27 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9NATPPx015095; Mon, 23 Oct 2017 05:29:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1508754565; bh=PPoWPGNcn93xquFRT5KmecW88ZTijRe6GuMPIZ3dB/M=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=BcZ3hUMvMgbGCWptoGVn6NsFE049vL/sxshKcI4gZsEGPa2/40hvPVyBJvesFs5y1 QPcse1g0jeu369fmvj6wKVDK9u/lt6r7UdaMirmG93KwCRytOirVfjfJ1PX0oCaQCN 3/piTpmxWZ39cyVHtjW1/aJ+4xa85R45xgHbBewI= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9NATPxq027930; Mon, 23 Oct 2017 05:29:25 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 23 Oct 2017 05:29:24 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 23 Oct 2017 05:29:24 -0500 Received: from [172.24.190.215] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9NATMH4019959; Mon, 23 Oct 2017 05:29:23 -0500 Subject: Re: [PATCH v2] dwc: dra7xx: Print link state to console for debug To: Bjorn Helgaas CC: , , , , References: <1508417009-30869-1-git-send-email-faiz_abbas@ti.com> <20171020230952.GZ6332@bhelgaas-glaptop.roam.corp.google.com> From: Faiz Abbas Message-ID: <3692fbeb-bf8a-6de6-898b-551d899e9e55@ti.com> Date: Mon, 23 Oct 2017 15:59:49 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171020230952.GZ6332@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On Saturday 21 October 2017 04:39 AM, Bjorn Helgaas wrote: > On Thu, Oct 19, 2017 at 06:13:29PM +0530, Faiz Abbas wrote: >> Enable support for printing the LTSSM link state for debugging PCI >> when link is down. >> >> Signed-off-by: Faiz Abbas >> --- >> v2: >> 1. Changed dev_err() to dev_dbg() >> 2. Changed static char array to static const char * const >> 3. format changes > > I'm not really sure how much debug help we want to carry around in the > mainline kernel. End users aren't going to use this; it seems like > more of a lab tool, and in situations like that you usually end up > carrying around some out-of-tree patches for a while anyway. But I > can probably be convinced either way. > It'll be easier to support customers if they can tell us what the state of the link is by just changing the log level. We won't have to send a debug patch to the customer to find that out. Thanks, Faiz From 1581819937017031380@xxx Fri Oct 20 23:10:47 +0000 2017 X-GM-THRID: 1581691652519634530 X-Gmail-Labels: Inbox,Category Forums