Received: by 10.213.65.68 with SMTP id h4csp1564791imn; Thu, 15 Mar 2018 03:27:25 -0700 (PDT) X-Google-Smtp-Source: AG47ELvj4HaMB98KLwEvAmIs+YN8CIJyaoODIqqlN+f6QA2s3OoWSgYKMYYmZvgGrf26jGBC9IC3 X-Received: by 2002:a17:902:6bcc:: with SMTP id m12-v6mr7591407plt.101.1521109645281; Thu, 15 Mar 2018 03:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521109645; cv=none; d=google.com; s=arc-20160816; b=iF6wZUTPNXky7Usr6ooLnFB64ipM2WWa1iSrRtfbgKWHQuC8qIKtPpfdhAt/D/esLX Wqz134nq3S1jd8ft2PC54jREuZvTcsDlTyTMZ+WuJ3XFjjUEF5Dl18kmi5aWQZbfnxzj qU92fjUM3laO7r5PY6jAMSmFDQ5U5wCUs9SR6nIDKrMEiRc3WNupZEheWBu5vsGRyJrt qEzYEtb228GFTX+fT5Ln0LZDQx27HSSQyVs9vMdO2+sAHGsF6MvlHPWALZnx2ZeoC570 0dJK9yxOaqWDShQIg3WNsnChdGsLUup8AzvjAmV9e82B2fRXn8nK+u1WZCnRB2eOh4EO jnsw== 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:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=P9PWOFRRmeCjh/eenkW7DEY4bjWpKZjk7Dnh9QktHO0=; b=KInCuYSnOMMcb0zmaz2B1dLo3oNx15kaI0iooKbjx6L066GKQm52xyP0HkvuugicTC lFLW+72Sx3FXj+UA3UDhIEDde4GwEtRyRul/wT3IbSjin78WqUl8eKjJLlMCyoAkCyZS hrrlnjVswcROZTGKGOPJNtP/38g1r2FKJGrNwqA9WR3aBJXF+oi7ZuiInY1+JkGhJ6vV vKEzZWAfpnP5vgb0i+mcQTM0ud9JafeVSHu1W4A4HUNiQu9FkgIoh/P0cgafgcHBzsvd t+slMoXufyMu9m43Bd3JR4sGENJezSKNzhZ++6+UxxOXzmWCXdRO10Dx0k8QJcQqvVom DZRw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8-v6si3750401ple.435.2018.03.15.03.27.10; Thu, 15 Mar 2018 03:27:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751719AbeCOK0V (ORCPT + 99 others); Thu, 15 Mar 2018 06:26:21 -0400 Received: from mga02.intel.com ([134.134.136.20]:17439 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751481AbeCOK0T (ORCPT ); Thu, 15 Mar 2018 06:26:19 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 03:26:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,310,1517904000"; d="scan'208";a="35216729" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by orsmga003.jf.intel.com with ESMTP; 15 Mar 2018 03:26:16 -0700 Message-ID: <1521109575.10722.654.camel@linux.intel.com> Subject: Re: [PATCH v10] mmc: Export host capabilities to debugfs. From: Andy Shevchenko To: Ulf Hansson , Harish Jenny K N Cc: Linus Walleij , Adrian Hunter , Shawn Lin , avri.altman@wdc.com, "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Vladimir Zapolskiy Date: Thu, 15 Mar 2018 12:26:15 +0200 In-Reply-To: References: <1520917812-20047-1-git-send-email-harish_kandiga@mentor.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.5-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-03-15 at 11:12 +0100, Ulf Hansson wrote: > On 13 March 2018 at 06:10, Harish Jenny K N > wrote: > > > Honestly, I don't like this, but maybe other people do, then I am fine > with this approach. > > If were to decide, I would just rather print the caps field in a > hexadecimal bit form and leave the translation to the user. A compromise would be to print both: 0xHHHHHHHH\n Description of each enabled field, one per line Another format would be: Bit XX: Description of a field -- Andy Shevchenko Intel Finland Oy