[PATCH] fsl/sata: create a sysfs entry for rx water mark

2013-03-03 Thread Qiang Liu
invalid CHS sector 0 ata1: EH complete The exception/performance can be resolved when RX WATER MARK value is 0x16. Signed-off-by: Qiang Liu --- drivers/ata/sata_fsl.c | 55 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/drivers/ata

[PATCH v3 1/4] Talitos: Support for async_tx XOR offload

2012-07-15 Thread Qiang Liu
Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Dipen Dudhat Signed-off-by: Maneesh Gupta Signed-off-by: Kim Phillips Signed-off-by: Vishnu Suresh Signed-off-by: Qiang Liu --- dr

[PATCH v3 4/4] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-07-15 Thread Qiang Liu
Use spin_lock_bh to instead of spin_lock_irqsave for improving performance. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 29 - 1 files changed, 12 insertions(+), 17 deletions(-) diff --git a/drivers/dma

[PATCH v3 3/4] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-07-15 Thread Qiang Liu
. The no-acked descriptor is freed which is submitted just now, as a dependent tx, this freed descriptor trigger BUG_ON(async_tx_test_ack(depend_tx)) in async_tx_submit(). Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Cc: Ira W. Snyder Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 378

[PATCH v3 2/4] fsl-dma: remove attribute DMA_INTERRUPT of dmaengine

2012-07-15 Thread Qiang Liu
Delete attribute DMA_INTERRUPT because fsl-dma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu Acked-by: Ira W. Snyder --- drivers/dma/fsldma.c |

[PATCH v3 0/4] Raid: enable talitos xor offload for improving performance

2012-07-15 Thread Qiang Liu
: - rebase onto cryptodev tree - split the patch 3/4 up to 3 independent patches - remove the patch 4/4, the fix is not for cryptodev tree Qiang Liu (4): Talitos: Support for async_tx XOR offload fsl-dma: remove attribute DMA_INTERRUPT of dmaengine fsl-dma

[PATCH v2 4/4] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-07-11 Thread Qiang Liu
Use spin_lock_bh to instead of spin_lock_irqsave for improving performance. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 30 -- 1 files changed, 12 insertions(+), 18 deletions(-) diff --git a/drivers/dma

[PATCH v2 3/4] fsl-dma: change the release process of dma descriptor

2012-07-11 Thread Qiang Liu
whether this depend tx descriptor is acked, there are poison contents in the invalid address, then BUG_ON() is thrown, so this descriptor will be freed in the next time. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 15 --- 1 files

[PATCH v2 2/4] fsl-dma: remove attribute DMA_INTERRUPT of dmaengine

2012-07-11 Thread Qiang Liu
Delete attribute DMA_INTERRUPT because fsl-dma doesn't support this function, exception will be thrown if talitos is used to offload xor at the same time. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 31 -

[PATCH v2 1/4] Talitos: Support for async_tx XOR offload

2012-07-11 Thread Qiang Liu
Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Dipen Dudhat Signed-off-by: Maneesh Gupta Signed-off-by: Kim Phillips Signed-off-by: Vishnu Suresh Signed-off-by: Qiang Liu --- dr

[PATCH v2 0/4] Raid: enable talitos xor offload for improving performance

2012-07-11 Thread Qiang Liu
patch 3/4 up to 3 independent patches - remove the patch 4/4, the fix is not for cryptodev tree Qiang Liu (4): Talitos: Support for async_tx XOR offload fsl-dma: remove attribute DMA_INTERRUPT of dmaengine fsl-dma: change the release process of dma descriptor fsl-dma

[PATCH 0/3] Raid: enable talitos xor offload for improving performance

2012-07-09 Thread Qiang Liu
The following 4 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. Write performance will be improved by 40% tested by iozone. CPU load will be reduced by 8%. Qiang Liu (4): Talitos: move the data structure into header file

[PATCH 4/4] Talitos: fix the issue of dma memory leak

2012-07-09 Thread Qiang Liu
t dev; Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Qiang Liu --- drivers/crypto/talitos.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 81f8497..a7da48c 100644 --- a/drivers/crypto/talitos.c +++

[PATCH 3/4] fsl-dma: support attribute of DMA_MEMORY when async_tx enabled

2012-07-09 Thread Qiang Liu
n the invalid address, then BUG_ON() is thrown, so this descriptor will be freed in the next time. Cc: Dan Williams Cc: Vinod Koul Cc: Li Yang Signed-off-by: Qiang Liu --- drivers/dma/fsldma.c | 78 -- 1 files changed, 25 insertions(+), 53 dele

[PATCH 2/4] Talitos: Support for async_tx XOR offload

2012-07-09 Thread Qiang Liu
Expose Talitos's XOR functionality to be used for RAID parity calculation via the Async_tx layer. Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Dipen Dudhat Signed-off-by: Maneesh Gupta Signed-off-by: Kim Phillips Signed-off-by: Vishnu Suresh Signed-off-by: Qiang Liu --- dr

[PATCH 1/4] Talitos: move the data structure into header file

2012-07-09 Thread Qiang Liu
Move the declaration of talitos data structure into talitos.h. Cc: Herbert Xu Cc: David S. Miller Signed-off-by: Qiang Liu --- drivers/crypto/talitos.c | 108 -- drivers/crypto/talitos.h | 108 ++ 2

[PATCH 0/3] Raid: enable talitos xor offload for improving performance

2012-07-09 Thread Qiang Liu
The following 4 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. Write performance will be improved by 40% tested by iozone. CPU load will be reduced by 8%. Qiang Liu (4): Talitos: move the data structure into header file

[PATCH 0/3] Raid: enable talitos xor offload for improving performance

2012-07-09 Thread Qiang Liu
The following 4 patches enabling fsl-dma and talitos offload raid operations for improving raid performance and balancing CPU load. Write performance will be improved by 40% tested by iozone. CPU load will be reduced by 8%. Qiang Liu (4): Talitos: move the data structure into header file

[PATCH V3] fsl-sata: add support for interrupt coalsecing feature

2012-02-14 Thread Qiang Liu
Adds support for interrupt coalescing feature to reduce interrupt events. Provides a mechanism of adjusting coalescing count and timeout tick by sysfs at runtime, so that tradeoff of latency and CPU load can be made depending on different applications. Signed-off-by: Qiang Liu --- change for V3

[PATCH V2 RESEND] fsl-sata: I/O load balancing

2012-02-14 Thread Qiang Liu
Reduce interrupt signals through reset Interrupt Coalescing Control Reg. Provide dynamic method to adjust interrupt signals and timer ticks by sysfs. It is a tradeoff for different applications. Signed-off-by: Qiang Liu --- change for V2 support dynamic config interrupt coalescing

[PATCH][SDK v1.2] sata: I/O load balancing

2012-01-13 Thread Qiang Liu
From: Qiang Liu Reduce interrupt singnals through reset Interrupt Coalescing Control Reg. Increase the threshold value of interrupt and timer will reduce the number of complete interrupt sharply. Improve the system performance effectively. Signed-off-by: Qiang Liu --- Description: 1. sata

[PATCH][SDK v1.2] sata: I/O load balancing

2012-01-13 Thread Qiang Liu
From: Qiang Liu Reduce interrupt singnals through reset Interrupt Coalescing Control Reg. Increase the threshold value of interrupt and timer will reduce the number of complete interrupt sharply. Improve the system performance effectively. Signed-off-by: Qiang Liu --- Description: 1. sata