[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 qiang@freescale.com --- drivers/ata/sata_fsl.c | 55 1 files changed, 55 insertions(+), 0 deletions(-) diff

[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 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 dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang

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

2012-07-15 Thread Qiang Liu
...@ovro.caltech.edu Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/dma/fsldma.c | 378 + drivers/dma/fsldma.h |1 + 2 files changed, 225 insertions(+), 154 deletions(-) diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index

[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 dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/dma/fsldma.c | 29

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

2012-07-15 Thread Qiang Liu
Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Vishnu Suresh vis...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/crypto/Kconfig |9 + drivers/crypto/talitos.c | 410 ++ drivers/crypto/talitos.h

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

2012-07-11 Thread Qiang Liu
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: change the release process of dma descriptor fsl-dma

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

2012-07-11 Thread Qiang Liu
Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Vishnu Suresh vis...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/crypto/Kconfig |9 + drivers/crypto/talitos.c | 410 ++ drivers/crypto/talitos.h

[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 dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang

[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 dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang

[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 dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/dma/fsldma.c | 30

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

2012-07-10 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-10 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 1/4] Talitos: move the data structure into header file

2012-07-10 Thread Qiang Liu
Move the declaration of talitos data structure into talitos.h. Cc: Herbert Xu herb...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/crypto/talitos.c | 108 -- drivers/crypto

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

2012-07-10 Thread Qiang Liu
Signed-off-by: Kim Phillips kim.phill...@freescale.com Signed-off-by: Vishnu Suresh vis...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/crypto/Kconfig |9 + drivers/crypto/talitos.c | 410 ++ drivers/crypto/talitos.h

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

2012-07-10 Thread Qiang Liu
in the invalid address, then BUG_ON() is thrown, so this descriptor will be freed in the next time. Cc: Dan Williams dan.j.willi...@intel.com Cc: Vinod Koul vinod.k...@intel.com Cc: Li Yang le...@freescale.com Signed-off-by: Qiang Liu qiang@freescale.com --- drivers/dma/fsldma.c | 78

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

2012-07-10 Thread Qiang Liu
...@gondor.apana.org.au Cc: David S. Miller da...@davemloft.net Signed-off-by: Qiang Liu qiang@freescale.com --- 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

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

2012-07-10 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 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 qiang@freescale.com --- change for V2 support dynamic config

[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 qiang

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

2012-01-13 Thread Qiang Liu
From: Qiang Liu b32...@freescale.com 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 qiang

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

2012-01-13 Thread Qiang Liu
From: Qiang Liu b32...@freescale.com 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 qiang