summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-07-31 14:02:19 -0700
committerWilly Tarreau <w@1wt.eu>2012-10-07 23:41:12 +0200
commit67c19301dcdd94661b8d07e7f6bc67622f1d3338 (patch)
tree3b8074e10666ce95695a859541b09707fb85ef9b /Documentation
parent5e6321d123dc795ce37b070ba631f9937ca6924d (diff)
x86, random: Verify RDRAND functionality and allow it to be disabled
commit 49d859d78c5aeb998b6936fcb5f288f78d713489 upstream. 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 <hpa@linux.intel.com> Cc: Matt Mackall <mpm@selenic.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index c840e7d6c4a4..14c7fb087506 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1725,6 +1725,11 @@ and is between 256 and 4096 characters. It is defined in the file
noresidual [PPC] Don't use residual data on PReP machines.
+ nordrand [X86] Disable the direct use of the RDRAND
+ instruction even if it is supported by the
+ processor. RDRAND is still available to user
+ space applications.
+
noresume [SWSUSP] Disables resume and restores original swap
space.