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]
Message-ID: <CAMuHMdXdYBB9AfdE4qb846SmkO_pqEqtrUsFL=d09tAqgmkXTQ@mail.gmail.com>
Date:	Tue, 4 Feb 2014 22:46:15 +0100
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	"Theodore Ts'o" <tytso@....edu>,
	Stephan Mueller <smueller@...onox.de>,
	Jörn Engel <joern@...fs.org>,
	Linux Kernel Developers List <linux-kernel@...r.kernel.org>,
	"Maciej W. Rozycki" <macro@...ux-mips.org>,
	Ralf Baechle <ralf@...ux-mips.org>,
	Dave Taht <dave.taht@...il.com>,
	John Crispin <blogic@...nwrt.org>,
	Andrew McGregor <andrewmcgr@...il.com>,
	Thorsten Glaser <tg@...bsd.de>, sandyinchina@...il.com
Subject: Re: [RFC PATCH 0/5] CPU Jitter RNG

On Tue, Feb 4, 2014 at 9:39 PM, H. Peter Anvin <hpa@...or.com> wrote:
> On 02/04/2014 11:39 AM, Geert Uytterhoeven wrote:
>> On Tue, Feb 4, 2014 at 8:23 PM,  <tytso@....edu> wrote:
>>> However, where a decade ago the ethernet card probably had its own
>>> independent clock crystal/oscillator, I'm going to guess that these
>>> days with SOC's and even on laptops, with ethernet device part of the
>>> chipset, it is probably being driven off the same master oscillator.
>>
>> USB typically still has its own crystal.
>
> USB and the Ethernet PHY frequently do still have their own crystals,
> for reasons not entirely clear to me.  However, what all of these have
> in common is that they are way out in the periphery.

Because they're fixed frequency, and used for communication with other
devices, so accuracy matters?

Other clocks can be tuned for performance or power reasons, but clocks
for communication must be fixed and stable. You can run e.g. your CPU
or memory a bit slower or faster, but not your Ethernet.

>>> I wonder if there's anyway we can either figure out manually, or
>>> preferably, automatically at boot time, which devices actually have
>>> independent clock oscillators.
>>
>> You may find this information in the DT on some platforms (if you're
>> lucky).
>
> On most systems today, all the high speed clocks (CPU, memory, etc.) are
> all fed from a single oscillator.

Indeed.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
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