From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751551AbcGUDxY (ORCPT ); Wed, 20 Jul 2016 23:53:24 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35520 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbcGUDxX (ORCPT ); Wed, 20 Jul 2016 23:53:23 -0400 From: John Stultz To: lkml Cc: John Stultz , Zhangfei Gao , Jingoo Han , Krzysztof Kozlowski , Maxime Ripard , Vinod Koul , Dan Williams , Mark Brown , Andy Green Subject: [PATCH 0/7 v3] K3DMA fixes for HiKey HDMI audio Date: Wed, 20 Jul 2016 20:53:02 -0700 Message-Id: <1469073189-9167-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Per Mark's suggestion, I've split out the k3dma changes on their own as they are mostly fixes and the addition of cyclic mode. New in v3: * With inspiration from YongQin Liu, I figured out the reason we were seeing occasional DMA ERR issues: The desc structures were being allocated with kzalloc and so changes weren't necessarily being flushed to memory before the transfers started. I fixed this, but also uncoverd a memory leak that was happening in cyclic mode, so I fixed that as well. Thoughts and comments would be appreciated! thanks -john Cc: Zhangfei Gao Cc: Jingoo Han Cc: Krzysztof Kozlowski Cc: Maxime Ripard Cc: Vinod Koul Cc: Dan Williams Cc: Mark Brown Cc: Andy Green Andy Green (4): k3dma: Fix hisi burst clipping k3dma: Fix dma err offsets k3dma: Fix "nobody cared" message seen on any error k3dma: Add cyclic mode for audio John Stultz (3): k3dma: Fix memory handling with cyclic mode k3dma: Fix occasional DMA ERR issue by using proper dma api Kconfig: Allow k3dma driver to be selected for more then HISI3xx platforms drivers/dma/Kconfig | 2 +- drivers/dma/k3dma.c | 219 ++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 181 insertions(+), 40 deletions(-) -- 1.9.1