Skip to contentSkip to conversation

linux-next: build failure after merge of the kvm-arm tree

DISCUSSION Stephen Rothwell 4 participants 7 messages Sep 22, 2014 – Sep 24, 2014 1 message not in the archive Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':
arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function 'kvm_vcpu_request_scan_ioapic' [-Werror=implicit-function-declaration]
kvm_vcpu_request_scan_ioapic(kvm);
^

Probably caused by commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h").

I have used the kvm-arm tree from next-20140919 for today.

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

Dear all,

Thanks Stephen for reporting the problem. Indeed removing irq.h header file is no more possible since commit c77dcacb397519b6ade8f08201a4a90a7f4f751e, "KVM: Move more code under CONFIG_HAVE_KVM_IRQFD" which moves among other things kvm_register_irq_ack_notifier and kvm_unregister_irq_ack_notifier in eventfd.c.

including virt/kvm/ioapic.h might fix the problem but I am OoO next week and cannot investigate further right now.

Please can you remove that commit. Sorry for the inconvenience.

Best Regards

Eric

Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':
arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function 'kvm_vcpu_request_scan_ioapic' [-Werror=implicit-function-declaration]
kvm_vcpu_request_scan_ioapic(kvm);
^

Probably caused by commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h").

I have used the kvm-arm tree from next-20140919 for today.

#2 lore raw
Quoted 8 lines · Eric Auger

Dear all,

Thanks Stephen for reporting the problem. Indeed removing irq.h header file is no more possible since commit c77dcacb397519b6ade8f08201a4a90a7f4f751e, "KVM: Move more code under CONFIG_HAVE_KVM_IRQFD" which moves among other things kvm_register_irq_ack_notifier and kvm_unregister_irq_ack_notifier in eventfd.c.

Hi,

kvm_register_irq_ack_notifier and kvm_unregister_irq_ack_notifier were already included in Paul's patch,
commit e4d57e1ee1ab59f0cef0272800ac6c52e0ec814a, KVM: Move irq notifier implementation into eventfd.c and just moved in above patch.

So I completely missed this ioapic function.

You can remove my commit. No commit does depend on it yet.

Thanks

Eric

Quoted 28 lines

including virt/kvm/ioapic.h might fix the problem but I am OoO next week and cannot investigate further right now.

Please can you remove that commit. Sorry for the inconvenience.

Best Regards

Eric

Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':
arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function 'kvm_vcpu_request_scan_ioapic' [-Werror=implicit-function-declaration]
kvm_vcpu_request_scan_ioapic(kvm);
^

Probably caused by commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h").

I have used the kvm-arm tree from next-20140919 for today.

A message that is not in the archive (sent off-list or not yet received): CAEDV+g+qVgG+=1Q7gBCPs8oAjK8rpzpoQ2cPMF0hi5Q1M3Nckw@mail.gmail.com

#4 lore raw

Il 22/09/2014 21:46, Christoffer Dall ha scritto:

Quoted 5 lines

I've taken a stab at fixing this properly, can you have a quick look and let me know if you prefer this or if I should just revert the commit?

https://git.linaro.org/people/christoffer.dall/linux-kvm-arm.git/commit/3d2603609f2adaae85dd1ef9884270331ec120e3

I think you should include ioapic.h (under #ifdef __KVM_HAVE_IOAPIC as in your patch), not irq.h. However, I haven't compiled it. Please send the patch for inclusion in my tree, and I'll fix the conflict when I pull from you.

Paolo

#5 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 11 lines · On Mon, 22 Sep 2014 14:06:45 +1000 Stephen Rothwell <[email protected]>…

Hi all,

After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':
arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function 'kvm_vcpu_request_scan_ioapic' [-Werror=implicit-function-declaration]
kvm_vcpu_request_scan_ioapic(kvm);
^

Quoted 4 lines

Probably caused by commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h").

I have used the kvm-arm tree from next-20140919 for today.

Still getting this failure.

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

Hi all,

Quoted 11 lines · On Mon, 22 Sep 2014 14:06:45 +1000 Stephen Rothwell <[email protected]>…

Hi all,

After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':
arch/x86/kvm/../../../virt/kvm/eventfd.c:493:2: error: implicit declaration of function 'kvm_vcpu_request_scan_ioapic' [-Werror=implicit-function-declaration]
kvm_vcpu_request_scan_ioapic(kvm);
^

Quoted 7 lines
Quoted 4 lines

Probably caused by commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h").

I have used the kvm-arm tree from next-20140919 for today.

Still getting this failure.

Commit e9142e3b69c2ae8a699463e219e5b029ff0d652b in kvm/queue fixes this, but it hasn't gone to next yet.

Paolo, I know there's a scary commit in queue but there's a bunch of scary stuff in the kvmarm/next too that I'd like to see in next, any chance you can put a subset of queue into next?

Thanks,
-Christoffer

#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 24/09/2014 09:06, Christoffer Dall ha scritto:

Quoted 8 lines
Quoted 2 lines
Quoted 2 lines

Still getting this failure.

Commit e9142e3b69c2ae8a699463e219e5b029ff0d652b in kvm/queue fixes this, but it hasn't gone to next yet.

Paolo, I know there's a scary commit in queue but there's a bunch of scary stuff in the kvmarm/next too that I'd like to see in next, any chance you can put a subset of queue into next?

Yes, I will put the commit in next and rebase queue on top of it.

Paolo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUIpdYAAoJEBvWZb6bTYbyAkwP/jwno7pOt/sHUaa+p45Uouse oFS2aej8ZVLz3LMy6KjFuIME1bJjQytIZrFaGn+UksGd6cfhECydVO8hlJxWUDbc PrWpnwzX/u4sorewmX+hq9EoFBfIEzC86NyrUaujiL6ojLjoJ4mkoRc9LRCm/K7j dPJFGEQqifs0HelWSQPxH4ei/YyHk/TcaKgepQGlG4Aw/crLHmEajbrnGLge7isW H/EtBW5iJToG8mxB+ipSwFCADUkXC+FUrEblX5Nxma/949roXg8LPuZUBxCxWwyr Voi5/lU1sZMRYixoCHhhKaWPDfoSspjPU4JNEUMj4qtrZrBD9W27+bjyQBTdLjU7 erI1pQCmZsU52RdAtZiUBuSbRxb8is+WlRHJy7dhlb+SBcgXNWw/k9sxV2U6PZ+T Z4A0ngZM12ZTd6XWgiE+3mMR0XGBsjh7TYq+ybQReCgKeNy/Q3FL6fS4E9me7MWF CWIfqV327GYfH/eU8Bd1/VHGEZfDefDXZrdANa+A5FhaGTLIZbPHfEo2BCc85LhS RRlKjIg1LeByCHDRaQ8parl0xgZRLuENfHn5gso4ZsAKgLyUp8IIGanxH8GD2sRO F2AtAFfLSlXUo/FsxaW0bQOxnBB9L/UX5QmMT/YwG7QoP97Wa4fDBV1ruHTiJ9SO s/nkZE3pcbAFSv/0rXlG
=ln4T
-----END PGP SIGNATURE-----