linux-mips
[Top] [All Lists]

Re: [PATCH 00/33] devm improvement series, part 1, take 2

To: <dedekind1@gmail.com>
Subject: Re: [PATCH 00/33] devm improvement series, part 1, take 2
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
Date: Thu, 16 May 2013 16:17:54 +0300
Cc: Viresh Kumar <viresh.kumar@linaro.org>, Wolfram Sang <wsa@the-dreams.de>, <linux-kernel@vger.kernel.org>, <linux-mips@linux-mips.org>, <alsa-devel@alsa-project.org>, <linux-usb@vger.kernel.org>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Linus Walleij <linus.walleij@linaro.org>, Matt Mackall <mpm@selenic.com>, <linux-fbdev@vger.kernel.org>, <dri-devel@lists.freedesktop.org>, Jaroslav Kysela <perex@perex.cz>, <linux-ide@vger.kernel.org>, Wim Van Sebroeck <wim@iguana.be>, <netdev@vger.kernel.org>, <linux-mtd@lists.infradead.org>, <linux-i2c@vger.kernel.org>, Evgeniy Polyakov <zbr@ioremap.net>, Wan ZongShun <mcuos.com@gmail.com>, <ac100@lists.launchpad.net>, <devel@driverdev.osuosl.org>, Kukjin Kim <kgene.kim@samsung.com>, Russell King <linux@arm.linux.org.uk>, Herbert Xu <herbert@gondor.hengli.com.au>, Florian Tobias Schandinat <FlorianSchandinat@gmx.de>, Marc Dietrich <marvin24@gmx.de>, Stephen Warren <swarren@wwwdotorg.org>, "Rafael J. Wysocki" <rjw@sisk.pl>, <cpufreq@vger.kernel.org>, Eduardo Valentin <eduardo.valentin@ti.com>, David Airlie <airlied@linux.ie>, Alan Stern <stern@rowland.harvard.edu>, Grant Likely <grant.likely@linaro.org>, Zhang Rui <rui.zhang@intel.com>, Thierry Reding <thierry.reding@avionic-design.de>, Deepak Saxena <dsaxena@plexity.net>, <linux-watchdog@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>, <linux-pm@vger.kernel.org>, Julian Andres Klode <jak@jak-linux.org>, Inki Dae <inki.dae@samsung.com>, <linux-samsung-soc@vger.kernel.org>, Ben Dooks <ben-linux@fluff.org>, Barry Song <baohua.song@csr.com>, <linux-tegra@vger.kernel.org>, <rtc-linux@googlegroups.com>, <linux-omap@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Joonyoung Shim <jy0922.shim@samsung.com>, Alessandro Zummo <a.zummo@towertech.it>, <spi-devel-general@lists.sourceforge.net>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Ralf Baechle <ralf@linux-mips.org>, Linus Torvalds <torvalds@linux-foundation.org>, Seung-Woo Kim <sw0312.kim@samsung.com>, Liam Girdwood <lgirdwood@gmail.com>, Felipe Balbi <balbi@ti.com>, Tony Prisk <linux@prisktech.co.nz>, Vinod Koul <vinod.koul@intel.com>, Kyungmin Park <kyungmin.park@samsung.com>, Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.de>, Dan Williams <djbw@fb.com>, Tejun Heo <tj@kernel.org>, Samuel Ortiz <sameo@linux.intel.com>, David Woodhouse <dwmw2@infradead.org>, Paul Zimmerman <paulz@synopsys.com>
In-reply-to: <1368709862.15764.224.camel@sauron.fi.intel.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1368702961-4325-1-git-send-email-wsa@the-dreams.de> <1368705452.15764.217.camel@sauron.fi.intel.com> <CAKohpokUy7QfvKkzGH025Zs5VkUhr8zRLeo3caG3LAnLfptzww@mail.gmail.com> <1368709862.15764.224.camel@sauron.fi.intel.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
On 16/05/13 16:11, Artem Bityutskiy wrote:
> On Thu, 2013-05-16 at 18:25 +0530, Viresh Kumar wrote:
>> On 16 May 2013 17:27, Artem Bityutskiy <dedekind1@gmail.com> wrote:
>>> On Thu, 2013-05-16 at 13:15 +0200, Wolfram Sang wrote:
>>>> Despite various architectures and platform dependencies, I managed to
>>>> compile
>>>> test 45 out of 57 modified files locally using heuristics and
>>>> defconfigs.
>>>> If somebody knows how to create a minimal .config with a certain
>>>> kconfig symbol
>>>> (and its dependencies) set, I'd love to hear about it.
>>>
>>> If you find this out, please, share!
>>
>> Are you guys looking for "make savedefconfig" ??
> 
> No. It is more like:
> 
> I have changed this strange driver.
> 
> I want to compile-test my changes.
> 
> I need a defconfig which would have this driver enabled. I also want to
> know <arch> for my "make ARCH=<arch>" command.

Not quite the same thing, but I sent this a while ago:

http://lkml.indiana.edu/hypermail/linux/kernel/1304.3/02847.html

My "softdepends" feature is probably not needed, as pointed out in the
thread, as the behavior can be implemented with the current Kconfig
language just fine.

I had a quick look at fbdev drivers, and some of them compile fine on
all (well, arm and x86) archs. But many do have real arch dependencies.

I think it'd be a good long term goal to make drivers arch-independent,
and add CONFIG_SHOW_ALL_DRIVERS or such, which would allow compiling
drivers that are not used on your arch, but still compile fine.

 Tomi


Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>