RE: [PATCH 3/4] async_tx: replace 'int_en' with operation preparationflags

From: Sosnowski, Maciej
Date: Mon Jan 07 2008 - 12:10:49 EST


>From: Williams, Dan J
>
>Pass a full set of flags to drivers' per-operation 'prep' routines.
>Currently the only flag passed is DMA_PREP_INTERRUPT. The
>expectation is
>that arch-specific async_tx_find_channel() implementations can
>exploit this
>capability to find the best channel for an operation.
>
>Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
>---
>
> crypto/async_tx/async_memcpy.c | 3 ++-
> crypto/async_tx/async_memset.c | 3 ++-
> crypto/async_tx/async_xor.c | 10 ++++++----
> drivers/dma/ioat_dma.c | 4 ++--
> drivers/dma/iop-adma.c | 20 ++++++++++----------
> include/asm-arm/arch-iop13xx/adma.h | 18 ++++++++++--------
> include/asm-arm/hardware/iop3xx-adma.h | 30
>+++++++++++++++++-------------
> include/linux/dmaengine.h | 17 +++++++++++++----
> 8 files changed, 62 insertions(+), 43 deletions(-)

As ioat_dma is not using int_en right now, this change does not impact
the driver at the moment and may be definitely useful later.

Maciej Sosnowski

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
z siedziba w Gdansku
ul. Slowackiego 173
80-298 Gdansk

Sad Rejonowy Gdansk Polnoc w Gdansku,
VII Wydzial Gospodarczy Krajowego Rejestru Sadowego,
numer KRS 101882

NIP 957-07-52-316
Kapital zakladowy 200.000 zl

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/