1. 24 Aug, 2015 1 commit
    • Horia Geant?'s avatar
      crypto: caam - fix writing to JQCR_MS when using service interface · 9f587fa2
      Horia Geant? authored
      Most significant part of JQCR (Job Queue Control Register) contains
      bits that control endianness: ILE - Immediate Little Endian,
      DWS - Double Word Swap.
      The bits are automatically set by the Job Queue Controller HW.
      
      Unfortunately these bits are cleared in SW when submitting descriptors
      via the register-based service interface.
      >From LS1021A:
      JQCR_MS = 08080100 - before writing: ILE | DWS | SRC (JR0)
      JQCR_MS = 30000100 - after writing: WHL | FOUR | SRC (JR0)
      
      This would cause problems on little endian caam for descriptors
      containing immediata data or double-word pointers.
      Currently there is no problem since the only descriptors ran through
      this interface are the ones that (un)instantiate RNG.
      Signed-off-by: default avatarHoria Geant? <horia.geanta@freescale.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      9f587fa2
  2. 21 Aug, 2015 3 commits
  3. 19 Aug, 2015 2 commits
  4. 18 Aug, 2015 4 commits
  5. 17 Aug, 2015 17 commits
  6. 13 Aug, 2015 7 commits
  7. 11 Aug, 2015 2 commits
  8. 10 Aug, 2015 4 commits