Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4477679pxv; Tue, 20 Jul 2021 04:48:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE9nxc4ex7ghHACrEhry3DSNoND1shSiSv94FYLUgFFFTaDg3oZVrQIWkJncYujF5ExCGE X-Received: by 2002:a92:d706:: with SMTP id m6mr19531388iln.78.1626781694527; Tue, 20 Jul 2021 04:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626781694; cv=none; d=google.com; s=arc-20160816; b=DqIWZs9UdojXwjhI+ZDjMpOqigj6NCliAJCCSfG8Wxo3LOfZ+5aFQVo4/Ex4cwFGhi z8+lkYzNtYVahnrL/Xs2vZXGrDC8W70bHDfciSePPTzOQZ1KGtJCnX0wFaLwoORiCPFb 88snW1Sx4MY/3bt/Y83xnuCs/Cr6P3elS/gy8HEmppOoo3VYFiLHyd0iUQfIdQkzvr6s iwEAJwPHtfEYukE/1wWoQtPUuVWnRbaEzw5/AGktmvfp4j8Pl60t1aMwtNah6jvwgIEb R9ggIsAgP0OK9DtRt/kDMhtpXKmQJ5Z3k0voDqjGF/BDfdzI4ZV4Kyk5Uxs+FtxYSvOU gOHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5+bjyG3hHFZTcKQLaxCgajBRp4l3gj1gu46KIFCgOBQ=; b=SSMjjCt85FU89uj98t8iAohEOOf6bmTxOgdQKl0q3xdfF9G7MB6acTV2t+vkTX66WW PQVzWFeuLDO1Zxm1IFd5gGLbBOT6iZZPAWoVN0kGeV26H3l7OKpZPfy5+q6hX65O5+Nv F9YKTot77SXPzxNeI3xS6Mb5tmT37D8ggx3LLSnJQ+/Xfv8zda4ku/8kWQuKP9D0sp5e OpCXUXLcQtYROzLAXpNqCTe6t2h6/L5BZ0Lh4NxRV1pn5FTGlTzQbuR6wkihd7Jio7Nx otB+lFXKFVuvPrfSCdOvMt6WQTwQaHDC3J0rLfYlMI5u2frek3n5vEIFDnO86xRTa6y+ lrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzQ6fmwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si8522645jal.24.2021.07.20.04.48.03; Tue, 20 Jul 2021 04:48:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mzQ6fmwI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236464AbhGTLGe (ORCPT + 99 others); Tue, 20 Jul 2021 07:06:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:47710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237775AbhGTLD2 (ORCPT ); Tue, 20 Jul 2021 07:03:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D69946113A; Tue, 20 Jul 2021 11:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626781437; bh=MHZkExzU8HdUKUa0EhCAB0MiLdwoljiL9Ho9vDzs0HY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mzQ6fmwIsG8MwWggE9QSHUgeypP49IlnS6UMaR6ZMs4bdbM/D9ETK7+JGHmtY2F8s LrwgoOW4lMcPIbZMx5EQGSagD2ldDDtjYLX5OAUzUjATcDkGjlwHlg4kMBP5xUXwP+ lWJ4qgsns0ZFpV6YKHOrujoyKqKszALyffhB0ttKYEcKyRBoGY5t9+GoQacyalDvkv tA2znRT8OC4LD3kLsxJa+P93jJCGta2RvJUI70nX++3yA71LJInMElieZF8TQ8LYQZ NOtMX85HLS75eKBEqp+mZWyzLITIyzEQdka/IC+qdufQD9wdrv8RFXb9lALkaBwSry J+uopTF42Re7g== Date: Tue, 20 Jul 2021 17:13:53 +0530 From: Vinod Koul To: Greg KH Cc: Kelvin Cheung , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V5] dmaengine: Loongson1: Add Loongson1 dmaengine driver Message-ID: References: <20210704153314.6995-1-keguang.zhang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-07-21, 19:39, Greg KH wrote: > On Sat, Jul 17, 2021 at 08:09:45PM +0530, Vinod Koul wrote: > > On 17-07-21, 18:57, Kelvin Cheung wrote: > > > Vinod Koul 于2021年7月14日周三 下午1:14写道: > > > > > > > > On 04-07-21, 23:33, Keguang Zhang wrote: > > > > > > > > > +static struct platform_driver ls1x_dma_driver = { > > > > > + .probe = ls1x_dma_probe, > > > > > + .remove = ls1x_dma_remove, > > > > > + .driver = { > > > > > + .name = "ls1x-dma", > > > > > + }, > > > > > +}; > > > > > + > > > > > +module_platform_driver(ls1x_dma_driver); > > > > > > > > so my comment was left unanswered, who creates this device! > > > > > > Sorry! > > > This patch will create the device: https://patchwork.kernel.org/patch/12281691 > > > > Greg, looks like the above patch creates platform devices in mips, is > > that the right way..? > > I do not understand, what exactly is the question? So this patch was adding Loongson1 dmaengine driver which is a platform device. I asked about the platform device and was told that [1] creates the platform device. I am not sure if that is the recommended way given that you have been asking people to not use platform devices. [1]: https://patchwork.kernel.org/patch/12281691 So is [1] the correct approach or should this be fixed? -- ~Vinod