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>] [day] [month] [year] [list]
Date:	Tue, 7 Aug 2012 17:49:41 -0700
From:	John Linn <johnhlinn@...il.com>
To:	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc:	damm@...nsource.se
Subject: changing clock source frequency input for ARM kernel

We are working on CPU frequency scaling and our clock source is
dependent on our CPU frequency. When we change the CPU frequency we'd
like to update the clock source so the time keeping is all correct.

It's not clear to use how to make this correcly. The ST mobile stuff
is the only example of calling clocksource_updatefreq() that we see,
but since it's in the enable function it's not clear that this will
help us.

We have another timer in the block that we can use to allow us to ping
pong when updating the frequency if needed, but it's still based on
the same clock which is dependent on the CPU frequency.  It seems not
wise to disable the clock source if there's only one then re-enable
it.

Thanks for any help,
John
--
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