From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource' Date: Thu, 17 Jul 2014 19:20:11 +0800 Message-ID: <53C7B16B.7020000@gmail.com> References: <201407130545.23004.marex@denx.de> <6823014.2plXDE9VA9@wuerfel> <20140717095657.GC17877@ulmo> <6350114.L77bTv76Ul@wuerfel> <20140717105549.GH17877@ulmo> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140717105549.GH17877@ulmo> Sender: linux-pwm-owner@vger.kernel.org To: Thierry Reding , Arnd Bergmann Cc: Guenter Roeck , Richard Weinberger , Lars-Peter Clausen , Greg Kroah-Hartman , dmitry.torokhov@gmail.com, linux-iio@vger.kernel.org, Benjamin Herrenschmidt , teg@jklm.no, Lennox Wu , Marek Vasut , Liqin Chen , msalter@redhat.com, linux-pwm@vger.kernel.org, devel@driverdev.osuosl.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, "linux-kernel@vger.kernel.org" , knaack.h@gmx.de, Martin Schwidefsky , Mischa.Jonker@synopsys.com, jic23@kernel.org, Geert Uytterhoeven Liqin Chen Lennox Wu List-Id: linux-input@vger.kernel.org On 07/17/2014 06:55 PM, Thierry Reding wrote: > On Thu, Jul 17, 2014 at 12:33:32PM +0200, Arnd Bergmann wrote: >> On Thursday 17 July 2014 11:56:58 Thierry Reding wrote: >>> On Thu, Jul 17, 2014 at 11:20:36AM +0200, Arnd Bergmann wrote: >>> [...] >>>> score should set HAS_IOMEM and doesn't >>>> even have public compilers >>> >>> This begs an interesting question. Should it be made a requirement to >>> have publicly available compilers for new architectures so that they can >>> at least be compile-tested? Preferably this would of course be in source >>> form so that there aren't any dependencies on the distribution. >> >> The question has come up a few times. I wouldn't mandate that the port >> has an upstream gcc (you've got to start mainlining one of them first >> after all), but having compilers available for download should probably be >> required. It's hard to ask for a particular quality of that gcc port >> though, or to expect it to stay available online. >> >> Where did you find the gcc port for score? > > It's upstream, though marked obsolete and to be removed in the next > release... =) > For me, I get the latest gcc version and binutils source code, and fix 2 bugs (one for gas, which always generate core dump, the other for gcc c-decl, fix it together with the other gcc members). And I only finish compiling raw cross-compiler (--without-headers), after make some patches, can let score pass allmodconfig. At present, it seems the score cross-compiler still contents some issue which I shall try to analyse (it is about link symbols), and maybe need communicate with gcc/binutils members. At present, the related score maintainers are still active in upstream kernel, so we also need the related maintainers' ideas and suggestions. Thanks -- Chen Gang Open, share, and attitude like air, water, and life which God blessed