Received: by 10.213.65.68 with SMTP id h4csp2067553imn; Thu, 5 Apr 2018 08:25:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+AhuIII1l320293OPRr6QYg47UIczLqIK3lcFMpqwqGisMf+BRQONoCI8oKPzRrmgZgm5Y X-Received: by 10.99.116.76 with SMTP id e12mr6285854pgn.270.1522941925781; Thu, 05 Apr 2018 08:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522941925; cv=none; d=google.com; s=arc-20160816; b=MrC09WSbXIMHrvpREnHxtuw7hn3wRZ7/UlyBse43Hgo1xoZzrBLm+JCppMq0oXWTnf rcpfuNhgFfHVkcEu5QzqiPAC6lys6zOsfnfN9q0X9qON6BI+PsgDOPZ6VrAxLUkpzcdt ujFqi+jDUfZltq1na53ksKD9XzQfly1vQxaiCI/aZUboWtbISTe6/Eye1zctDpKWkOKR YuVH+MhqXBGyN3y/PjYLPlWVLFF0Aa6IhSxmf1AOwAr+QUnEUQAZTFiW7OcZW6+XMBSv I8ZPtTDBrKMZe/lyZwqbTYusaTL5OEL1qYdijYKv9Bymu/slQRrQyvUEHvXNb+jHLhSr 5Jmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=8VK2WUV6OgmtZvtep7k9AFtHbG+Z9p0RgQN+5QUYmz8=; b=Pe1qW+7pj5aaaYnM5eJJvhieheHWb9CP2DehvGXY2WjT7IuGO/eiaQkf2anUILNowL HhAMfeGklZEfQiRn7FC748vOdQ+V40izSsyogquVDHlFio7C7U5/e6d0R/SwpSUzT5zd b9Qn/2KqKQUWOEBKRsr/0uaB81mqpMYWnki3G1dFOQ/WulaSZqtJzhBkAxmQBQs/HwFk bh1B7vO0OYLMeJthZvPH8fyv1b8bruP9W2dw9unK1N2uN5yn5wH5vOZPsxG7ltLreL7L xeEdKM9BDH6MfMdkHqaAnoiekyPzEDkIlWBy1qwA9HFECMSYaSPaWuF8iCbS1STbck/l G4NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=QHtjVQ1B; 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 a12si6251867pfd.235.2018.04.05.08.25.11; Thu, 05 Apr 2018 08:25:25 -0700 (PDT) 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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=QHtjVQ1B; 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 S1751410AbeDEPXy (ORCPT + 99 others); Thu, 5 Apr 2018 11:23:54 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:51790 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751179AbeDEPXx (ORCPT ); Thu, 5 Apr 2018 11:23:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=8VK2WUV6OgmtZvtep7k9AFtHbG+Z9p0RgQN+5QUYmz8=; b=QHtjVQ1BnnHYZiBjN7+BU2KnypltyCtuomTUKgK6Sqb/87NiU9xFhnyLknQgCsI8SUfKYYTU/E+ujLfc0L6QM9hQrMBUpfBLwSmumQYnQXvUrf9XT16QY7TuuZMQLnIsNv+Zy2Y3UE6gPuJHpsaO0L4OmYF7u+Mj3lvPXv50fGU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1f46js-0004UB-US; Thu, 05 Apr 2018 17:23:48 +0200 Date: Thu, 5 Apr 2018 17:23:48 +0200 From: Andrew Lunn To: Laurentiu Tudor Cc: Stuart Yoder , Arnd Bergmann , Ioana Ciornei , gregkh , Linux Kernel Mailing List , Ruxandra Ioana Ciocoi Radulescu , Razvan Stefanescu , Roy Pledge , Networking Subject: Re: [PATCH v3 2/4] bus: fsl-mc: add restool userspace support Message-ID: <20180405152348.GC32663@lunn.ch> References: <20180404010549.GA12443@lunn.ch> <20180404124246.GA20869@lunn.ch> <5AC5FAA8.80409@nxp.com> <20180405114736.GA12178@lunn.ch> <5AC61393.7090509@nxp.com> <20180405124810.GE12178@lunn.ch> <5AC63610.4000504@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5AC63610.4000504@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 05, 2018 at 02:43:29PM +0000, Laurentiu Tudor wrote: > Hi Andrew, > > On 04/05/2018 03:48 PM, Andrew Lunn wrote: > >>> Hi Laurentiu > >>> > >>> So i can use switchdev without it? I can modprobe the switchdev > >>> driver, all the physical interfaces will appear, and i can use ip addr > >>> add etc. I do not need to use a user space tool at all in order to use > >>> the network functionality? > >> > >> Absolutely! > > > > Great. > > > > Then the easiest way forwards is to simply drop the IOCTL code for the > > moment. Get the basic support for the hardware into the kernel > > first. Then come back later to look at dynamic behaviour which needs > > some form of configuration. > > Hmm, not sure I understand. We already have a fully functional ethernet > driver [1] and a switch driver [2] ... In staging, the tree of crap. You want to get it out of there and into the main tree. But that effort is being side lined by the discussion around this IOCTL call. The best way forward is to to accept Greg is not going to take this patchset at the moment, and move on. As you said, it is not needed for the Ethernet and switchdev driver. What needs to happen before the Ethernet driver can be reviewed for moving out of staging? Andrew