Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752698Ab3IJWTs (ORCPT ); Tue, 10 Sep 2013 18:19:48 -0400 Received: from imap.thunk.org ([74.207.234.97]:57904 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751261Ab3IJWTn (ORCPT ); Tue, 10 Sep 2013 18:19:43 -0400 Date: Tue, 10 Sep 2013 18:19:39 -0400 From: "Theodore Ts'o" To: Rob Herring Cc: Linus Torvalds , Tim Bird , Grant Likely , Linux Kernel Mailing List , "devicetree@vger.kernel.org" , Anton Blanchard Subject: Re: [GIT PULL] Device tree updates for v3.12 Message-ID: <20130910221939.GC11063@thunk.org> Mail-Followup-To: Theodore Ts'o , Rob Herring , Linus Torvalds , Tim Bird , Grant Likely , Linux Kernel Mailing List , "devicetree@vger.kernel.org" , Anton Blanchard References: <522F97EF.5050303@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <522F97EF.5050303@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1135 Lines: 24 On Tue, Sep 10, 2013 at 05:06:39PM -0500, Rob Herring wrote: > > If I recall correctly, somebody said that things like ethernet MAC > > addresses etc sometimes come from DT. Is my memory going, or is that > > true but very rare? > > It is true and fairly common. You can also have serial numbers in the > DT, but that is more rare. The bootloader will also add the kernel > command line, initrd start and end addresses. Stuff which is common across a large number of devices is rather less useful to merge in. Is there some fixed way that things like serial numbers and MAC addresses are tagged as such in the device tree? Those are really the interesting bits to pass to add_device_randomness(). What we want is stuff which is unique to the device --- SP 800-90 (the NIST SPEC on Secure Random Number Generators) refers to this as "personalization strings". - Ted -- 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/