1. 17 Feb, 2010 1 commit
    • Tejun Heo's avatar
      percpu: add __percpu sparse annotations to what's left · a29d8b8e
      Tejun Heo authored
      Add __percpu sparse annotations to places which didn't make it in one
      of the previous patches.  All converions are trivial.
      These annotations are to make sparse consider percpu variables to be
      in a different address space and warn if accessed without going
      through percpu accessors.  This patch doesn't affect normal builds.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Acked-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Huang Ying <ying.huang@intel.com>
      Cc: Len Brown <lenb@kernel.org>
      Cc: Neil Brown <neilb@suse.de>
  2. 16 Feb, 2010 19 commits
  3. 04 Feb, 2010 1 commit
  4. 17 Jan, 2010 2 commits
  5. 07 Jan, 2010 1 commit
  6. 23 Dec, 2009 1 commit
  7. 17 Dec, 2009 1 commit
  8. 23 Nov, 2009 2 commits
  9. 20 Nov, 2009 1 commit
    • Dan Williams's avatar
      async_tx: build-time toggling of async_{syndrome,xor}_val dma support · 7b3cc2b1
      Dan Williams authored
      ioat3.2 does not support asynchronous error notifications which makes
      the driver experience latencies when non-zero pq validate results are
      expected.  Provide a mechanism for turning off async_xor_val and
      async_syndrome_val via Kconfig.  This approach is generally useful for
      any driver that specifies ASYNC_TX_DISABLE_CHANNEL_SWITCH and would like
      to force the async_tx api to fall back to the synchronous path for
      certain operations.
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
  10. 18 Nov, 2009 1 commit
  11. 16 Nov, 2009 1 commit
    • Huang Ying's avatar
      crypto: gcm - fix another complete call in complete fuction · 62c5593a
      Huang Ying authored
      The flow of the complete function (xxx_done) in gcm.c is as follow:
      void complete(struct crypto_async_request *areq, int err)
      	struct aead_request *req = areq->data;
      	if (!err) {
      		err = async_next_step();
      		if (err == -EINPROGRESS || err == -EBUSY)
      	complete_for_next_step(areq, err);
      But *areq may be destroyed in async_next_step(), this makes
      complete_for_next_step() can not work properly. To fix this, one of
      following methods is used for each complete function.
      - Add a __complete() for each complete(), which accept struct
        aead_request *req instead of areq, so avoid using areq after it is
      - Expand complete_for_next_step().
      The fixing method is based on the idea of Herbert Xu.
      Signed-off-by: default avatarHuang Ying <ying.huang@intel.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
  12. 12 Nov, 2009 1 commit
  13. 27 Oct, 2009 3 commits
  14. 20 Oct, 2009 3 commits
    • Dan Williams's avatar
      async_tx: fix asynchronous raid6 recovery for ddf layouts · da17bf43
      Dan Williams authored
      The raid6 recovery code currently requires special handling of the
      4-disk and 5-disk recovery scenarios for the native layout.  Quoting
      from commit 0a82a623:
           In these situations the default N-disk algorithm will present
           0-source or 1-source operations to dma devices.  To cover for
           dma devices where the minimum source count is 2 we implement
           4-disk and 5-disk handling in the recovery code.
      The ddf layout presents disks=6 and disks=7 to the recovery code in
      these situations.  Instead of looking at the number of disks count the
      number of non-zero sources in the list and call the special case code
      when the number of non-failed sources is 0 or 1.
      [neilb@suse.de: replace 'ddf' flag with counting good sources]
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    • Dan Williams's avatar
      async_pq: rename scribble page · 030b0772
      Dan Williams authored
      The global scribble page is used as a temporary destination buffer when
      disabling the P or Q result is requested.  The local scribble buffer
      contains memory for performing address conversions.  Rename the global
      variable to avoid confusion.
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    • Dan Williams's avatar
      async_pq: kill a stray dma_map() call and other cleanups · 5676470f
      Dan Williams authored
      - update the kernel doc for async_syndrome to indicate what NULL in the
        source list means
      - whitespace fixups
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
  15. 19 Oct, 2009 2 commits