]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ioat: cleanup completion status reads
authorDan Williams <dan.j.williams@intel.com>
Tue, 8 Sep 2009 19:01:04 +0000 (12:01 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:30:24 +0000 (17:30 -0700)
commit4fb9b9e8d55880523db550043dfb204696dd0422
tree733a672aeb819bb8133b16329a6b5088cf9ee693
parent6df9183a153291a2585a8dfe67597fc18c201147
ioat: cleanup completion status reads

The cleanup path makes an effort to only perform an atomic read of the
64-bit completion address.  However in the 32-bit case it does not
matter if we read the upper-32 and lower-32 non-atomically because the
upper-32 will always be zero.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/dma_v2.c
drivers/dma/ioat/registers.h