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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC635C433FE for ; Thu, 20 Oct 2022 11:22:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230055AbiJTLWT (ORCPT ); Thu, 20 Oct 2022 07:22:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbiJTLWT (ORCPT ); Thu, 20 Oct 2022 07:22:19 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3C4B120EE0; Thu, 20 Oct 2022 04:22:14 -0700 (PDT) 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 C24E3B82665; Thu, 20 Oct 2022 11:22:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6EF1C433D6; Thu, 20 Oct 2022 11:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666264931; bh=2+t7qUSOpOIRWsabFBDT0nBgM2tvpVVOWD4jKOlDYp0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WEwBtoU1iUj780143KKiq7VuU2oN5kJ5X8wuFE7chzYMf3rp4fBmZ7PuDYX4Yb881 bjLzoIQpn+jW78h8orQlt5PqdUCCcnSN4rDZRZ4JYJqYBZp566ap6uiTRb8G3n7UVf w/XDscXzo3VmgH5DriUYjaXVx2wXIdkxmSZlmpfNxqSsydnTZw/MaUK6WQHmH9Mymx MugFTbkA2FlHhe6AJ5FU3goE9EqEyQRKHIxYFwDpV2x1cg9VuI/0mz68TSyKDmRCVg awgJdAEBPud3Im5YdOHkOnTfNu5SWI1Akuei7pVtABLTJmH3nrYlIQrNivDDN9d2KX zvD9Ypqk3QXTA== Date: Thu, 20 Oct 2022 16:52:07 +0530 From: Vinod Koul To: Baolin Wang Cc: Cixi Geng , orsonzhai@gmail.com, zhang.lyra@gmail.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Cixi Geng Subject: Re: [PATCH V2] dmaengine: sprd: Support two-stage dma interrupt Message-ID: References: <20221003234929.186290-1-gengcixi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 20-10-22, 16:15, Baolin Wang wrote: > > > why is sprd_dma_int_type part of driver interface. sprd_dma_int_type is > > > used only by this driver and should be moved into the driver.. > > Now we can not move this into dma driver, since we have some drivers in the > mainline will set the DMA interrupt type, such as spi-sprd.c, sprd_serial.c > and sprd-pcm-compress.c. That may not sound right.. Why should peripheral set the DMA interrupt..? -- ~Vinod