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@xxxxxxx> 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@xxxxxxxxxxxxxxx <linux-mmc- > > owner@xxxxxxxxxxxxxxx> On Behalf Of Patrick Oppenlander > > Sent: Wednesday, February 12, 2020 11:35 PM > > To: linux-mmc@xxxxxxxxxxxxxxx > > 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