linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: scsi-post-merge tree build failure
@ 2008-12-11  8:27 Stephen Rothwell
  2008-12-11  8:28 ` Stephen Rothwell
  2008-12-11 12:35 ` David Howells
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-12-11  8:27 UTC (permalink / raw)
  To: David Howells; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Hi David,

Today's linux-next build (powerpc ppc44x_config) failed like this:

arch/powerpc/lib/dma-noncoherent.c:80: error: redefinition of 'struct vm_region'

Caused by commit f65466230e8afd45f716e5b836711ce270f45105 ("NOMMU: Make
VMAs per MM as for MMU-mode linux").

I have dropped the nommu tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-11  8:27 Stephen Rothwell
@ 2008-12-11  8:28 ` Stephen Rothwell
  2008-12-11 12:35 ` David Howells
  1 sibling, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-12-11  8:28 UTC (permalink / raw)
  To: David Howells; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

Should have been "nommu tree".
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-11  8:27 Stephen Rothwell
  2008-12-11  8:28 ` Stephen Rothwell
@ 2008-12-11 12:35 ` David Howells
  1 sibling, 0 replies; 12+ messages in thread
From: David Howells @ 2008-12-11 12:35 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: dhowells, linux-next

Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Today's linux-next build (powerpc ppc44x_config) failed like this:
> 
> arch/powerpc/lib/dma-noncoherent.c:80: error: redefinition of 'struct vm_region'
> 
> Caused by commit f65466230e8afd45f716e5b836711ce270f45105 ("NOMMU: Make
> VMAs per MM as for MMU-mode linux").

Sigh.  Someone's already taken the name vm_region for a struct.  I guess I
need to find a different name:-(

David

^ permalink raw reply	[flat|nested] 12+ messages in thread

* linux-next: scsi-post-merge tree build failure
@ 2008-12-22 14:25 Stephen Rothwell
  2008-12-22 14:51 ` Stephen Rothwell
  2008-12-22 20:56 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-12-22 14:25 UTC (permalink / raw)
  To: Paul Mackerras, Benjamin Herrenschmidt, linuxppc-dev
  Cc: linux-next, Kumar Gala

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Hi Paul, Ben,

Today's linux-next build (powerpc ppc44x_config) failed like this:

arch/powerpc/kvm/powerpc.c: In function 'kvm_arch_vcpu_put':
arch/powerpc/kvm/powerpc.c:333: error: implicit declaration of function '_tlbil_all'

Probably caused by commit 2a4aca1144394653269720ffbb5a325a77abd5fa
("powerpc/mm: Split low level tlb invalidate for nohash processors").
Reverting just that commit was too difficult, so I have reverted the
powerpc tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-22 14:25 linux-next: scsi-post-merge tree build failure Stephen Rothwell
@ 2008-12-22 14:51 ` Stephen Rothwell
  2008-12-22 20:56 ` Benjamin Herrenschmidt
  1 sibling, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-12-22 14:51 UTC (permalink / raw)
  To: Paul Mackerras, Benjamin Herrenschmidt, linuxppc-dev
  Cc: linux-next, Kumar Gala

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

I meant the powerpc tree, of course ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-22 14:25 linux-next: scsi-post-merge tree build failure Stephen Rothwell
  2008-12-22 14:51 ` Stephen Rothwell
@ 2008-12-22 20:56 ` Benjamin Herrenschmidt
  2008-12-22 23:04   ` testing (Was: Re: linux-next: scsi-post-merge tree build failure) Stephen Rothwell
  1 sibling, 1 reply; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2008-12-22 20:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Paul Mackerras, linuxppc-dev, linux-next, Kumar Gala,
	Hollis Blanchard

On Tue, 2008-12-23 at 01:25 +1100, Stephen Rothwell wrote:
> Hi Paul, Ben,
> 
> Today's linux-next build (powerpc ppc44x_config) failed like this:
> 
> arch/powerpc/kvm/powerpc.c: In function 'kvm_arch_vcpu_put':
> arch/powerpc/kvm/powerpc.c:333: error: implicit declaration of function '_tlbil_all'
> 
> Probably caused by commit 2a4aca1144394653269720ffbb5a325a77abd5fa
> ("powerpc/mm: Split low level tlb invalidate for nohash processors").
> Reverting just that commit was too difficult, so I have reverted the
> powerpc tree for today.

You can't revert that without reverting my whole series.

Adding a #include ../mm/mmu_decl.h to the kvm code should fix it for
now.

I need to talk to hollis about the right way to do that stuff in
the long run but it might be it... those _tlbil things are low level
stuff that aren't supposed to be used by the outside world which is
why I moved the declarations there, but KVM is also low level :-)

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* testing (Was: Re: linux-next: scsi-post-merge tree build failure)
  2008-12-22 20:56 ` Benjamin Herrenschmidt
@ 2008-12-22 23:04   ` Stephen Rothwell
  2008-12-23  0:19     ` Benjamin Herrenschmidt
  2008-12-23  1:52     ` Josh Boyer
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2008-12-22 23:04 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Paul Mackerras, linuxppc-dev, linux-next, Kumar Gala,
	Hollis Blanchard

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

Hi Ben,

On Tue, 23 Dec 2008 07:56:32 +1100 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> On Tue, 2008-12-23 at 01:25 +1100, Stephen Rothwell wrote:
> > Hi Paul, Ben,
> > 
> > Today's linux-next build (powerpc ppc44x_config) failed like this:
> > 
> > arch/powerpc/kvm/powerpc.c: In function 'kvm_arch_vcpu_put':
> > arch/powerpc/kvm/powerpc.c:333: error: implicit declaration of function '_tlbil_all'
> > 
> > Probably caused by commit 2a4aca1144394653269720ffbb5a325a77abd5fa
> > ("powerpc/mm: Split low level tlb invalidate for nohash processors").
> > Reverting just that commit was too difficult, so I have reverted the
> > powerpc tree for today.
> 
> You can't revert that without reverting my whole series.

I know that ... I tried.

> Adding a #include ../mm/mmu_decl.h to the kvm code should fix it for
> now.
> 
> I need to talk to hollis about the right way to do that stuff in
> the long run but it might be it... those _tlbil things are low level
> stuff that aren't supposed to be used by the outside world which is
> why I moved the declarations there, but KVM is also low level :-)

So, why is this series in powerpc/next at all if some of the modified
files haven't even been compiled?  A simple ppc44x_defconfig build of the
powerpc/next tree fails - which I would have thought would be part of the
testing since KVM is only implemented for 44x on powerpc.

(Sorry, I am annoyed - it was late when I finally found this build
failure on top of everything else.)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: testing (Was: Re: linux-next: scsi-post-merge tree build failure)
  2008-12-22 23:04   ` testing (Was: Re: linux-next: scsi-post-merge tree build failure) Stephen Rothwell
@ 2008-12-23  0:19     ` Benjamin Herrenschmidt
  2008-12-23  1:52     ` Josh Boyer
  1 sibling, 0 replies; 12+ messages in thread
From: Benjamin Herrenschmidt @ 2008-12-23  0:19 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Paul Mackerras, linuxppc-dev, linux-next, Kumar Gala,
	Hollis Blanchard

On Tue, 2008-12-23 at 10:04 +1100, Stephen Rothwell wrote:
> So, why is this series in powerpc/next at all if some of the modified
> files haven't even been compiled?  

Because nobody spotted the problem while the series was out for review ?

> A simple ppc44x_defconfig build of the
> powerpc/next tree fails - which I would have thought would be part of the
> testing since KVM is only implemented for 44x on powerpc.
> 
> (Sorry, I am annoyed - it was late when I finally found this build
> failure on top of everything else.)

I have about 3 44x configs in my build tests. KVM happens not to be
enabled in any of them :-( I'll add this ppc4xx_defconfig to the lot, I
didn't know it existed in fact.

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: testing (Was: Re: linux-next: scsi-post-merge tree build failure)
  2008-12-22 23:04   ` testing (Was: Re: linux-next: scsi-post-merge tree build failure) Stephen Rothwell
  2008-12-23  0:19     ` Benjamin Herrenschmidt
@ 2008-12-23  1:52     ` Josh Boyer
  1 sibling, 0 replies; 12+ messages in thread
From: Josh Boyer @ 2008-12-23  1:52 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Benjamin Herrenschmidt, Blanchard, Hollis, linuxppc-dev,
	linux-next, Paul Mackerras

On Tue, Dec 23, 2008 at 10:04:56AM +1100, Stephen Rothwell wrote:
>Hi Ben,
>
>On Tue, 23 Dec 2008 07:56:32 +1100 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>>
>> On Tue, 2008-12-23 at 01:25 +1100, Stephen Rothwell wrote:
>> > Hi Paul, Ben,
>> > 
>> > Today's linux-next build (powerpc ppc44x_config) failed like this:
>> > 
>> > arch/powerpc/kvm/powerpc.c: In function 'kvm_arch_vcpu_put':
>> > arch/powerpc/kvm/powerpc.c:333: error: implicit declaration of function '_tlbil_all'
>> > 
>> > Probably caused by commit 2a4aca1144394653269720ffbb5a325a77abd5fa
>> > ("powerpc/mm: Split low level tlb invalidate for nohash processors").
>> > Reverting just that commit was too difficult, so I have reverted the
>> > powerpc tree for today.
>> 
>> You can't revert that without reverting my whole series.
>
>I know that ... I tried.
>
>> Adding a #include ../mm/mmu_decl.h to the kvm code should fix it for
>> now.
>> 
>> I need to talk to hollis about the right way to do that stuff in
>> the long run but it might be it... those _tlbil things are low level
>> stuff that aren't supposed to be used by the outside world which is
>> why I moved the declarations there, but KVM is also low level :-)
>
>So, why is this series in powerpc/next at all if some of the modified
>files haven't even been compiled?  A simple ppc44x_defconfig build of the
>powerpc/next tree fails - which I would have thought would be part of the
>testing since KVM is only implemented for 44x on powerpc.

Well, they were, and then they weren't.  I tested this series starting
with the ppc44x_defconfig.  However, I was incrementally compiling them
and I also had the 16/64K pages patch applied and 64K enabled.  That
resulted in a kernel that was too big for the wrapper, so I went in
and turned some stuff off to make the kernel smaller.  That included
the KVM stuff.  By the time I was done building and testing the whole
series, it had remained disabled.

That might sound like a cop-out, but it's what happend.  I should have
done a simple build after I was done.  Sorry Stephen.

josh

^ permalink raw reply	[flat|nested] 12+ messages in thread

* linux-next: scsi-post-merge tree build failure
@ 2009-09-07 10:06 Stephen Rothwell
  2009-09-08  8:12 ` Stephen Rothwell
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2009-09-07 10:06 UTC (permalink / raw)
  To: James Bottomley
  Cc: linux-next, linux-kernel, Jayamohan Kallickal, Mike Christie

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Hi James,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/scsi/be2iscsi/be_main.c: In function 'hwi_write_buffer':
drivers/scsi/be2iscsi/be_main.c:1481: error: implicit declaration of function 'virt_to_bus'

Caused by commit 9316dc3deb9675c674f96a0c6fb74ccc6c497fae ("[SCSI]
be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver") which I have reverted
for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2009-09-07 10:06 linux-next: scsi-post-merge tree build failure Stephen Rothwell
@ 2009-09-08  8:12 ` Stephen Rothwell
  2009-09-08 15:48   ` James Bottomley
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2009-09-08  8:12 UTC (permalink / raw)
  To: James Bottomley
  Cc: linux-next, linux-kernel, Jayamohan Kallickal, Mike Christie

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

Hi James,

On Mon, 7 Sep 2009 20:06:46 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next build (powerpc allyesconfig) failed like this:
> 
> drivers/scsi/be2iscsi/be_main.c: In function 'hwi_write_buffer':
> drivers/scsi/be2iscsi/be_main.c:1481: error: implicit declaration of function 'virt_to_bus'
> 
> Caused by commit 9316dc3deb9675c674f96a0c6fb74ccc6c497fae ("[SCSI]
> be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver") which I have reverted
> for today.

The driver needs to depend on CONFIG_VIRT_TO_BUS if it needs to use
virt_to_bus().  That will prevent it from building on some platforms
(like powerpc) that do not implement virt_to_bus() and its brothers.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2009-09-08  8:12 ` Stephen Rothwell
@ 2009-09-08 15:48   ` James Bottomley
  0 siblings, 0 replies; 12+ messages in thread
From: James Bottomley @ 2009-09-08 15:48 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, Jayamohan Kallickal, Mike Christie,
	linux-scsi

On Tue, 2009-09-08 at 18:12 +1000, Stephen Rothwell wrote:
> Hi James,
> 
> On Mon, 7 Sep 2009 20:06:46 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next build (powerpc allyesconfig) failed like this:
> > 
> > drivers/scsi/be2iscsi/be_main.c: In function 'hwi_write_buffer':
> > drivers/scsi/be2iscsi/be_main.c:1481: error: implicit declaration of function 'virt_to_bus'
> > 
> > Caused by commit 9316dc3deb9675c674f96a0c6fb74ccc6c497fae ("[SCSI]
> > be2iscsi: add 10Gbps iSCSI - BladeEngine 2 driver") which I have reverted
> > for today.
> 
> The driver needs to depend on CONFIG_VIRT_TO_BUS if it needs to use
> virt_to_bus().  That will prevent it from building on some platforms
> (like powerpc) that do not implement virt_to_bus() and its brothers.

Actually, this is a modern hardware iSCSI card not some legacy piece of
hardware: it needs to use the proper API for this.

James

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-09-08 15:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22 14:25 linux-next: scsi-post-merge tree build failure Stephen Rothwell
2008-12-22 14:51 ` Stephen Rothwell
2008-12-22 20:56 ` Benjamin Herrenschmidt
2008-12-22 23:04   ` testing (Was: Re: linux-next: scsi-post-merge tree build failure) Stephen Rothwell
2008-12-23  0:19     ` Benjamin Herrenschmidt
2008-12-23  1:52     ` Josh Boyer
  -- strict thread matches above, loose matches on Subject: below --
2009-09-07 10:06 linux-next: scsi-post-merge tree build failure Stephen Rothwell
2009-09-08  8:12 ` Stephen Rothwell
2009-09-08 15:48   ` James Bottomley
2008-12-11  8:27 Stephen Rothwell
2008-12-11  8:28 ` Stephen Rothwell
2008-12-11 12:35 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).