Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp33783imu; Thu, 10 Jan 2019 17:23:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ZPpxhGIoVxH6Gko1cvHBZkBWqGR0DcSTixZVDnPic55SCI/qmBylnmaBuobtmW4ikEgRv X-Received: by 2002:a17:902:f44:: with SMTP id 62mr12723635ply.38.1547169795827; Thu, 10 Jan 2019 17:23:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547169795; cv=none; d=google.com; s=arc-20160816; b=aExl9+AE8931MGUN66ZNbUpkTC+8ashcg5xy/VrR3BUvQnzmoJT2OHVsTRLGfXVNB2 7VgT8vUxByOdGadBXpHcgYd6gWyv07AN9emMu8K3bM/E0l3azwwh4CCQrtDFHxf2IO88 KFL2S/zhwcGp1Y7BiGvxi41qwZdgTzoyjdqaNDOxhSzZC7zieoYkBP+1EM/eOkFiozHB Kc3CHZ5nY9Oyt/+d/ncvlITM3jzEEOKDEdGUALuVHpP92Z2g+B8Ob9NvHpB/0zGatKc7 1so2ccIRUyFA1IDidZW8+/knh/AIgm2S2fQtQpX8o2CEsAOYeoqNlhi9fo7uz+hjnGVf 5gqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=dSy6+cGPMbdnZXuUilT/mlTfbZIRbpO3yk7crPcRpNs=; b=aBMI0jsVg751hpF9qfyqgPfqXB8rpF2YLy+mY0+yIZT4Kc1nNvL/BX5jtELlhEjcG0 q77uyyDEBRyXbWCsBvLGaZxCA4nwImvRuug2rnUdASO1EkmIl/aNjiCl04hSWqi5bdW5 2/7oliHHXXgEvtdiSTMBnuAJd2a+YK6VyKA+0HVOpU2p5yN3cAwUUsLM5T8axm+C6dFg UFdgsAGZFeb1B+vkL7Qtm9Faedpv16sKo6vYdNSOz07Ef9779/vM85aOgAeI3U9V3gno 1GP+cDDjF6Q/eygVoYJiZj2BT7seOn4pTeLX9bexG+PqonGBJaOnZinTpxe2TVUCm6rh eU6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 35si4466810pgn.278.2019.01.10.17.23.00; Thu, 10 Jan 2019 17:23:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729189AbfAKBVy (ORCPT + 99 others); Thu, 10 Jan 2019 20:21:54 -0500 Received: from mx2.suse.de ([195.135.220.15]:47010 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726369AbfAKBVx (ORCPT ); Thu, 10 Jan 2019 20:21:53 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A49E9ACC7; Fri, 11 Jan 2019 01:21:51 +0000 (UTC) From: NeilBrown To: thirtythreeforty@gmail.com, Greg Kroah-Hartman Date: Fri, 11 Jan 2019 12:21:45 +1100 Cc: George Hilliard , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH v2 1/2] Move ralink-gdma to its own directory In-Reply-To: <20190111004337.7223-1-thirtythreeforty@gmail.com> References: <20190111004337.7223-1-thirtythreeforty@gmail.com> Message-ID: <874laggf9y.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, Jan 10 2019, thirtythreeforty@gmail.com wrote: > From: George Hilliard > > This is in preparation to allow it and the mt7621-dma drivers to be > built separately. They are completely independent pieces of software, > and the Kconfig specifies very different requirements. > > Cc: linux-kernel@vger.kernel.org > Cc: devel@driverdev.osuosl.org > Cc: Neil Brown > Signed-off-by: George Hilliard Hi, thanks for taking an interest in these drivers. I original submitted this code because I though I needed it for my mt7621 hardware, but I've subsequently realized that neither of these dma drivers are used in this hardware. Consequently I cannot test any changes you make. But maybe you can - which would be excellent! So this is just letting you and Greg know that despite my stated interest, I cannot actually review or test this. Thanks, NeilBrown > --- > drivers/staging/Kconfig | 2 ++ > drivers/staging/Makefile | 1 + > drivers/staging/mt7621-dma/Kconfig | 6 ------ > drivers/staging/mt7621-dma/Makefile | 1 - > drivers/staging/ralink-gdma/Kconfig | 6 ++++++ > drivers/staging/ralink-gdma/Makefile | 3 +++ > drivers/staging/{mt7621-dma =3D> ralink-gdma}/ralink-gdma.c | 0 > 7 files changed, 12 insertions(+), 7 deletions(-) > create mode 100644 drivers/staging/ralink-gdma/Kconfig > create mode 100644 drivers/staging/ralink-gdma/Makefile > rename drivers/staging/{mt7621-dma =3D> ralink-gdma}/ralink-gdma.c (100%) > > diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig > index e4f608815c05..b4cfde38e856 100644 > --- a/drivers/staging/Kconfig > +++ b/drivers/staging/Kconfig > @@ -110,6 +110,8 @@ source "drivers/staging/mt7621-spi/Kconfig" >=20=20 > source "drivers/staging/mt7621-dma/Kconfig" >=20=20 > +source "drivers/staging/ralink-gdma/Kconfig" > + > source "drivers/staging/mt7621-mmc/Kconfig" >=20=20 > source "drivers/staging/mt7621-eth/Kconfig" > diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile > index 5868631e8f1b..e095f427177c 100644 > --- a/drivers/staging/Makefile > +++ b/drivers/staging/Makefile > @@ -45,6 +45,7 @@ obj-$(CONFIG_SOC_MT7621) +=3D mt7621-pci/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-pinctrl/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-spi/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-dma/ > +obj-$(CONFIG_SOC_MT7621) +=3D ralink-gdma/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-mmc/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-eth/ > obj-$(CONFIG_SOC_MT7621) +=3D mt7621-dts/ > diff --git a/drivers/staging/mt7621-dma/Kconfig b/drivers/staging/mt7621-= dma/Kconfig > index 2423c40099d1..b6e48a682c44 100644 > --- a/drivers/staging/mt7621-dma/Kconfig > +++ b/drivers/staging/mt7621-dma/Kconfig > @@ -1,9 +1,3 @@ > -config DMA_RALINK > - tristate "RALINK DMA support" > - depends on RALINK && !SOC_RT288X > - select DMA_ENGINE > - select DMA_VIRTUAL_CHANNELS > - > config MTK_HSDMA > tristate "MTK HSDMA support" > depends on RALINK && SOC_MT7621 > diff --git a/drivers/staging/mt7621-dma/Makefile b/drivers/staging/mt7621= -dma/Makefile > index d3152d45cf45..c9e3e1619ab0 100644 > --- a/drivers/staging/mt7621-dma/Makefile > +++ b/drivers/staging/mt7621-dma/Makefile > @@ -1,4 +1,3 @@ > -obj-$(CONFIG_DMA_RALINK) +=3D ralink-gdma.o > obj-$(CONFIG_MTK_HSDMA) +=3D mtk-hsdma.o >=20=20 > ccflags-y +=3D -I$(srctree)/drivers/dma > diff --git a/drivers/staging/ralink-gdma/Kconfig b/drivers/staging/ralink= -gdma/Kconfig > new file mode 100644 > index 000000000000..a12b2c672d48 > --- /dev/null > +++ b/drivers/staging/ralink-gdma/Kconfig > @@ -0,0 +1,6 @@ > +config DMA_RALINK > + tristate "RALINK DMA support" > + depends on RALINK && !SOC_RT288X > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS > + > diff --git a/drivers/staging/ralink-gdma/Makefile b/drivers/staging/ralin= k-gdma/Makefile > new file mode 100644 > index 000000000000..5d917e0729bb > --- /dev/null > +++ b/drivers/staging/ralink-gdma/Makefile > @@ -0,0 +1,3 @@ > +obj-$(CONFIG_DMA_RALINK) +=3D ralink-gdma.o > + > +ccflags-y +=3D -I$(srctree)/drivers/dma > diff --git a/drivers/staging/mt7621-dma/ralink-gdma.c b/drivers/staging/r= alink-gdma/ralink-gdma.c > similarity index 100% > rename from drivers/staging/mt7621-dma/ralink-gdma.c > rename to drivers/staging/ralink-gdma/ralink-gdma.c > --=20 > 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlw376kACgkQOeye3VZi gbnmiQ//eMYbf9WonxmqZa+ulnHF6Sx9FYGQHDgT0ru2uy1nAd1wT9d5/p4JwhdF Uxpv4A/ZbZp7wJfX3FHOT7eAX5NpxjP6rcfSPnl80InBY81NOi/92AMTiHZhj21r eqtfbPE6o1wQCAOaE7mFFhvbTamAWOzgVRq/aHO1djRY5FR6L/tRFTB4UwIZIkjB vj0EFFGtYVqpKd/grvS0sf1JpgDW+n5/lIwbNCQXCOEelNjy2rgue7O8K3BrM4DY zhY9bM4lvCp1JmeIHy2Ji0MMqJdsJepmcUujO4YCAxkd8syXyexHBDb5+xKEoTaL wKlBC2B53B90m1SMnVFRi0tiP+Oaak9Iy/zesUQ4ErWsJcdqBaOoy/ek3FXC1KYh YMtVCqo3VManf0h42/6qfuupVuX54kSXpfctt/bEUsUrVUk2Zkc/DTp/EdUE5rG2 cw49PABzD77C4weyWexgTQOvJRxrIvtSGGWRpnEmmK5CEKgII0MIZ8Dq3IVCQrUo RMe3p0WjyEt4doUI5fEXA8SZCk8tCoTjIZ5f9CsICmXq7MSoPfw6PvgCCi0Ln5yB T02Yj/NzeA9Yujw+zdDvxQzmiPUYnuR+GwKRK7OQbvdHLgyU8dO36gIlJh2XoTPB UnWt7GcHSCXuX3iI1rxgKsdI0AbPgjppVW2quzhBRvwnqUiaEe8= =qbnY -----END PGP SIGNATURE----- --=-=-=--