Skip to contentSkip to conversation

Add E500 support in KVM

PATCH In review Liu Yu 2 participants 5 messages Dec 11, 2008 – Dec 16, 2008

lore
Share & tools
lore

Liu Yu

author
#0 lore raw

cover Add E500 support in KVM

This patch set add E500 support in KVM,
and is already based on Hollis's feedback (a patchset which not yet commit)

btw: The latest code seems broken with this error.
---
CC arch/powerpc/kvm/../../../virt/kvm/kvm_main.o
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c: In function ‘make_all_cpus_request’:
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:577: error: implicit declaration of function ‘smp_call_function_many’ make[1]: *** [arch/powerpc/kvm/../../../virt/kvm/kvm_main.o] Error 1
make: *** [arch/powerpc/kvm] Error 2
--

Fortunately, I could test these patch based on a commit a couple of days ago.

#1 lore raw
Quoted 11 lines · Liu Yu

This patch set add E500 support in KVM,
and is already based on Hollis's feedback (a patchset which not yet commit)

btw: The latest code seems broken with this error.
---
CC arch/powerpc/kvm/../../../virt/kvm/kvm_main.o
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c: In function ‘make_all_cpus_request’:
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:577: error: implicit declaration of function ‘smp_call_function_many’ make[1]: *** [arch/powerpc/kvm/../../../virt/kvm/kvm_main.o] Error 1
make: *** [arch/powerpc/kvm] Error 2
--

Looks like this problem was introduced Monday. I submitted a fix for it a couple hours ago, but forgot to copy kvm-ppc (sorry). Hopefully it will go in soon.

Quoted 1 line

Fortunately, I could test these patch based on a commit a couple of days ago.

Great.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center
#2 lore raw
In reply to Liu Yu
Quoted 2 lines · Liu Yu

This patch set add E500 support in KVM,
and is already based on Hollis's feedback (a patchset which not yet commit)

I'm fairly happy with this series, aside from the mostly minor comments I've made so far. It's definitely a plus that you've managed not to break 440 while writing this code, congratulations. :) If you're able to revise them, I think we can commit these patches this week.

By the way, have you looked into reserving enough host memory to use large pages for the guest kernel mapping? That will be critical to getting good performance.

Also, do you have any qemu patches?

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center
author
#3 lore raw
In reply to Liu Yu
Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Hollis Blanchard
Sent: Tuesday, December 16, 2008 9:42 AM
To: Liu Yu-B13201
Cc: [email protected]
Subject: Re: [PATCH 0/11] Add E500 support in KVM

Quoted 2 lines · Liu Yu

This patch set add E500 support in KVM,
and is already based on Hollis's feedback (a patchset which

not yet commit)

I'm fairly happy with this series, aside from the mostly minor comments I've made so far.

...

Quoted 8 lines

It's definitely a plus that you've managed not to
break 440 while writing this code, congratulations. :) If you're able to
revise them, I think we can commit these patches this week.

By the way, have you looked into reserving enough host memory to use large pages for the guest kernel mapping? That will be critical to getting good performance.

Not yet.

Quoted 3 lines

Also, do you have any qemu patches?

Still under process.

#4 lore raw
In reply to Liu Yu
Quoted 2 lines · Liu Yu

This patch set add E500 support in KVM,
and is already based on Hollis's feedback (a patchset which not yet commit)

For your convenience, I've published the latest supporting changes I made at http://penguinppc.org/~hollisb/kvm/ . Some of these patches are 44x patches that you don't need, but they won't hurt anything to apply them. Some of them are patches that have already been committed in other trees, but haven't get arrived in kvm.git.

At any rate, you should be able to base your next set of patches on that.

Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center