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; 9+ 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] 9+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-11  8:27 linux-next: scsi-post-merge tree build failure Stephen Rothwell
@ 2008-12-11  8:28 ` Stephen Rothwell
  2008-12-11 12:35 ` David Howells
  1 sibling, 0 replies; 9+ 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] 9+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2008-12-11  8:27 linux-next: scsi-post-merge tree build failure Stephen Rothwell
  2008-12-11  8:28 ` Stephen Rothwell
@ 2008-12-11 12:35 ` David Howells
  1 sibling, 0 replies; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: 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
  1 sibling, 0 replies; 9+ 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] 9+ messages in thread

* Re: 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
  1 sibling, 0 replies; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

* Re: linux-next: scsi-post-merge tree build failure
  2009-09-07 10:06 Stephen Rothwell
@ 2009-09-08  8:12 ` Stephen Rothwell
  2009-09-08 15:48   ` James Bottomley
  0 siblings, 1 reply; 9+ 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] 9+ 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; 9+ 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] 9+ messages in thread

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

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

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).