Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755152Ab1FGQtM (ORCPT ); Tue, 7 Jun 2011 12:49:12 -0400 Received: from usmamail.tilera.com ([206.83.70.75]:9010 "EHLO USMAMAIL.TILERA.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753200Ab1FGQtJ (ORCPT ); Tue, 7 Jun 2011 12:49:09 -0400 Message-ID: <4DEE567E.7080102@tilera.com> Date: Tue, 7 Jun 2011 12:49:02 -0400 From: Chris Metcalf User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Arnd Bergmann CC: , Konrad Rzeszutek Wilk , , , , Deepak Saxena , , , Timur Tabi Subject: Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver References: <1306953337-15698-1-git-send-email-timur@freescale.com> <20110606212356.GA20112@dumpdata.com> <4DED5D08.3070704@tilera.com> <201106070908.16301.arnd@arndb.de> In-Reply-To: <201106070908.16301.arnd@arndb.de> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1899 Lines: 39 On 6/7/2011 3:08 AM, Arnd Bergmann wrote: > On Tuesday 07 June 2011 01:04:40 Chris Metcalf wrote: >> There is certainly precedent for drivers that don't fit cleanly into an >> existing category to go in drivers/, e.g. drivers/s390, >> drivers/parisc, etc. There is also drivers/platform/x86, though that seems >> to be for the bus "platform drivers" rather than just a random character >> driver like the one in question. > The drivers/s390 and drivers/parisc directories are from a distant past, > we should not add new ones like them. drivers/platform is controversial, > but I think it's ok for stuff that manages platform specific quirks. > The main problem with that is that it doesn't work for embedded systems, > by extension every ARM specific driver could go into drivers/platform/... > and we don't want that. > > You can probably argue that the tile drivers do fit in here as long as > they are specific to the hypervisor and not to some SOC specific hardware. Can you clarify that? I think you're contrasting something like an ARM core that was licensed and put in a SoC by some random vendor, and you could have an endless stream of drivers for that case. The Tilera core isn't being licensed; it's sold more like an Intel chip with a fixed set of interfaces available only from Tilera. The particular interface in question here is SPI, and the core itself knows how to boot the chip over SPI by finding an SPI ROM and reading the boot stream out of it directly after power-up. So does that match with your model of "drivers/platform/tile"? Maybe we have a winner! :-) -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- 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/