Linux-mmc Archive on lore.kernel.org
 help / color / Atom feed
From: Patrick Oppenlander <patrick.oppenlander@gmail.com>
To: Avri Altman <Avri.Altman@wdc.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>
Subject: Re: mmc-utils mmc tool reports incorrect cache size
Date: Fri, 14 Feb 2020 09:14:10 +1100
Message-ID: <CAEg67GkTpaV9hbTx3Yt1EcXsPGwavwMiCw9ArM+qq5P0sE6bPg@mail.gmail.com> (raw)
In-Reply-To: <MN2PR04MB6991B0F4431E56BA0C64927AFC1A0@MN2PR04MB6991.namprd04.prod.outlook.com>

Hi Avri,

I have resent the patch. Hopefully it looks better now.

Thanks for the reference,

Patrick

On Thu, Feb 13, 2020 at 6:35 PM Avri Altman <Avri.Altman@wdc.com> wrote:
>
> Patrick hi,
> Yes, it is helpful, but you need to submit your patch in a way it can be reviewed.
> Maybe you can look in https://www.kernel.org/doc/html/v5.5/process/5.Posting.html?highlight=submit%20patches#
> For more info.
>
> Thanks,
> Avri
>
> > -----Original Message-----
> > From: linux-mmc-owner@vger.kernel.org <linux-mmc-
> > owner@vger.kernel.org> On Behalf Of Patrick Oppenlander
> > Sent: Wednesday, February 12, 2020 11:35 PM
> > To: linux-mmc@vger.kernel.org
> > Subject: mmc-utils mmc tool reports incorrect cache size
> >
> > CAUTION: This email originated from outside of Western Digital. Do not click
> > on links or open attachments unless you recognize the sender and know that
> > the content is safe.
> >
> >
> > Hi,
> >
> > I recently noticed that 'mmc' reports cache size incorrectly. The unit
> > in the extended CSD is kilobits rather than kilobytes, so for a
> > display unit of 'KiB' it needs to be scaled appropriately.
> > Alternatively the unit could change to Kibit, but I think that's less
> > helpful.
> >
> > I've attached a patch which fixes the issue & includes references to
> > the relevant parts of the JEDEC standard.
> >
> > Hope someone finds this helpful,
> >
> > Patrick

      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 21:34 Patrick Oppenlander
2020-02-13  7:35 ` Avri Altman
2020-02-13 22:14   ` Patrick Oppenlander [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEg67GkTpaV9hbTx3Yt1EcXsPGwavwMiCw9ArM+qq5P0sE6bPg@mail.gmail.com \
    --to=patrick.oppenlander@gmail.com \
    --cc=Avri.Altman@wdc.com \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-mmc Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mmc/0 linux-mmc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mmc linux-mmc/ https://lore.kernel.org/linux-mmc \
		linux-mmc@vger.kernel.org
	public-inbox-index linux-mmc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mmc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git