From: Michael Ellerman Date: Fri, 11 Oct 2013 03:07:58 +0000 (+1100) Subject: hwrng: Add a driver for the hwrng found in power7+ systems X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66548e40583b1470300341c6784fdc5176f7609f;p=pandora-kernel.git hwrng: Add a driver for the hwrng found in power7+ systems Add a driver for the hwrng found in power7+ systems, based on the existing code for the arch_get_random_long() hook. We only register a single instance of the driver, not one per device, because we use the existing per_cpu array of devices in the arch code. This means we always read from the "closest" device, avoiding inter-chip memory traffic. Signed-off-by: Guo Chao Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed