Received: by 10.213.65.68 with SMTP id h4csp1632622imn; Thu, 15 Mar 2018 05:30:57 -0700 (PDT) X-Google-Smtp-Source: AG47ELu+qIH2wKTjtjYORXjerwH6NI/6+miFqItRjEv5Q7cvivRMPji9ocgZqvaVp+rnimEqipAS X-Received: by 2002:a17:902:8c93:: with SMTP id t19-v6mr7756357plo.304.1521117057713; Thu, 15 Mar 2018 05:30:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521117057; cv=none; d=google.com; s=arc-20160816; b=C+QiaosXzhf3vVRqIKY//rl6cNrsQ0RrH83WKEJ2q4q2mwG6APapxFC5vKXFfcial5 2l27WQzxJmW9QmSyTQngvcAfSKZJ0CZE6nElCDLvNjzYulYyFpBRwpn+49nYMZ5j/IDo 3y50QdxuVL8soq6zsob58zj7QEhJvX6T+NI8AH4iPXlPa/HJuUQrdBFqoH+2w59YbU2B bbP2o6/VnMgFa/bU3Xv4wdOyu5zpYu/9zYL0dzk9Z/gv4L62JtcGfztM7kxX7CJy/azT KKCOauU7gliZrlUqgsgoBwvWEChRc5QluvGVE2iH838aStcFcuB/GeMVdzF+Be9QuERs 7Pkg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=4R5pdHHhljODIK4GezsOkM2+94uKONzWEM5oWb/ynaQ=; b=Qqpyl+sk6ZV1ORLbLpvQOj5WBWTfQZDrzefLs7PVm2AODj80rQpp5+x48vAWbcdDzS +kAt922tpev2+4ZZ8d0ZAqlPQzElwjYTAIFe2fp6Ee5IVHZV8wxARGHb8krNZrCyYt87 lx6OEjUeJ9mZXb0754reFzmppyIEXrxMOXRr3fa7CKe2jwQbFpf/z7WOkx+UH9Z+XxoU xQ3fbBXktxX/QLF0RjfOMHnPpedgTzPQburzn9Ezk/cEYbolh0Wx6TSVfOGFiJ+4Oom8 uzT8lwLL9OfOErXBJw+T/djxMi0tIv8k/9rJ+JkW/hkcLmdXydfUMqCh3NuHq8EYdrvZ 4AOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G3kZT3tl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si2033794pli.645.2018.03.15.05.30.42; Thu, 15 Mar 2018 05:30:57 -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=@linaro.org header.s=google header.b=G3kZT3tl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbeCOM3e (ORCPT + 99 others); Thu, 15 Mar 2018 08:29:34 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:40560 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbeCOM3c (ORCPT ); Thu, 15 Mar 2018 08:29:32 -0400 Received: by mail-io0-f172.google.com with SMTP id e79so126472ioi.7 for ; Thu, 15 Mar 2018 05:29:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4R5pdHHhljODIK4GezsOkM2+94uKONzWEM5oWb/ynaQ=; b=G3kZT3tlKXZwfZNGsskwslHWbirQTtR7iuYVN3nUuOQh0vvvwAmMUw+qIp9zU3jfgC skyWIYMSUtB50JOY1jp9RewLBjZPUg7jenSS9DJrvBdEvy1ucm8yTEeEt3aXSb9QMyvR 9IZXpVfnKW6/prJRjVdQ+Y8tNgp/z1M0PWuLI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4R5pdHHhljODIK4GezsOkM2+94uKONzWEM5oWb/ynaQ=; b=JFI5GxkyuV2MiAYgi7O/So0gizITT7Hi0ho2sglg80StX+fOUBNv78QVFeCnpbq8Vj iD0BJpGKgdM+cser0x2RCSfRXBx7f8jpSftM1Cc0e8v7z1zmHdGtvFePdNo2kf5IeMEl NxTmwfqHtyDiTYWciOg8JKcacCP09PTDSO6ziBkWA/N5SbIZldiX156I3g4mG9d+QJ2Y wa4stg230SLae8E8ly+Bn2ByHrFUauKBUOX4fFtpO97vquhjLy7qZBDPm3tJCMnP59xu c2bTK4WvYOffVSqEpgnY2tVJiUXhZrO0m5zsDjffpy4N02aywfLggJeWRWGYVMy3lw/U 8UqQ== X-Gm-Message-State: AElRT7EH/DQ10369DbSb+IkZciYmguBoaTuPCYvJxTlesMQ0sl9Y3j/c Hm7fT05iw2h8Cw3MkJQImDqllP5wgmwg/l8Hw+xR+g== X-Received: by 10.107.132.197 with SMTP id o66mr8609024ioi.119.1521116971976; Thu, 15 Mar 2018 05:29:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.101.23 with HTTP; Thu, 15 Mar 2018 05:29:30 -0700 (PDT) In-Reply-To: <1521109575.10722.654.camel@linux.intel.com> References: <1520917812-20047-1-git-send-email-harish_kandiga@mentor.com> <1521109575.10722.654.camel@linux.intel.com> From: Ulf Hansson Date: Thu, 15 Mar 2018 13:29:30 +0100 Message-ID: Subject: Re: [PATCH v10] mmc: Export host capabilities to debugfs. To: Andy Shevchenko Cc: Harish Jenny K N , Linus Walleij , Adrian Hunter , Shawn Lin , avri.altman@wdc.com, "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Vladimir Zapolskiy 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 15 March 2018 at 11:26, Andy Shevchenko wrote: > 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 If we were to print the description, there is no point in printing the bits in hex. Or is it? As I said, if you and other folkz thinks this is valuable, then I am fine as well. Just saying, it's not my preferred option. Kind regards Uffe