[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 05/11] PPC64: Nop some SPRs on 970fx
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 05/11] PPC64: Nop some SPRs on 970fx |
Date: |
Sat, 7 Mar 2009 20:08:46 +0100 |
Linux tries to access some SPRs on PPC64 boot. Let's just ignore those
for the 970fx for now to make it happy.
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/translate_init.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 6b7ab98..42e62be 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -6043,6 +6043,18 @@ static void init_proc_970FX (CPUPPCState *env)
SPR_NOACCESS, SPR_NOACCESS,
&spr_read_hior, &spr_write_hior,
0x00000000);
+ spr_register(env, SPR_CTRL, "SPR_CTRL",
+ SPR_NOACCESS, SPR_NOACCESS,
+ &spr_read_generic, &spr_write_generic,
+ 0x00000000);
+ spr_register(env, SPR_UCTRL, "SPR_UCTRL",
+ SPR_NOACCESS, SPR_NOACCESS,
+ &spr_read_generic, &spr_write_generic,
+ 0x00000000);
+ spr_register(env, SPR_VRSAVE, "SPR_VRSAVE",
+ &spr_read_generic, &spr_write_generic,
+ &spr_read_generic, &spr_write_generic,
+ 0x00000000);
#if !defined(CONFIG_USER_ONLY)
env->slb_nr = 32;
#endif
--
1.6.0.2
- [Qemu-devel] [PATCH 00/11] PPC64 Linux bringup patches v4, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 01/11] PPC64: Implement slbmte, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 02/11] PPC64: Implement large pages, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 03/11] PPC64: Implment tlbiel, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 04/11] Activate uninorth AGP bridge, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 05/11] PPC64: Nop some SPRs on 970fx,
Alexander Graf <=
- [Qemu-devel] [PATCH 06/11] PPC64: Enable 64bit mode on interrupts, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 07/11] PPC64: Implement mtfsf.L encoding, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 08/11] PPC64: Fix RFI(d), Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 09/11] PPC64: Fix NX bit, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 10/11] PPC64: Keep SLB in-CPU, Alexander Graf, 2009/03/07
- [Qemu-devel] [PATCH 11/11] PPC64: Disable BAT for 970, Alexander Graf, 2009/03/07
[Qemu-devel] Re: [PATCH 00/11] PPC64 Linux bringup patches v4, Blue Swirl, 2009/03/07