1. 17 11月, 2019 2 次提交
    • P
      crypto: inside-secure - Fix hangup during probing for EIP97 engine · c3510fec
      Pascal van Leeuwen 提交于
      Fixed mask used for CFSIZE and RFSIZE fields of HIA_OPTIONS register,
      these were all 1 bit too wide. Which caused the probing of a standard
      EIP97 to actually hang due to assume way too large descriptor FIFO's.
      Signed-off-by: NPascal van Leeuwen <pvanleeuwen@verimatrix.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      c3510fec
    • A
      hwrng: ks-sa - Add minimum sleep time before ready-polling · 6d01d851
      Alexander Sverdlin 提交于
      Current polling timeout is 25 us. The hardware is currently configured to
      harvest the entropy for 81920 us. This leads to timeouts even during
      blocking read (wait=1).
      
      Log snippet:
      [    5.727589] [<c040ffcc>] (ks_sa_rng_probe) from [<c04181e8>] (platform_drv_probe+0x58/0xb4)
      ...
      [    5.727805] hwrng: no data available
      ...
      [   13.157016] random: systemd: uninitialized urandom read (16 bytes read)
      [   13.157033] systemd[1]: Initializing machine ID from random generator.
      ...
      [   15.848770] random: fast init done
      ...
      [   15.848807] random: crng init done
      
      After the patch:
      [    6.223534] random: systemd: uninitialized urandom read (16 bytes read)
      [    6.223551] systemd[1]: Initializing machine ID from random generator.
      ...
      [    6.876075] random: fast init done
      ...
      [    6.954200] random: systemd: uninitialized urandom read (16 bytes read)
      [    6.955244] random: systemd: uninitialized urandom read (16 bytes read)
      ...
      [    7.121948] random: crng init done
      Signed-off-by: NAlexander Sverdlin <alexander.sverdlin@nokia.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      6d01d851
  2. 15 11月, 2019 4 次提交
  3. 08 11月, 2019 12 次提交
  4. 01 11月, 2019 22 次提交