Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-10 Thread Vasant Hegde
On 09/11/2013 04:20 AM, Guenter Roeck wrote: On Wed, Sep 11, 2013 at 08:02:49AM +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-09-09 at 16:55 -0700, Asai Thambi S P wrote: On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, Guenter, Ben, Sorry for the inconvenience. I never realized my

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-10 Thread Guenter Roeck
On Wed, Sep 11, 2013 at 08:02:49AM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2013-09-09 at 16:55 -0700, Asai Thambi S P wrote: > > On 09/08/2013 5:28 PM, Guenter Roeck wrote: > > > Hi all, > > > > > > powerpc allmodconfig build on the latest upstream kernel results in: > > > > > > ERROR: ".cpu

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-10 Thread Benjamin Herrenschmidt
On Mon, 2013-09-09 at 16:55 -0700, Asai Thambi S P wrote: > On 09/08/2013 5:28 PM, Guenter Roeck wrote: > > Hi all, > > > > powerpc allmodconfig build on the latest upstream kernel results in: > > > > ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! > > > > This is due to co

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-09 Thread Guenter Roeck
On 09/09/2013 04:55 PM, Asai Thambi S P wrote: On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-

Re: powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-09 Thread Asai Thambi S P
On 09/08/2013 5:28 PM, Guenter Roeck wrote: Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-id information available to userspace). Not su

Re: powerpc allmodconfig

2008-10-18 Thread Johannes Berg
On Thu, 2008-10-16 at 13:02 -0700, Arjan van de Ven wrote: > On Thu, 16 Oct 2008 12:49:23 -0700 (PDT) > David Miller <[EMAIL PROTECTED]> wrote: > > #endif > > #define __WARN() warn_on_slowpath(__FILE__, __LINE__) > > #define __WARN_printf(arg...) warn_slowpath(__FILE__, __LINE__, arg) > > #else > >

Re: powerpc allmodconfig

2008-10-17 Thread Ingo Molnar
* David Miller <[EMAIL PROTECTED]> wrote: > > net/dccp/options.c: In function 'dccp_parse_options': > > net/dccp/options.c:67: warning: 'value' may be used uninitialized in > > this function > > Known issue, not trivial to fix, gcc is just being incredibly silly > here as it can't see all of

Re: powerpc allmodconfig

2008-10-16 Thread Jesse Brandeburg
On Wed, Oct 15, 2008 at 11:58 PM, David Miller <[EMAIL PROTECTED]> wrote: >> There's already a completely different fix queued in netdev patchworks >> (for myri10ge only right now, to be duplicated for Intel drivers). The >> idea is to stop having almost-unrelated drivers select each other >> direc

Re: powerpc allmodconfig

2008-10-16 Thread Arjan van de Ven
On Thu, 16 Oct 2008 12:49:23 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > #endif > #define __WARN() warn_on_slowpath(__FILE__, __LINE__) > #define __WARN_printf(arg...) warn_slowpath(__FILE__, __LINE__, arg) > #else > #define __WARN_printf(arg...) __WARN() the easiest way I suppose would

Re: powerpc allmodconfig

2008-10-16 Thread David Miller
From: Johannes Berg <[EMAIL PROTECTED]> Date: Thu, 16 Oct 2008 16:57:19 +0200 > On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > > > > > > > net/sched/sch_generic.c: In function 'dev_watchdog': > > > net/sched/sch_generic.c:224: warning: unused variable 'drivername' > > > > Sucky, if WA

Re: powerpc allmodconfig

2008-10-16 Thread Johannes Berg
On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > > > > net/sched/sch_generic.c: In function 'dev_watchdog': > > net/sched/sch_generic.c:224: warning: unused variable 'drivername' > > Sucky, if WARN_ONCE() evaluates to nothing the sprintf() string buffer > on the stack looks unused. I've

Re: powerpc allmodconfig

2008-10-16 Thread Adrian Bunk
On Thu, Oct 16, 2008 at 10:43:33AM +0200, Takashi Iwai wrote: > At Thu, 16 Oct 2008 11:21:57 +0300, > Adrian Bunk wrote: > > > > On Thu, Oct 16, 2008 at 09:57:11AM +0200, Takashi Iwai wrote: > > > At Thu, 16 Oct 2008 10:38:36 +0300, > > > Adrian Bunk wrote: > > > > > > > > On Thu, Oct 16, 2008 at

Re: powerpc allmodconfig

2008-10-16 Thread Mark Brown
On Wed, Oct 15, 2008 at 09:33:37PM -0700, Andrew Morton wrote: > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > deprecated (declared at sound/soc/soc-dapm.c:1026) > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > deprecated (declared at sound/soc/soc-

Re: powerpc allmodconfig

2008-10-16 Thread Takashi Iwai
At Thu, 16 Oct 2008 11:21:57 +0300, Adrian Bunk wrote: > > On Thu, Oct 16, 2008 at 09:57:11AM +0200, Takashi Iwai wrote: > > At Thu, 16 Oct 2008 10:38:36 +0300, > > Adrian Bunk wrote: > > > > > > On Thu, Oct 16, 2008 at 07:57:29AM +0200, Takashi Iwai wrote: > > > > At Wed, 15 Oct 2008 21:33:37 -0

Re: powerpc allmodconfig

2008-10-16 Thread Adrian Bunk
On Thu, Oct 16, 2008 at 09:57:11AM +0200, Takashi Iwai wrote: > At Thu, 16 Oct 2008 10:38:36 +0300, > Adrian Bunk wrote: > > > > On Thu, Oct 16, 2008 at 07:57:29AM +0200, Takashi Iwai wrote: > > > At Wed, 15 Oct 2008 21:33:37 -0700, > > > Andrew Morton wrote: > > > > > > > > sound/soc/soc-dapm.c:

Re: powerpc allmodconfig

2008-10-16 Thread Geert Uytterhoeven
On Thu, 16 Oct 2008, David Miller wrote: > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > Date: Thu, 16 Oct 2008 09:31:29 +0200 (CEST) > > > On Wed, 15 Oct 2008, David Miller wrote: > > > > kernel/resource.c: In function '__reserve_region_with_split': > > > > kernel/resource.c:554: warning: format

Re: powerpc allmodconfig

2008-10-16 Thread Geert Uytterhoeven
On Wed, 15 Oct 2008, David Miller wrote: > > kernel/resource.c: In function '__reserve_region_with_split': > > kernel/resource.c:554: warning: format '%llx' expects type 'long long > > unsigned int', but argument 3 has type 'resource_size_t' > > kernel/resource.c:554: warning: format '%llx' expect

Re: powerpc allmodconfig

2008-10-16 Thread Andreas Schwab
David Miller <[EMAIL PROTECTED]> writes: >> net/dccp/options.c: In function 'dccp_parse_options': >> net/dccp/options.c:67: warning: 'value' may be used uninitialized in this >> function > > Known issue, not trivial to fix, gcc is just being incredibly silly here as it > can't see all of the cont

Re: powerpc allmodconfig

2008-10-16 Thread Takashi Iwai
At Thu, 16 Oct 2008 10:38:36 +0300, Adrian Bunk wrote: > > On Thu, Oct 16, 2008 at 07:57:29AM +0200, Takashi Iwai wrote: > > At Wed, 15 Oct 2008 21:33:37 -0700, > > Andrew Morton wrote: > > > > > > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > > > deprecated (declared at

Re: powerpc allmodconfig

2008-10-16 Thread Adrian Bunk
On Thu, Oct 16, 2008 at 07:57:29AM +0200, Takashi Iwai wrote: > At Wed, 15 Oct 2008 21:33:37 -0700, > Andrew Morton wrote: > > > > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > > deprecated (declared at sound/soc/soc-dapm.c:1026) > > sound/soc/soc-dapm.c:1029: warning: 'sn

Re: powerpc allmodconfig

2008-10-16 Thread David Miller
From: Geert Uytterhoeven <[EMAIL PROTECTED]> Date: Thu, 16 Oct 2008 09:31:29 +0200 (CEST) > On Wed, 15 Oct 2008, David Miller wrote: > > > kernel/resource.c: In function '__reserve_region_with_split': > > > kernel/resource.c:554: warning: format '%llx' expects type 'long long > > > unsigned int',

Re: powerpc allmodconfig

2008-10-15 Thread David Miller
From: Brice Goglin <[EMAIL PROTECTED]> Date: Thu, 16 Oct 2008 08:55:08 +0200 > Dan Williams wrote: > > On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > > > >>> drivers/dma/ioat_dca.c: In function 'dca_enabled_in_bios': > >>> drivers/dma/ioat_dca.c:81: error: implicit declaration of func

Re: powerpc allmodconfig

2008-10-15 Thread Brice Goglin
Dan Williams wrote: > On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > >>> drivers/dma/ioat_dca.c: In function 'dca_enabled_in_bios': >>> drivers/dma/ioat_dca.c:81: error: implicit declaration of function >>> 'cpuid_eax' >>> drivers/dma/ioat_dca.c: In function 'system_has_dca_enabled':

Re: powerpc allmodconfig

2008-10-15 Thread Dan Williams
On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > > drivers/dma/ioat_dca.c: In function 'dca_enabled_in_bios': > > drivers/dma/ioat_dca.c:81: error: implicit declaration of function > > 'cpuid_eax' > > drivers/dma/ioat_dca.c: In function 'system_has_dca_enabled': > > drivers/dma/ioat_dca.c

Re: powerpc allmodconfig

2008-10-15 Thread Takashi Iwai
At Wed, 15 Oct 2008 21:33:37 -0700, Andrew Morton wrote: > > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > deprecated (declared at sound/soc/soc-dapm.c:1026) > sound/soc/soc-dapm.c:1029: warning: 'snd_soc_dapm_connect_input' is > deprecated (declared at sound/soc/soc-dapm

Re: powerpc allmodconfig

2008-10-15 Thread Benjamin Herrenschmidt
On Wed, 2008-10-15 at 22:02 -0700, David Miller wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > Date: Wed, 15 Oct 2008 21:33:37 -0700 > > > kernel/resource.c: In function '__reserve_region_with_split': > > kernel/resource.c:554: warning: format '%llx' expects type 'long long > > unsigned int',

Re: powerpc allmodconfig

2008-10-15 Thread David Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Wed, 15 Oct 2008 21:33:37 -0700 > kernel/resource.c: In function '__reserve_region_with_split': > kernel/resource.c:554: warning: format '%llx' expects type 'long long > unsigned int', but argument 3 has type 'resource_size_t' > kernel/resource.c:554:

Re: powerpc allmodconfig

2008-10-15 Thread Benjamin Herrenschmidt
Some comments for some of these... On Wed, 2008-10-15 at 21:33 -0700, Andrew Morton wrote: > kernel/resource.c: In function '__reserve_region_with_split': > kernel/resource.c:554: warning: format '%llx' expects type 'long long > unsigned int', but argument 3 has type 'resource_size_t' > kernel/r

Re: powerpc allmodconfig in current -mm

2008-08-21 Thread Stephen Rothwell
Hi Paul, On Thu, 21 Aug 2008 15:01:43 +1000 Paul Mackerras <[EMAIL PROTECTED]> wrote: > > OK. I think we need to export CMO_PrPSP and CMO_SecPSP as well. > (Lovely names. :() These are only used (indirectly) in lparcfg.c which is never a module, so should be OK. -- Cheers, Stephen Rothwell

Re: powerpc allmodconfig in current -mm

2008-08-21 Thread Stephen Rothwell
Hi Andrew, On Wed, 20 Aug 2008 18:16:26 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > From: Andrew Morton <[EMAIL PROTECTED]> > > powerpc allmodconfig: > > ERROR: "CMO_PageSize" [arch/powerpc/platforms/pseries/cmm.ko] undefined! > > (needed for 2.6.27) > > Cc: Benjamin Herrenschmidt <[EMA

Re: powerpc allmodconfig in current -mm

2008-08-20 Thread Paul Mackerras
Andrew Morton writes: > /opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc64-unknown-linux-gnu/bin/powerpc64-unknown-linux-gnu-ld: > .tmp_vmlinux1: section .data.gcov lma 0xc2c2bb78 overlaps previous > sections I suspect your binutils are too old, and the stress that the gcov stuff puts on th