From patchwork Thu May 20 15:24:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 12270859 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8FA40C43462 for ; Thu, 20 May 2021 15:26:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E08D613BA for ; Thu, 20 May 2021 15:26:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E08D613BA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oZxD2oVYHwKXMVwddAObx6AJrpAuk+mS1mru3zqkX9U=; b=Z8T2wYpgTsLsuVGJvA+Nr/M5fm ZbalKXLajiMT0aP4gzb6MhAdpJBRBd0a7lLMmRXx5zikoORX9DSQfel44IsYoZ4rY3yvmdH1zWlRm j7gKTWEoIFxrFd1YBkf+JyP7aMIgfY9niZLXy+K8GL6WlA9AgI9n64xpZNwZxK8KZEWIt+JBNBc5i LMs4v5gZMJ9/N2QUd+LLH/Xzs1diXuZZy8gKwguriyqyImvN+xz9SI5VJIOma0ErXyBFcjR5h42oL 4MptR7a2YX/3TmyGqyRuzwucOb6adCZeDUUZbaRRFo5kKnzhBymdosA31HqOR2vQYLo8uaRso8kkt hpW1stUg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljkXK-001fWA-Qv; Thu, 20 May 2021 15:24:35 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljkXI-001fVg-8Q for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 15:24:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=dYMZ7vwwRTjlEqEB61i6A3MsjeI2+Vp8KB73SYAMdqU=; b=hw7TrFVgDj90LNKm+P6IoRkWuS c6UE9OqtUbJ/+NaWTjapKOA8Z5Nc2wopsY0bCCOk+p6DT+O+Lgz3RUlqiCAZgL1D0U3WNVByTB3qL DYahKJ8Tv+DGc5KLHX8Nii6W4bJuRZGsD3kg/Sb5Keg5f+hVLb+t6OnYTMN5IltIo9QH4kPrWIzTn bOvSz/+VZuyF3U0I8yvhjjataQWMhNKZIz/gQrMa7PD59KdGkXlD1H2gjXMWkJOZuVwZNs1eEsJJp qdeQo+Q/0KdalbbsjKUwgmOR17uVYMVJPuk0l++ngSPURlO3BnoGqonFJUSuwa+5knbBcTLea5C13 qIstDp/w==; Received: from perceval.ideasonboard.com ([2001:4b98:dc2:55:216:3eff:fef7:d647]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljkXF-00GSrt-LY for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 15:24:31 +0000 Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8A0F4D41; Thu, 20 May 2021 17:24:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1621524266; bh=SG0GYay4hut6hsoBVa79nvEXinnyFlIsFMAALJWtLVg=; h=From:To:Cc:Subject:Date:From; b=JwLDq8X7XfwPVNJyD5UqzFQqY58PIss5SvphXVtZRDKt0Vp1+/fcCMB6vN17uVwPn rfPVjfdx4oz4cMz7jQMV29wrIL5rSv+yH7FEF4Qn3SayBTRyhuqlyXezQB1kxjFRmx bxxmJdLldeQCdoz3zK8KBKudnPXtcCsi1p/Afy9U= From: Laurent Pinchart To: dmaengine@vger.kernel.org Cc: Vinod Koul , Michal Simek , Jianqiang Chen , linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/4] dmaengine: xilinx: dpdma: Fix freeze after 64k frames Date: Thu, 20 May 2021 18:24:16 +0300 Message-Id: <20210520152420.23986-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_082429_889160_832FDF10 X-CRM114-Status: UNSURE ( 7.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, This patch series addresses an issue in the Xilixn ZynqMP DPDMA driver that causes a display freeze after 65536 frames. The first three patches include a small compilation breakage issue (1/4) and enhancements to the messages logged by the driver (2/4 and 3/4). The last patch fixes the freeze bug. Please see individual patches for details. Laurent Pinchart (4): dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig dmaengine: xilinx: dpdma: Print channel number in kernel log messages dmaengine: xilinx: dpdma: Print debug message when losing vsync race dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits drivers/dma/Kconfig | 1 + drivers/dma/xilinx/xilinx_dpdma.c | 45 ++++++++++++++++++++----------- 2 files changed, 31 insertions(+), 15 deletions(-) Tested-by: Jianqiang Chen Reviewed-by: Jianqiang Chen