Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965384Ab1C3VKb (ORCPT ); Wed, 30 Mar 2011 17:10:31 -0400 Received: from www.linutronix.de ([62.245.132.108]:33973 "EHLO linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965350Ab1C3VK2 (ORCPT ); Wed, 30 Mar 2011 17:10:28 -0400 Date: Wed, 30 Mar 2011 23:10:10 +0200 (CEST) From: Thomas Gleixner To: Linus Torvalds cc: Arnd Bergmann , Russell King - ARM Linux , Tony Lindgren , David Brown , LKML , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Nicolas Pitre , Catalin Marinas , "Paul E. McKenney" , Ingo Molnar Subject: Re: [GIT PULL] omap changes for v2.6.39 merge window In-Reply-To: Message-ID: References: <20110317183048.GW7258@atomide.com> <20110318101512.GA15375@n2100.arm.linux.org.uk> <201103301906.42429.arnd@arndb.de> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3968 Lines: 77 On Wed, 30 Mar 2011, Linus Torvalds wrote: > On Wed, Mar 30, 2011 at 10:06 AM, Arnd Bergmann wrote: > > > > I'm still new to the ARM world, but I think one real problem is the way > > that all platforms have their own trees with a very flat hierarchy -- > > a lot of people directly ask Linus to pull their trees, and the main > > way to sort out conflicts is linux-next. The number of platforms in the > > ARM arch is still increasing, so I assume that this only gets worse. > > Because as far as I can tell, most of that board support really is > about crazy details that the kernel shouldn't even care about. Come up > with a table that describes them, have one common parsing routine, and > push the table into a bootloader. And get rid of having to add a board > file for every crazy random piece of hardware that nobody really cares > about. There is effort on the way to address that with device tree support, but that wont solve the other problem Arnd mentioned. Let me phrase it different. The main problem is NOT that these things conflict, the main problem - and I can tell you after working through all that irq/gpio/mfd sh*tpile - is that these subarchs start a life on their own and find tons of creative ways to work around shortcomings of infrastructure code up to the point where infrastructure code cannot be changed anymore w/o breaking the world and some more. There is a f*cking good reason why I made myself run through all that horror. These shortcomings are partially real, but most of the time the failure is on those folks simply because they do not understand how it works. If the shortcoming is real they fail to talk to the infrastructure maintainers and just hack something which boots. The ARM core code and CPU/TLB/CACHE abnominations handling which is in Russell's hands is working very well. Piling the babysitting of sub-arch support onto Russell as well simply cannot scale, as the whole madness of inconsistency of the ARM core architecture itself is a full time job on it's own. Watching the rapidly increasing number of SoCs which are spilling out in the ARM ecosystem and their totaly non-architected "glue together random IP cores" philosophy, I' convinced that we need a full-time gatekeeper who babysits the subarch stuff and keeps an eye on those ever repeating failure patterns and works on resolving them. The only problem is to find a person, who is willing to do that, has enough experience, broad shoulders and a strong accepted voice. Not to talk about finding someone who is willing to pay a large enough compensation for pain and suffering. This is getting worse now as there seems to be a strong incentive to get all that vendor BSP crap into mainline and I did a couple of reviews in the last months which were more than frustrating. Running through a 10 rounds review for a 200 lines driver is not really encouraging - though at least the review prevented that a 1000 lines horror crap got merged. I don't blame those people too much as they have been thrown into Linux development after dealing with black hole OS cores for years and therefor being spoiled with the thought of "work around the failure / missing feature" somehow w/o the ability to talk to anyone about it. That's a system failure of the established commercial OS world and it will take some time to show those people that it can be solved different. But that takes quite some manpower. So one person will be not enough, that needs to be a whole team of experienced people in the very near future to deal with the massive tsunami of crap which is targeted at mainline. If we fail to set that up, then we run into a very ugly maintainability issue in no time. Thanks, tglx -- 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/