29 Jan, 2011

1 commit

  • clk_get() returns a struct clk cookie to the driver and some platforms
    may return NULL if they only support a single clock. clk_get() has only
    failed if it returns a ERR_PTR() encoded pointer.

    Signed-off-by: Jamie Iles
    Reviewed-by: Aaro Koskinen
    Reviewed-by: Dmitry Kasatkin
    Signed-off-by: Herbert Xu

    Jamie Iles
     

29 Dec, 2010

1 commit

  • Previous commit "removed redundant locking" introduced
    a bug in handling backlog.
    In certain cases, when async request complete callback will
    call complete() on -EINPROGRESS code, it will cause uncompleted requests.
    It does not happen in implementation similar to crypto test manager,
    but it will happen in implementation similar to dm-crypt.
    Backlog needs to be checked before dequeuing next request.

    Signed-off-by: Dmitry Kasatkin
    Signed-off-by: Herbert Xu

    Dmitry Kasatkin
     

27 Nov, 2010

8 commits


03 Sep, 2010

1 commit

  • DMA is set to use burst mode also for source channel. It should
    descrease memory bandwidth needs.

    DMA synchronization is set to use prefetch mechanism. SHAM block is behind
    L4 bus and it doesn't have fifo. SHAM block is stalling as long as the new
    data is available. It takes time to fetch data from memory and transfer it
    via L4 bus. With prefetch enabled, data is waiting in DMA fifo and SHAM block
    receives new data block faster.
    This increases SHA processing speed up to 30 percent depending on the
    bus / memory load.

    Signed-off-by: Samu Onkalo
    Signed-off-by: Dmitry Kasatkin
    Signed-off-by: Herbert Xu

    Samu Onkalo
     

26 May, 2010

1 commit


03 May, 2010

1 commit

  • Earlier kernel contained omap sha1 and md5 driver, which was not maintained,
    was not ported to new crypto APIs and removed from the source tree.

    - implements async crypto API using dma and cpu.
    - supports multiple sham instances if available
    - hmac
    - concurrent requests

    Signed-off-by: Dmitry Kasatkin
    Signed-off-by: Herbert Xu

    Dmitry Kasatkin