From: H. Peter Anvin Date: Sun, 31 Jul 2011 21:02:19 +0000 (-0700) Subject: x86, random: Verify RDRAND functionality and allow it to be disabled X-Git-Tag: v3.2-rc1~139^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d859d78c5aeb998b6936fcb5f288f78d713489;p=pandora-kernel.git x86, random: Verify RDRAND functionality and allow it to be disabled If the CPU declares that RDRAND is available, go through a guranteed reseed sequence, and make sure that it is actually working (producing data.) If it does not, disable the CPU feature flag. Allow RDRAND to be disabled on the command line (as opposed to at compile time) for a user who has special requirements with regards to random numbers. Signed-off-by: H. Peter Anvin Cc: Matt Mackall Cc: Herbert Xu Cc: "Theodore Ts'o" --- Reading git-diff-tree failed