)]}'
{
  "commit": "121daad8fd1dce63076fa55aaedd5dc3f981b334",
  "tree": "b8dffca034cb3763706ac7bf4aeac94a29661749",
  "parents": [
    "ef45b834319f8a18f257a40ba4bce6b829ef1708"
  ],
  "author": {
    "name": "Peter Korsgaard",
    "email": "jacmet@sunsite.dk",
    "time": "Thu May 31 20:53:08 2012 +1000"
  },
  "committer": {
    "name": "Herbert Xu",
    "email": "herbert@gondor.apana.org.au",
    "time": "Thu May 31 20:53:08 2012 +1000"
  },
  "message": "hwrng: atmel-rng - fix race condition leading to repeated bits\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 \u0027Continous run\u0027 errors.\nBefore:\n\nrngtest -c 1000 \u003c /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\u003d721.402; avg\u003d46003.510; max\u003d49321.338)Kibitss\nrngtest: FIPS tests speed: (min\u003d11.442; avg\u003d12.714; max\u003d12.801)Mibits/s\nrngtest: Program run time: 1931860 microseconds\n\nAfter:\n\nrngtest -c 1000 \u003c /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\u003d777.518; avg\u003d36988.482; max\u003d43115.342)Kibitss\nrngtest: FIPS tests speed: (min\u003d11.951; avg\u003d12.715; max\u003d12.887)Mibits/s\nrngtest: Program run time: 2035543 microseconds\n\nCc: stable@vger.kernel.org\nSigned-off-by: Peter Korsgaard \u003cjacmet@sunsite.dk\u003e\nReported-by: George Pontis \u003cGPontis@z9.com\u003e\nAcked-by: Nicolas Ferre \u003cnicolas.ferre@atmel.com\u003e\nSigned-off-by: Herbert Xu \u003cherbert@gondor.apana.org.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f518b99f53f5b995a3c8f9cd5d8ff616a62d3855",
      "old_mode": 33188,
      "old_path": "drivers/char/hw_random/atmel-rng.c",
      "new_id": "6289f0eee24c9721413a44665e4d93db6e48ad55",
      "new_mode": 33188,
      "new_path": "drivers/char/hw_random/atmel-rng.c"
    }
  ]
}
