diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-02-10 15:59:42 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-02-15 22:19:32 +0530 |
commit | ee1cdcdae59563535485a5f56ee72c894ab7d7ad (patch) | |
tree | d6aa9036557e0d5432888038b4b62c7a44e04385 /arch/powerpc/perf/power8-pmu.c | |
parent | 4ac31d18e4125eb2970e69069a15308cbb8e4486 (diff) |
dmaengine: dw: disable BLOCK IRQs for non-cyclic xfer
The commit 2895b2cad6e7 ("dmaengine: dw: fix cyclic transfer callbacks")
re-enabled BLOCK interrupts with regard to make cyclic transfers work. However,
this change becomes a regression for non-cyclic transfers as interrupt counters
under stress test had been grown enormously (approximately per 4-5 bytes in the
UART loop back test).
Taking into consideration above enable BLOCK interrupts if and only if channel
is programmed to perform cyclic transfer.
Fixes: 2895b2cad6e7 ("dmaengine: dw: fix cyclic transfer callbacks")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mans Rullgard <mans@mansr.com>
Tested-by: Mans Rullgard <mans@mansr.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/powerpc/perf/power8-pmu.c')
0 files changed, 0 insertions, 0 deletions