diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-07-31 17:02:19 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-07-31 17:02:19 -0400 |
commit | 49d859d78c5aeb998b6936fcb5f288f78d713489 (patch) | |
tree | 04b7746d1b79ab12bf94ff1eaf9ab91e74db37ef /Documentation | |
parent | 628c6246d47b85f5357298601df2444d7f4dd3fd (diff) |
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 <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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index aa47be71df4c..397ee05132a3 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1764,6 +1764,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1764 | 1764 | ||
1765 | noresidual [PPC] Don't use residual data on PReP machines. | 1765 | noresidual [PPC] Don't use residual data on PReP machines. |
1766 | 1766 | ||
1767 | nordrand [X86] Disable the direct use of the RDRAND | ||
1768 | instruction even if it is supported by the | ||
1769 | processor. RDRAND is still available to user | ||
1770 | space applications. | ||
1771 | |||
1767 | noresume [SWSUSP] Disables resume and restores original swap | 1772 | noresume [SWSUSP] Disables resume and restores original swap |
1768 | space. | 1773 | space. |
1769 | 1774 | ||