aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2017-11-18 08:21:38 -0500
committerTed Hess <thess@kitschensync.net>2017-11-18 08:21:38 -0500
commit358df5e4fc378d8c20ad4a0983fa6ccba17212b6 (patch)
tree01d4969090e45e943e7a7453129e98692229e5e8 /target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch
parent6fcf4228d8f8ff6d9505490a7e9bddbebb11f00f (diff)
downloadupstream-358df5e4fc378d8c20ad4a0983fa6ccba17212b6.tar.gz
upstream-358df5e4fc378d8c20ad4a0983fa6ccba17212b6.tar.bz2
upstream-358df5e4fc378d8c20ad4a0983fa6ccba17212b6.zip
ixp4xx: Update to 4.9 kernel, refresh patches. Remove kmod-spi-gpio-old usage.
Signed-off-by: Ted Hess <thess@kitschensync.net>
Diffstat (limited to 'target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch')
-rw-r--r--target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch b/target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch
new file mode 100644
index 0000000000..2b4db053c2
--- /dev/null
+++ b/target/linux/ixp4xx/patches-4.9/090-increase_entropy_pools.patch
@@ -0,0 +1,17 @@
+--- a/drivers/char/random.c
++++ b/drivers/char/random.c
+@@ -278,11 +278,11 @@
+ /*
+ * Configuration information
+ */
+-#define INPUT_POOL_SHIFT 12
++#define INPUT_POOL_SHIFT 13
+ #define INPUT_POOL_WORDS (1 << (INPUT_POOL_SHIFT-5))
+-#define OUTPUT_POOL_SHIFT 10
++#define OUTPUT_POOL_SHIFT 11
+ #define OUTPUT_POOL_WORDS (1 << (OUTPUT_POOL_SHIFT-5))
+-#define SEC_XFER_SIZE 512
++#define SEC_XFER_SIZE 1024
+ #define EXTRACT_SIZE 10
+
+ #define DEBUG_RANDOM_BOOT 0