All of lore.kernel.org
 help / color / mirror / Atom feed
From: khilman@baylibre.com (Kevin Hilman)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 00/18] mmc: meson-gx: code and performance improvements
Date: Wed, 15 Feb 2017 11:49:57 -0800	[thread overview]
Message-ID: <m2efyz6xp6.fsf@baylibre.com> (raw)
In-Reply-To: <74c3a06c-d972-1e70-fb22-744df8ef31d9@gmail.com> (Heiner Kallweit's message of "Tue, 14 Feb 2017 21:05:16 +0100")

Hi Heiner,

Heiner Kallweit <hkallweit1@gmail.com> writes:

> This patch series includes several improvements and boosted the
> read performance from 13 MB/s to 32 MB/s (at 60MHz clock rate)
> on a Odroid C2 with a 128GB eMMC module.
>
> Higher frequencies needed tuning in my case. With some hacked
> test tuning I reached 52 MB/s at 200MHz.
> With a 8GB card 200MHz were stable out of the box, but with
> less performacne.

Thanks for the series and improvements.  I'm not very familiar with MMC,
so I've been hoping someone would come along and improve this driver.  I
really appreciate it.

There are a few comments I've made on individual patches in the series.

It will probably be helpful to the MMC maintainers if you separate the
series into:

- cleanups (non-functional changes)
- fixes: things that fix actual bugs (not sure there are any in this
  series)

followed by a series that does the functional changes.

Also, can I recommend that you use git-format-patch and git-send-email
to export and email your patches?  If you use git-send-email, all of the
individual patches will be sent as a reply to the cover-letter, making
the threading work better and generally make readers/reviewers happier.

Thanks again for the great work,

Kevin

> Heiner Kallweit (18):
>   mmc: meson-gx: set segment host parameters
>   mmc: meson-gx: remove code for unsupported CMD23
>   mmc: meson-gx: explicitely call stop command for multi-block commands only
>   mmc: meson-gx: improve meson_mmc_start_cmd
>   mmc: meson-gx: eliminate struct sd_emmc_data
>   mmc: meson-gx: simplify bounce buffer setting in meson_mmc_start_cmd
>   mmc: meson-gx: check return value of sg_copy_[from,to]_buffer
>   mmc: meson-gx: make two functions return void
>   mmc: meson-gx: change interrupt name
>   mmc: meson-gx: remove unused members irq, ocr_mask from struct meson_host
>   mmc: meson-gx: remove unneeded variable in meson_mmc_clk_init
>   mmc: meson-gx: remove member parent_mux from struct meson_host
>   mmc: meson-gx: remove unneeded meson_mmc_clk_set in meson_mmc_clk_init
>   mmc: meson-gx: remove unneeded devm_kstrdup in meson_mmc_clk_init
>   mmc: meson-gx: improve initial configuration
>   mmc: meson-gx: improve response reading and sending stop command
>   mmc: meson-gx: remove member mrq from struct meson_host
>   mmc: meson-gx: move handling of one case from threaded handler to main irq
>
>  drivers/mmc/host/meson-gx-mmc.c | 241 ++++++++++++++++------------------------
>  1 file changed, 97 insertions(+), 144 deletions(-)

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@baylibre.com>
To: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
	Carlo Caione <carlo@caione.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	linux-amlogic@lists.infradead.org
Subject: Re: [PATCH 00/18] mmc: meson-gx: code and performance improvements
Date: Wed, 15 Feb 2017 11:49:57 -0800	[thread overview]
Message-ID: <m2efyz6xp6.fsf@baylibre.com> (raw)
In-Reply-To: <74c3a06c-d972-1e70-fb22-744df8ef31d9@gmail.com> (Heiner Kallweit's message of "Tue, 14 Feb 2017 21:05:16 +0100")

Hi Heiner,

Heiner Kallweit <hkallweit1@gmail.com> writes:

> This patch series includes several improvements and boosted the
> read performance from 13 MB/s to 32 MB/s (at 60MHz clock rate)
> on a Odroid C2 with a 128GB eMMC module.
>
> Higher frequencies needed tuning in my case. With some hacked
> test tuning I reached 52 MB/s at 200MHz.
> With a 8GB card 200MHz were stable out of the box, but with
> less performacne.

Thanks for the series and improvements.  I'm not very familiar with MMC,
so I've been hoping someone would come along and improve this driver.  I
really appreciate it.

There are a few comments I've made on individual patches in the series.

It will probably be helpful to the MMC maintainers if you separate the
series into:

- cleanups (non-functional changes)
- fixes: things that fix actual bugs (not sure there are any in this
  series)

followed by a series that does the functional changes.

Also, can I recommend that you use git-format-patch and git-send-email
to export and email your patches?  If you use git-send-email, all of the
individual patches will be sent as a reply to the cover-letter, making
the threading work better and generally make readers/reviewers happier.

Thanks again for the great work,

Kevin

> Heiner Kallweit (18):
>   mmc: meson-gx: set segment host parameters
>   mmc: meson-gx: remove code for unsupported CMD23
>   mmc: meson-gx: explicitely call stop command for multi-block commands only
>   mmc: meson-gx: improve meson_mmc_start_cmd
>   mmc: meson-gx: eliminate struct sd_emmc_data
>   mmc: meson-gx: simplify bounce buffer setting in meson_mmc_start_cmd
>   mmc: meson-gx: check return value of sg_copy_[from,to]_buffer
>   mmc: meson-gx: make two functions return void
>   mmc: meson-gx: change interrupt name
>   mmc: meson-gx: remove unused members irq, ocr_mask from struct meson_host
>   mmc: meson-gx: remove unneeded variable in meson_mmc_clk_init
>   mmc: meson-gx: remove member parent_mux from struct meson_host
>   mmc: meson-gx: remove unneeded meson_mmc_clk_set in meson_mmc_clk_init
>   mmc: meson-gx: remove unneeded devm_kstrdup in meson_mmc_clk_init
>   mmc: meson-gx: improve initial configuration
>   mmc: meson-gx: improve response reading and sending stop command
>   mmc: meson-gx: remove member mrq from struct meson_host
>   mmc: meson-gx: move handling of one case from threaded handler to main irq
>
>  drivers/mmc/host/meson-gx-mmc.c | 241 ++++++++++++++++------------------------
>  1 file changed, 97 insertions(+), 144 deletions(-)

  reply	other threads:[~2017-02-15 19:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-14 20:05 [PATCH 00/18] mmc: meson-gx: code and performance improvements Heiner Kallweit
2017-02-14 20:05 ` Heiner Kallweit
2017-02-15 19:49 ` Kevin Hilman [this message]
2017-02-15 19:49   ` Kevin Hilman
2017-02-15 20:55   ` Heiner Kallweit
2017-02-15 20:55     ` Heiner Kallweit

Reply instructions:

You may reply publicly 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=m2efyz6xp6.fsf@baylibre.com \
    --to=khilman@baylibre.com \
    --cc=linus-amlogic@lists.infradead.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.