Implement hooks called by generic KVM code.
Also add code that will copy the host's CPU and timebase frequencies to the
guest, which is necessary on KVM because the guest can directly access the
timebase.
Signed-off-by: Hollis Blanchard holl...@us.ibm.com
---
Makefile.target |3
on libfdt for flat device tree support.
Signed-off-by: Hollis Blanchard holl...@us.ibm.com
---
Makefile.target |4 ++
configure | 18
device_tree.c | 116 +++
device_tree.h | 26
libfdt_env.h| 22
:
+ * Jerone Young jyou...@us.ibm.com
+ * Christian Ehrhardt ehrha...@linux.vnet.ibm.com
+ * Hollis Blanchard holl...@us.ibm.com
+ *
+ * This work is licensed under the GNU GPL license version 2 or later.
+ *
+ */
+
+#include hw.h
+#include isa.h
+#include ppc.h
+#include ppc4xx.h
+#include
On Thu, 2008-12-11 at 15:30 -0600, Anthony Liguori wrote:
Hollis Blanchard wrote:
+int kvm_arch_get_registers(CPUState *env)
+{
+ struct kvm_regs regs;
+ uint32_t i, ret;
+
+ ret = kvm_vcpu_ioctl(env, KVM_GET_REGS, regs);
+ if (ret 0)
+ return ret;
+
+ env
On Thu, 2008-12-11 at 15:39 -0600, Anthony Liguori wrote:
Hollis Blanchard wrote:
+
+#define BINARY_DEVICE_TREE_FILE bamboo.dtb
+
+static void *bamboo_load_device_tree(void *addr,
+ uint32_t ramsize
On Wed, 2008-12-03 at 13:32 +0200, Avi Kivity wrote:
Hollis Blanchard wrote:
Hi Avi, here's the latest batch of PowerPC kernel patches.
The first set dramatically improve performance. Most importantly, we add
support for large host pages with KVM (i.e. PAGE_SHIFT 12). (Large *guest
On Wed, 2008-12-03 at 13:05 +0200, Avi Kivity wrote:
Hollis Blanchard wrote:
I'm also seeing a build dependency issue with dyngen-opc.h that I don't see
upstream. I haven't sorted that out yet, but make
qemu/ppcemb-softmmu/dyngen-opc.h first works around the problem.
Doesn't for me
From: Deepa Srinivasan [EMAIL PROTECTED]
Move the -ffreestanding compiler option (to avoid built-in functions) to the
correct place in the Makefile.
Signed-off-by: Deepa Srinivasan [EMAIL PROTECTED]
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
user/config-powerpc.mak |2 +-
1 files
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
user/main-ppc.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/user/main-ppc.c b/user/main-ppc.c
index c4ddcef..5fdf28e 100644
--- a/user/main-ppc.c
+++ b/user/main-ppc.c
@@ -69,7 +69,7 @@ static int
From: Deepa Srinivasan [EMAIL PROTECTED]
Test cases must be loaded at 1 MB, their link address.
Signed-off-by: Deepa Srinivasan [EMAIL PROTECTED]
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
user/main-ppc.c | 13 +++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff
Fixes PowerPC kvm-userspace build.
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
qemu/Makefile.target |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu/Makefile.target b/qemu/Makefile.target
index 05ace8e..bb24cc0 100644
--- a/qemu/Makefile.target
+++ b/qemu
Hi Avi, among these patches are fixes for a number of bugs in kvm-userspace,
including the qemu build break and bugs in the user directory. Please apply.
-Hollis
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info
From: Deepa Srinivasan [EMAIL PROTECTED]
Add a test program (hello world) to exercise printf() in libcflat.
Signed-off-by: Deepa Srinivasan [EMAIL PROTECTED]
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
user/config-powerpc.mak|3 ++-
user/test/powerpc/helloworld.c | 27
On Wed, 2008-12-03 at 19:34 +0100, Giuseppe Falsetti wrote:
Hollis Blanchard ha scritto:
On Mon, 2008-12-01 at 19:30 +0100, Giuseppe Falsetti wrote:
Hi Hollis,
no I don't have a 440, I have only many 970 :-|
So I can't hope that KVM will support 970 cpus? Qemu already support
On Wed, 2008-12-03 at 19:06 +0200, Avi Kivity wrote:
Hollis Blanchard wrote:
I'm not thrilled about the private exit timing statistics gathering,
hopefully it can be morphed into the more general framework.
Is there anything in particular you have in mind? I think it could
On Wed, 2008-12-03 at 13:22 -0600, Hollis Blanchard wrote:
On Wed, 2008-12-03 at 19:06 +0200, Avi Kivity wrote:
Hollis Blanchard wrote:
I'm not thrilled about the private exit timing statistics gathering,
hopefully it can be morphed into the more general framework
/
--
Hollis Blanchard
IBM Linux Technology Center
kvmppc.mbox
Description: application/mbox
On Wed, 2008-12-03 at 17:49 -0600, Hollis Blanchard wrote:
I really have to run, but what do you think about the attached patches?
I'll provide proper descriptions later but wanted to get these out for
you tonight. (You can apply with git-am or extract with mseries[1].)
Oops, forgot the last
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
qemu/hw/device_tree.c | 14 +++---
qemu/hw/device_tree.h | 12 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/qemu/hw/device_tree.c b/qemu/hw/device_tree.c
index e73129d..2621ff1 100644
--- a/qemu/hw
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
qemu/hw/ppc440_bamboo.c | 37 +
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/qemu/hw/ppc440_bamboo.c b/qemu/hw/ppc440_bamboo.c
index bf42245..79e4ea8 100644
--- a/qemu/hw
These patches fix the kvm-userspace qemu build after a recent merge with
upstream qemu.
I'm also seeing a build dependency issue with dyngen-opc.h that I don't see
upstream. I haven't sorted that out yet, but make
qemu/ppcemb-softmmu/dyngen-opc.h first works around the problem.
-Hollis
--
To
will be interested.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, 2008-11-25 at 16:32 +0800, Liu Yu wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hollis Blanchard
Sent: Tuesday, November 25, 2008 1:38 AM
To: Avi Kivity
Cc: kvm-ppc; kvm
Subject: [PATCH] kvm: ppc: stop leaking host memory
On Sat, 2008-11-22 at 13:17 -0600, Deepa Srinivasan wrote:
Add Hello world test for libcflat. Also, fix CFLAGS issue in
config-powerpc.mak.
These look good, except int main() should be int main(void). I'll
fix myself and commit.
Thanks.
--
Hollis Blanchard
IBM Linux Technology Center
Deepa, but as you described above, this really is two
separate patches. Could you submit the -ffreestanding patch separately
from the helloworld patch?
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message
. This patch assumes that Linux's PAGE_SHIFT will never be less than
12.
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
---
Only build-tested.
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
On Thu, 2008-11-13 at 08:44 +1030, Rusty Russell wrote:
Note that I still don't have a balloon patch: want to send me one?
qemu: virtio-balloon: don't use TARGET_PAGE_BITS in balloon interface
Make the balloon interface always use 4K pages.
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED
On Wed, 2008-11-12 at 22:52 +1100, Benjamin Herrenschmidt wrote:
On Wed, 2008-11-12 at 06:31 -0500, Josh Boyer wrote:
On Wed, 12 Nov 2008 15:37:43 +1100
Benjamin Herrenschmidt [EMAIL PROTECTED] wrote:
On Tue, 2008-11-11 at 18:06 -0600, Hollis Blanchard wrote:
The current CHIP11
On Mon, 2008-11-10 at 14:57 -0600, Hollis Blanchard wrote:
Hi Avi, these patches fix some minor PowerPC kernel issues, including a nasty
MMU bug that was exposed by 64K pages on the host, but could also affect 4K
pages.
Hi Avi, could you apply these patches please?
--
Hollis Blanchard
IBM
important, and I feel like we're almost there...
Thanks very much for http://kvm.qumranet.com/kvmwiki/PowerPC_Exittimings
too; that's critical data.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message
any for process B.
Signed-off-by: Hollis Blanchard [EMAIL PROTECTED]
diff --git a/arch/powerpc/include/asm/kvm_44x.h
b/arch/powerpc/include/asm/kvm_44x.h
--- a/arch/powerpc/include/asm/kvm_44x.h
+++ b/arch/powerpc/include/asm/kvm_44x.h
@@ -44,4 +44,6 @@ static inline struct kvmppc_vcpu_44x
/specific/directory.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, 2008-11-06 at 10:49 +, Mark McLoughlin wrote:
On Wed, 2008-11-05 at 22:49 -0600, Hollis Blanchard wrote:
- info-queue = kzalloc(PAGE_ALIGN(vring_size(num,PAGE_SIZE)),
GFP_KERNEL);
+ vring_bytes = PAGE_ALIGN(vring_size(num, VRING_PAGE_SIZE));
+ info-queue
deviation is huge. That suggests that the vast majority
of exits take the minimum amount of time, but a few exits take a *ton*
of time. Looking through the set of instructions we emulate on 440, it
looks like the only even slightly sophisticated ones are rfi, tlbwe, and
tlbsx...
--
Hollis Blanchard
IBM
On Thu, 2008-11-06 at 08:01 -0600, Anthony Liguori wrote:
Hollis Blanchard wrote:
# HG changeset patch
# User Hollis Blanchard [EMAIL PROTECTED]
# Date 1225946837 21600
# Node ID 43a111ea61b542d3823e2a11d017e7b06b7ec254
# Parent b63967268af119e0faa4adc3086cdef857815548
qemu: define
On Thu, 2008-11-06 at 14:02 -0600, Anthony Liguori wrote:
Hollis Blanchard wrote:
I wanted to make sure people on non-x86 architectures couldn't run into
vring-size related problems that didn't also appear on x86.
Having a VRING_SHIFT and a VRING_PAGE_SIZE where VRING_PAGE_SIZE != (1
On Fri, 2008-10-31 at 14:44 -0500, Hollis Blanchard wrote:
* Yu's idea about TLB handling was great, and I saw about a 20%
performance improvement on a couple small workloads on 440. Very
happy about that one. :)
This patch, which I'll call the direct TLB patch
it does.
Out of curiosity, if you had 4K Linux host pages, and you redefined
TARGET_PAGE_BITS to be 12, would everything just work?
Also, as long as I have you... can we use getpagesize() instead of 65536/4096
in qemu_vmalloc()?
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe
On Wed, 2008-11-05 at 08:06 -0600, Anthony Liguori wrote:
Rusty Russell wrote:
On Wednesday 05 November 2008 09:14:20 Hollis Blanchard wrote:
Hi Rusty, I'm using a patch that changes the Linux base page size to
64K. (This is actually pretty common in ppc64 world, but I happen
On Wednesday 05 November 2008 20:51:18 Liu Yu wrote:
-Original Message-
From: Hollis Blanchard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2008 11:57 PM
To: Liu Yu-B13201
Cc: kvm-ppc
Subject: cross-compiling flags?
Hi Yu, Christian tells me you have some weird
On Fri, 2008-10-31 at 12:21 -0500, Hollis Blanchard wrote:
On Sat, 2008-10-25 at 13:55 +1100, Paul Mackerras wrote:
Hollis Blanchard writes:
I've also found xmon's ppc-opc.c. That parses the opcode and operands,
so could use some shared macros.
That's a direct copy from GNU
, just an update to let folks know where things sit on the kernel
side.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo
# HG changeset patch
# User Hollis Blanchard [EMAIL PROTECTED]
# Date 1222627837 18000
# Node ID e954cb04a648e694f35e2baaa43f430ebc6b65ca
# Parent 545c3dea0b56ba996a8fcd48bdae903092319a27
kvm: ppc: Rename struct tlbe to struct kvmppc_44x_tlbe
This will ease ports to other cores.
Also remove
the index by offset or save index in vcpu-arch.
What's your opinion?
I would definitely prefer using the index as a return value, rather than
saving to vcpu-arch.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body
# HG changeset patch
# User Hollis Blanchard [EMAIL PROTECTED]
# Date 1221162418 18000
# Node ID 0f01a4354a6aac06b3fe7062e6d4ee538286c405
# Parent 34089016b7ff30a697fc67753353e893e7351daa
kvm: ppc: Move 440-specific TLB code into 44x_tlb.c
This will make it easier to provide implementations
not sure it's worth the development complexity.
I'll have to keep thinking about those other cores without directly
index-able TLBs.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED
On Wed, 2008-08-27 at 10:50 +0800, Liu Yu wrote:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hollis Blanchard
Sent: Tuesday, August 26, 2008 11:51 PM
To: Liu Yu
Cc: kvm-ppc@vger.kernel.org
Subject: RE: [PATCH 2/4] add e500 tlb
this more generic (naming) and location. I believe there
is some interesting in using the same ABI on the Freescale HV so it
seems like have the wrappers be a bit more generic saves us.
Agreed. Maybe something like epapr_hcalls.h .
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe
can't seem to remember
it now. ;) We're thinking about it.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
the corner cases
here.
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
metal benchmark results with the patch both applied and not?
--
Hollis Blanchard
IBM Linux Technology Center
--
To unsubscribe from this list: send the line unsubscribe kvm-ppc in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, 2008-08-20 at 14:52 -0400, Josh Boyer wrote:
On Wed, 2008-08-20 at 13:30 -0500, Hollis Blanchard wrote:
On Wed, 2008-08-20 at 14:53 +0200, Christian Ehrhardt wrote:
Arnd Bergmann wrote:
On Tuesday 19 August 2008, [EMAIL PROTECTED] wrote:
Dependent on the already
101 - 152 of 152 matches
Mail list logo