* [Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init
@ 2010-01-27 6:14 Liu Yu
2010-01-27 6:42 ` [Qemu-devel] " Hollis Blanchard
2010-02-27 15:27 ` [Qemu-devel] " Aurelien Jarno
0 siblings, 2 replies; 3+ messages in thread
From: Liu Yu @ 2010-01-27 6:14 UTC (permalink / raw)
To: hollis; +Cc: Liu Yu, qemu-devel
So that the following registers init could be flushed back to kvm.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
---
hw/ppc440_bamboo.c | 2 ++
hw/ppce500_mpc8544ds.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
index 1ab9872..1b9ec17 100644
--- a/hw/ppc440_bamboo.c
+++ b/hw/ppc440_bamboo.c
@@ -160,6 +160,8 @@ static void bamboo_init(ram_addr_t ram_size,
exit(1);
}
+ cpu_synchronize_state(env);
+
/* Set initial guest state. */
env->gpr[1] = (16<<20) - 8;
env->gpr[3] = dt_base;
diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
index ea30816..fabcf31 100644
--- a/hw/ppce500_mpc8544ds.c
+++ b/hw/ppce500_mpc8544ds.c
@@ -261,6 +261,8 @@ static void mpc8544ds_init(ram_addr_t ram_size,
exit(1);
}
+ cpu_synchronize_state(env);
+
/* Set initial guest state. */
env->gpr[1] = (16<<20) - 8;
env->gpr[3] = dt_base;
--
1.6.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: [PATCH] kvm/booke: Add synchronize register for booke init
2010-01-27 6:14 [Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init Liu Yu
@ 2010-01-27 6:42 ` Hollis Blanchard
2010-02-27 15:27 ` [Qemu-devel] " Aurelien Jarno
1 sibling, 0 replies; 3+ messages in thread
From: Hollis Blanchard @ 2010-01-27 6:42 UTC (permalink / raw)
To: Liu Yu; +Cc: qemu-devel
On Tue, Jan 26, 2010 at 10:14 PM, Liu Yu <yu.liu@freescale.com> wrote:
> So that the following registers init could be flushed back to kvm.
>
> Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Hollis Blanchard <hollis@penguinppc.org>
Thanks Yu.
-Hollis
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init
2010-01-27 6:14 [Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init Liu Yu
2010-01-27 6:42 ` [Qemu-devel] " Hollis Blanchard
@ 2010-02-27 15:27 ` Aurelien Jarno
1 sibling, 0 replies; 3+ messages in thread
From: Aurelien Jarno @ 2010-02-27 15:27 UTC (permalink / raw)
To: Liu Yu; +Cc: qemu-devel, hollis
On Wed, Jan 27, 2010 at 02:14:09PM +0800, Liu Yu wrote:
> So that the following registers init could be flushed back to kvm.
>
> Signed-off-by: Liu Yu <yu.liu@freescale.com>
Thanks, applied.
> ---
> hw/ppc440_bamboo.c | 2 ++
> hw/ppce500_mpc8544ds.c | 2 ++
> 2 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c
> index 1ab9872..1b9ec17 100644
> --- a/hw/ppc440_bamboo.c
> +++ b/hw/ppc440_bamboo.c
> @@ -160,6 +160,8 @@ static void bamboo_init(ram_addr_t ram_size,
> exit(1);
> }
>
> + cpu_synchronize_state(env);
> +
> /* Set initial guest state. */
> env->gpr[1] = (16<<20) - 8;
> env->gpr[3] = dt_base;
> diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c
> index ea30816..fabcf31 100644
> --- a/hw/ppce500_mpc8544ds.c
> +++ b/hw/ppce500_mpc8544ds.c
> @@ -261,6 +261,8 @@ static void mpc8544ds_init(ram_addr_t ram_size,
> exit(1);
> }
>
> + cpu_synchronize_state(env);
> +
> /* Set initial guest state. */
> env->gpr[1] = (16<<20) - 8;
> env->gpr[3] = dt_base;
> --
> 1.6.4
>
>
>
>
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-27 15:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 6:14 [Qemu-devel] [PATCH] kvm/booke: Add synchronize register for booke init Liu Yu
2010-01-27 6:42 ` [Qemu-devel] " Hollis Blanchard
2010-02-27 15:27 ` [Qemu-devel] " Aurelien Jarno
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).