From mboxrd@z Thu Jan 1 00:00:00 1970 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 6D14CC05027 for ; Fri, 10 Feb 2023 08:56: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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LWJQMYMdKuvh1vfQlwvPwzzA/P7NkHIxh7GvnE9kmp0=; b=QQWGj9+ki2cDW3 0kQz1cnOW+LuRUTeLWw5iTzn0OmkJM6KViCgaEMh0WT3TjsmoYUeiCvmqCnb14vEFM5C9T5jd9+df Q4cEXIOwB4Ese6l2X8CWPmKZ9MqSztH7GaINh365gSCm5kl4lqYSvRqil4cLjUQGf6bfspj/51J4g wCqgroExLe0/LIjkMb2QswwYxQgSCO0MxVC/kS4wUXk+H/eiznAva9O+2XTLN4fLebc+Edo1AO7Jq 4mmGlso5dPyWpAKc7ThFB/9QDnwXVsUMG8u3mhh9hKeiBq0HyLfa4k0rQbOh/25cGjAbrTzpDQaNS 2PX9PoCvSEpaW0dlvwuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQPC2-004rcu-H6; Fri, 10 Feb 2023 08:55:42 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pQPBy-004rbE-O9 for linux-arm-kernel@lists.infradead.org; Fri, 10 Feb 2023 08:55:41 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1F6CAB823FF; Fri, 10 Feb 2023 08:55:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE3F7C433D2; Fri, 10 Feb 2023 08:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676019335; bh=MxY7R4Rxp8ZOUVZ/CmwVSjIi1w4aat4d+j7a3Ft0m+k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=F159VEwm2/eoB/GfQfyY7D02EPevTmknMNxizoKxhLypX/dSuV/LNdTzHtsH6Ve2V o2gaOol/L1QzFxlZacUDVy7dtImL7PWaQiadaxv5lYpwcq+OcGA0+bU1n7HAhpGbx/ yz5/+yEBIHKtqEIbOgZwLrkuxx+nK7luHIslV4r+hHrjf8khn1MQHbIyw0fJLepZ1/ Gu6RjolBlUl/jEMpdM/KStCAK7eObl34Y5WCFC6oOjjRBXcywy9sLLohPCAe+LqMz+ 94Cx+NjuV4oMIaaFt0wZbndUACMR+VI7LqzWy5rbIC/FDOLMJtkNqlH/PVG8LoUOBR ubUUrSHeRYnZQ== Date: Fri, 10 Feb 2023 14:25:30 +0530 From: Vinod Koul To: Kai-Heng Feng Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: imx-sdma: Set DMA channel to be private Message-ID: References: <20230207045745.1029959-1-kai.heng.feng@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230207045745.1029959-1-kai.heng.feng@canonical.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230210_005538_972510_4E41A0B2 X-CRM114-Status: UNSURE ( 8.86 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 07-02-23, 12:57, Kai-Heng Feng wrote: > If async-tx is loaded before device drivers that requires imx-sdma, the > dmaengine_get() routine from async-tx grabs all non-private channels, > so devices that require DMA fail to work. > > So mark imx-sdma with DMA_PRIVATE to avoid such situation. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel