Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206063

Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic clock gating.

From Michal Suchanek <hramrach@gmail.com>
Newsgroups linux.kernel
Subject Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic clock gating.
Date 2015-08-12 15:00 +0200
Message-ID <pWDNo-4Q9-19@gated-at.bofh.it> (permalink)
References <pWDu4-4ta-55@gated-at.bofh.it> <pWDu4-4ta-57@gated-at.bofh.it> <pWDu4-4ta-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12 August 2015 at 14:35, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
> On 12-08-15 14:23, Michal Suchanek wrote:
>>
>> When core does not set the MMC_QUIRK_BROKEN_CLK_GATING flag enable
>> automatic hardware controlled clock gating on the mmc interface.
>>
>> Signed-off-by: Michal Suchanek <hramrach@gmail.com>
>
>
> In general this looks good, but I wonder how intensively this has
> been tested ?

Unlike the wrong timeout it does not cause the boards to crash frequently ;-)

It would be nice if somebody actively using some board atm tested this.

> Also given the long latencies when using manual
> clock on/off support, have you done any testing to check what

I suspect the long latency is due to the controller flushing data to
the card or something like that since it happens only under load.

> sort of latencies this adds, e.g. Both with and without
> the patch, dump all the filesystem caches:
>
> echo 3 > /proc/sys/vm/drop_caches
>
> And then do:
>
> time cat /some/small/file/on/the/sdcard
>
> Do this at least 3 time both with and without the patch, and see
> if there are any noticable differences ?

Yes, it would be good idea to test.

Thanks

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic  clock gating. Hans de Goede <hdegoede@redhat.com> - 2015-08-12 14:40 +0200
  Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic  clock gating. Michal Suchanek <hramrach@gmail.com> - 2015-08-12 15:00 +0200
  Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic  clock gating. Olliver Schinagl <oliver+list@schinagl.nl> - 2015-08-12 15:20 +0200
    Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic  clock gating. Michal Suchanek <hramrach@gmail.com> - 2015-08-12 15:40 +0200
      Re: [linux-sunxi] [PATCH 3/3] mmc: sunxi: use controller automatic  clock gating. Olliver Schinagl <oliver+list@schinagl.nl> - 2015-08-12 17:00 +0200

csiph-web