Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756405Ab1FFQEO (ORCPT ); Mon, 6 Jun 2011 12:04:14 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:51950 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755302Ab1FFQEK (ORCPT ); Mon, 6 Jun 2011 12:04:10 -0400 From: Arnd Bergmann To: Timur Tabi , Deepak Saxena Subject: Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver Date: Mon, 6 Jun 2011 18:03:58 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.35-22-generic; KDE/4.3.2; x86_64; ; ) Cc: kumar.gala@freescale.com, benh@kernel.crashing.org, greg@kroah.com, akpm@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-console@vger.kernel.org References: <1306953337-15698-1-git-send-email-timur@freescale.com> <201106061742.01974.arnd@arndb.de> <4DECF6B3.5020700@freescale.com> In-Reply-To: <4DECF6B3.5020700@freescale.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106061803.58531.arnd@arndb.de> X-Provags-ID: V02:K0:3UfDaB/oQ2uwj+qdgBTRegzl2J35DSNV+nkGM1gsmAI lgHH2+rrYM8I7YeczZ0HOuoVnkpzqUJ1tG6rubNI9UmTJsB5P9 wj4AGOhAs7Ff+Qaxd9A+/sKO1mRwjSGe59cLNP1bF9T6+gawse XwJ2o8d0pSoMcwoG+3iBmOsfMRCtLX94viouMFPYZOBz0HQkoH 4ePb3nNEr9G914vOXXAaA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2016 Lines: 39 On Monday 06 June 2011, Timur Tabi wrote: > Arnd Bergmann wrote: > > Sorry, I misread your first sentence above. I thought you said that you prefer > > drivers/firmware over virt/fsl. drivers/misc is definitely the wrong > > place for this, please choose a better one. Maybe drivers/virt/ ? > > I'll be more than happy to go with the consensus, but I don't think it makes > sense to create a new directory just for this one, limited-use driver. You're > the only person who's complained about drivers/misc. I'm pretty sure that if I > put it in drivers/virt, I'll get more complaints. > > I still don't understand what's wrong with drivers/misc, especially since my > driver registers as a "misc" driver. I basically think that drivers/misc is wrong for most of the stuff that is already in there, either because the drivers actually fit into a subsystem together with other drivers or because they contain rather horrible code. The idea that drivers using misc_register belong into drivers/misc is a common misconception. Traditionally they go to drivers/char, which would still be a better choice, and most "misc" drivers are actually part of a proper subsystem, while most drivers in drivers/misc don't have a character device interface. When we talked about the situation of drivers/misc and drivers/char at one of the recent conferences, a broad consensus was that they are in need of a maintainer, which I foolishly signed up for. Deepak wanted to send an update to the MAINTAINERS file for this (I guess I can do that too, since he must have forgotten about it), but the main idea is that I'm there to say no to any driver that someone tries to add there, unless there are really good reasons why it is actually a good place to live for that driver. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/