GitHub PushEvent at 2014-06-29 22:41:52
Repository: android_kernel_lge_hammerhead
Actor: Chairshot215
Payload: {"shas":[["22ca51bb25b36b9dd7c4737039816fc14978352c","109eb201e07c93b5f5b6b8c6537366649a85e9a2@sunsite.dk","hwrng: atmel-rng - fix race condition leading to repeated bits\n\ncommit 121daad8fd1dce63076fa55aaedd5dc3f981b334 upstream.\n\nData valid gets cleared by reading the ISR (status register) and NOT from\nreading ODATA (data register). A new data word can become available between\nchecking ISR and reading ODATA, causing us to reuse the same data word next\ntime atmel_trng_read() gets called, if that happens before the following\ndata word is ready.\n\nWith this fixed, rngtest no longer complains of 'Continous run' errors.\nBefore:\n\nrngtest -c 1000 < /dev/hwrng\nrngtest 3\nCopyright (c) 2004 by Henrique de Moraes Holschuh\nThis is free software; see the source for copying conditions.  There is NO warr.\n\nrngtest: starting FIPS tests...\nrngtest: bits received from input: 20000032\nrngtest: FIPS 140-2 successes: 923\nrngtest: FIPS 140-2 failures: 77\nrngtest: FIPS 140-2(2001-10-10) Monobit: 0\nrngtest: FIPS 140-2(2001-10-10) Poker: 0\nrngtest: FIPS 140-2(2001-10-10) Runs: 1\nrngtest: FIPS 140-2(2001-10-10) Long run: 0\nrngtest: FIPS 140-2(2001-10-10) Continuous run: 76\nrngtest: input channel speed: (min=721.402; avg=46003.510; max=49321.338)Kibitss\nrngtest: FIPS tests speed: (min=11.442; avg=12.714; max=12.801)Mibits/s\nrngtest: Program run time: 1931860 microseconds\n\nAfter:\n\nrngtest -c 1000 < /dev/hwrng\nrngtest 3\nCopyright (c) 2004 by Henrique de Moraes Holschuh\nThis is free software; see the source for copying conditions.  There is NO warr.\n\nrngtest: starting FIPS tests...\nrngtest: bits received from input: 20000032\nrngtest: FIPS 140-2 successes: 1000\nrngtest: FIPS 140-2 failures: 0\nrngtest: FIPS 140-2(2001-10-10) Monobit: 0\nrngtest: FIPS 140-2(2001-10-10) Poker: 0\nrngtest: FIPS 140-2(2001-10-10) Runs: 0\nrngtest: FIPS 140-2(2001-10-10) Long run: 0\nrngtest: FIPS 140-2(2001-10-10) Continuous run: 0\nrngtest: input channel speed: (min=777.518; avg=36988.482; max=43115.342)Kibitss\nrngtest: FIPS tests speed: (min=11.951; avg=12.715; max=12.887)Mibits/s\nrngtest: Program run time: 2035543 microseconds\n\nSigned-off-by: Peter Korsgaard <jacmet@sunsite.dk>\nReported-by: George Pontis <GPontis@z9.com>\nAcked-by: Nicolas Ferre <nicolas.ferre@atmel.com>\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Peter Korsgaard",true]],"size":1,"ref":"refs/heads/cm11_testing","head":"22ca51bb25b36b9dd7c4737039816fc14978352c"}