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


Groups > linux.kernel > #1579079 > unrolled thread

Re: [PATCH] hwrng: cavium: Use per device name to allow for multiple devices.

Started byHerbert Xu <herbert@gondor.apana.org.au>
First post2017-02-11 20:00 +0100
Last post2017-02-11 20:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] hwrng: cavium: Use per device name to allow for multiple  devices. Herbert Xu <herbert@gondor.apana.org.au> - 2017-02-11 20:00 +0100

#1579079 — Re: [PATCH] hwrng: cavium: Use per device name to allow for multiple devices.

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2017-02-11 20:00 +0100
SubjectRe: [PATCH] hwrng: cavium: Use per device name to allow for multiple devices.
Message-ID<t9L3Q-4eF-15@gated-at.bofh.it>
On Mon, Feb 06, 2017 at 02:28:46PM -0800, David Daney wrote:
> Systems containing the Cavium HW RNG may have one device per NUMA
> node.  A typical configuration is a 2-node NUMA system, which results
> in 2 RNG devices.  The hwrng subsystem refuses (and rightly so) to
> register more than one device with he same name, so we get failure
> messages on these systems.
> 
> Make the hwrng name unique by including the underlying device name.
> Also remove spaces from the name to make it possible to switch devices
> via the sysfs knobs.
> 
> Signed-off-by: David Daney <david.daney@cavium.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web