lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 13 Oct 2010 10:08:14 +0300
From:	Andy Shevchenko <andy.shevchenko@...il.com>
To:	linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:	Chris Ball <cjb@...top.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Andy Shevchenko <ext-andriy.shevchenko@...ia.com>
Subject: Re: [PATCH] mmc: append a file to change host clock at run time

On Tue, Oct 12, 2010 at 6:17 PM, Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
> For debugging power managment features there is quite convenient to have a
> possibility to change MMC host controller clock at run time. This patch adds
> 'clock' file under MMC host root of debugfs.
>
> Usage as follows:
>
>        # cat /sys/kernel/debug/mmc0/clock
>        24000000
Actually this value should be 52000000 here.

>
>        # echo "1000000000" > /sys/kernel/debug/mmc0/clock
>        # cat /sys/kernel/debug/mmc0/clock
>        52000000
>
>        # echo "48000000" > /sys/kernel/debug/mmc0/clock
>        # cat /sys/kernel/debug/mmc0/clock
>        48000000
>
> The second piece of example shows limits which are applied accordingly to used
> host driver.


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ