From patchwork Tue Feb 14 15:18:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13140404 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DDAE0C61DA4 for ; Tue, 14 Feb 2023 15:21:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=iRgXoFAomfoVlBJN5NmFt6RrnibJapTlJzeo2hgSvxw=; b=FuBNiq+zoSgZOW 6bWNoYQrVuI0s1GS5j81/6c1kRJW8hCNu61qBswbWZIWYs9L8cXSaqBb3VSB4acXK1xXoVN+RfVuG y/feHiQ4DIezR+P7ZYByamRHbhB+q/4gElsHy+tlJQw5sSOcTpEhCFHDSsqveVSe4N/+izCxnYH0j HsUS3MNyRVyeoWq2OkI7Co50dU3qGFMnuYTPnQdBZPhsPX2m6OG70jM4DNmh34C0+uhhce5GLohOu LOF5eRHuoQXTqKd+NqjOSWekrFwaJaEKHDMb/WNFRfAf6tQBM3k/5g+5QLAZCn5MkuPSOGVVXPeVM nyJFIIA4UO3ShBQjQyjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRx6r-002VRG-A7; Tue, 14 Feb 2023 15:20:45 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRx6l-002VPm-PY for linux-arm-kernel@lists.infradead.org; Tue, 14 Feb 2023 15:20:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1676388039; x=1707924039; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=GXFAjE3w5Hp1MZO7kiirgXaatEQp4T5QdFRWugDaxAk=; b=eexdIAM/Jl5KQupn84bsKp3zCcyAjBhowPEEB0zv7d20V0n+o8toA6Ro 9eaREba0kqTT/0+3WYfdDVHTCC924bK0OnxMGuBlQNNtr+AcL1E9kE8F9 UxybZhIOyCsmcIVTRX7W3ntquJyMWapy2wQSsyZWvys9TH0eLrQo4QZU9 nDSdfMwRqs03xdvvBWedWy0uAxr236CVbewCAfY9d1AbUJhMkJI/Qv++k 2DFevRFpMTZjIZg8uBpxs0d95SNlYexEhxB4f5a6ZloKS3cbf/++liR6G LRX9q8b5M34DEe/CYUR7UhP6Sz/vZWi/1PTCl6s71p6BrNQ5jANmGbq6Q A==; X-IronPort-AV: E=Sophos;i="5.97,296,1669100400"; d="scan'208";a="200632632" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Feb 2023 08:20:36 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Tue, 14 Feb 2023 08:20:35 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 14 Feb 2023 08:20:33 -0700 From: Claudiu Beznea To: , , , CC: , , , Claudiu Beznea Subject: [PATCH 0/7] dmaengine: at_xdmac: fixes for suspend/resume Date: Tue, 14 Feb 2023 17:18:20 +0200 Message-ID: <20230214151827.1050280-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230214_072039_925600_C57CB848 X-CRM114-Status: UNSURE ( 6.40 ) 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 Hi, Series adds fixes identified on suspend/resume of at_xdmac driver (patches 1/7-5/7). Patch 6/7 just adds a warning message that could be used for debugging purposes. Patch 7/7 is a minor cleanup. Thank you, Claudiu Beznea Claudiu Beznea (7): dmaengine: at_xdmac: disable/enable clock directly on suspend/resume dmaengine: at_xdmac: fix imbalanced runtime PM reference counter dmaengine: at_xdmac: do not resume channels paused by consumers dmaengine: at_xdmac: restore the content of grws register dmaengine: at_xdmac: do not enable all cyclic channels dmaengine: at_xdmac: add a warning message regarding for unpaused channels dmaengine: at_xdmac: align declaration of ret with the rest of variables drivers/dma/at_xdmac.c | 107 +++++++++++++++++++++++++++++++---------- 1 file changed, 82 insertions(+), 25 deletions(-)