Skip to contentSkip to conversation

linux-next: build failure after merge of the rcu tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Dec 10, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Paul,

After merging the rcu tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

In file included from arch/powerpc/include/asm/kvm_ppc.h:30:0,

                 from arch/powerpc/kernel/setup_64.c:68:
include/linux/kvm_host.h:366:21: error: field 'srcu' has incomplete type
  struct srcu_struct srcu;
                     ^
include/linux/kvm_host.h:367:21: error: field 'irq_srcu' has incomplete type
  struct srcu_struct irq_srcu;
                     ^

Presumably caused by commit 6e8ef258b669 ("srcu: Isolate srcu sections using CONFIG_SRCU").

I have reverted that commit again for today - more work required ...

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi Paul,

After merging the rcu tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

In file included from arch/powerpc/include/asm/kvm_ppc.h:30:0,

                 from arch/powerpc/kernel/setup_64.c:68:
include/linux/kvm_host.h:366:21: error: field 'srcu' has incomplete type
  struct srcu_struct srcu;
                     ^
include/linux/kvm_host.h:367:21: error: field 'irq_srcu' has incomplete type
  struct srcu_struct irq_srcu;
                     ^
Quoted 5 lines

Presumably caused by commit 6e8ef258b669 ("srcu: Isolate srcu sections using CONFIG_SRCU").

I have reverted that commit again for today - more work required ...

Looks like there are other places which use KVM unconditionally. I will try to look and fix such uses.

Paul, can you drop the patch until then? Thanks!
--
Pranith

#2 lore raw
Quoted 18 lines · Pranith Kumar
Quoted 17 lines · Stephen Rothwell

Hi Paul,

After merging the rcu tree, today's linux-next build (powerpc64 allnoconfig) failed like this:

In file included from arch/powerpc/include/asm/kvm_ppc.h:30:0,

                 from arch/powerpc/kernel/setup_64.c:68:
include/linux/kvm_host.h:366:21: error: field 'srcu' has incomplete type
  struct srcu_struct srcu;
                     ^
include/linux/kvm_host.h:367:21: error: field 'irq_srcu' has incomplete type
  struct srcu_struct irq_srcu;
                     ^

Presumably caused by commit 6e8ef258b669 ("srcu: Isolate srcu sections using CONFIG_SRCU").

Quoted 6 lines
Quoted 2 lines

I have reverted that commit again for today - more work required ...

Looks like there are other places which use KVM unconditionally. I will try to look and fix such uses.

Paul, can you drop the patch until then? Thanks!

Done!

Thanx, Paul