* [Qemu-devel] [PATCH 1/4] target-ppc: POWER8 supports the MSR_LE bit
@ 2014-03-06 4:49 Anton Blanchard
2014-03-06 4:50 ` [Qemu-devel] [PATCH 2/4] target-ppc: POWER8 supports isel Anton Blanchard
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Anton Blanchard @ 2014-03-06 4:49 UTC (permalink / raw)
To: qemu-devel, qemu-ppc
Add MSR_LE to the msr_mask for POWER8.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 3eafbb0..7661543 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7173,7 +7173,7 @@ POWERPC_FAMILY(POWER8)(ObjectClass *oc, void *data)
PPC2_ATOMIC_ISA206 | PPC2_FP_CVT_ISA206 |
PPC2_FP_TST_ISA206 | PPC2_BCTAR_ISA207 |
PPC2_LSQ_ISA207 | PPC2_ALTIVEC_207;
- pcc->msr_mask = 0x800000000284FF36ULL;
+ pcc->msr_mask = 0x800000000284FF37ULL;
pcc->mmu_model = POWERPC_MMU_2_06;
#if defined(CONFIG_SOFTMMU)
pcc->handle_mmu_fault = ppc_hash64_handle_mmu_fault;
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 2/4] target-ppc: POWER8 supports isel
2014-03-06 4:49 [Qemu-devel] [PATCH 1/4] target-ppc: POWER8 supports the MSR_LE bit Anton Blanchard
@ 2014-03-06 4:50 ` Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 3/4] target-ppc: POWER7+ supports the MSR_VSX bit Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 4/4] target-ppc: MSR_POW not supported on POWER7/7+/8 Anton Blanchard
2 siblings, 0 replies; 4+ messages in thread
From: Anton Blanchard @ 2014-03-06 4:50 UTC (permalink / raw)
To: qemu-devel, qemu-ppc
POWER8 supports isel, so enable it in QEMU.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 3eafbb0..7661543 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7156,7 +7156,7 @@ POWERPC_FAMILY(POWER8)(ObjectClass *oc, void *data)
pcc->pvr_mask = CPU_POWERPC_POWER8_MASK;
pcc->init_proc = init_proc_POWER8;
pcc->check_pow = check_pow_nocheck;
- pcc->insns_flags = PPC_INSNS_BASE | PPC_STRING | PPC_MFTB |
+ pcc->insns_flags = PPC_INSNS_BASE | PPC_ISEL | PPC_STRING | PPC_MFTB |
PPC_FLOAT | PPC_FLOAT_FSEL | PPC_FLOAT_FRES |
PPC_FLOAT_FSQRT | PPC_FLOAT_FRSQRTE |
PPC_FLOAT_FRSQRTES |
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 3/4] target-ppc: POWER7+ supports the MSR_VSX bit
2014-03-06 4:49 [Qemu-devel] [PATCH 1/4] target-ppc: POWER8 supports the MSR_LE bit Anton Blanchard
2014-03-06 4:50 ` [Qemu-devel] [PATCH 2/4] target-ppc: POWER8 supports isel Anton Blanchard
@ 2014-03-06 4:51 ` Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 4/4] target-ppc: MSR_POW not supported on POWER7/7+/8 Anton Blanchard
2 siblings, 0 replies; 4+ messages in thread
From: Anton Blanchard @ 2014-03-06 4:51 UTC (permalink / raw)
To: qemu-devel, qemu-ppc
Without MSR_VSX we die early during a Linux boot.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: b/target-ppc/translate_init.c
===================================================================
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7117,7 +7117,7 @@ POWERPC_FAMILY(POWER7P)(ObjectClass *oc,
PPC2_PERM_ISA206 | PPC2_DIVE_ISA206 |
PPC2_ATOMIC_ISA206 | PPC2_FP_CVT_ISA206 |
PPC2_FP_TST_ISA206;
- pcc->msr_mask = 0x800000000204FF37ULL;
+ pcc->msr_mask = 0x800000000284FF37ULL;
pcc->mmu_model = POWERPC_MMU_2_06;
#if defined(CONFIG_SOFTMMU)
pcc->handle_mmu_fault = ppc_hash64_handle_mmu_fault;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 4/4] target-ppc: MSR_POW not supported on POWER7/7+/8
2014-03-06 4:49 [Qemu-devel] [PATCH 1/4] target-ppc: POWER8 supports the MSR_LE bit Anton Blanchard
2014-03-06 4:50 ` [Qemu-devel] [PATCH 2/4] target-ppc: POWER8 supports isel Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 3/4] target-ppc: POWER7+ supports the MSR_VSX bit Anton Blanchard
@ 2014-03-06 4:51 ` Anton Blanchard
2 siblings, 0 replies; 4+ messages in thread
From: Anton Blanchard @ 2014-03-06 4:51 UTC (permalink / raw)
To: qemu-devel, qemu-ppc
Remove MSR_POW from the msr_mask for POWER7/7+/8.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: b/target-ppc/translate_init.c
===================================================================
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -7074,7 +7074,7 @@ POWERPC_FAMILY(POWER7)(ObjectClass *oc,
PPC2_PERM_ISA206 | PPC2_DIVE_ISA206 |
PPC2_ATOMIC_ISA206 | PPC2_FP_CVT_ISA206 |
PPC2_FP_TST_ISA206;
- pcc->msr_mask = 0x800000000284FF37ULL;
+ pcc->msr_mask = 0x800000000280FF37ULL;
pcc->mmu_model = POWERPC_MMU_2_06;
#if defined(CONFIG_SOFTMMU)
pcc->handle_mmu_fault = ppc_hash64_handle_mmu_fault;
@@ -7117,7 +7117,7 @@ POWERPC_FAMILY(POWER7P)(ObjectClass *oc,
PPC2_PERM_ISA206 | PPC2_DIVE_ISA206 |
PPC2_ATOMIC_ISA206 | PPC2_FP_CVT_ISA206 |
PPC2_FP_TST_ISA206;
- pcc->msr_mask = 0x800000000284FF37ULL;
+ pcc->msr_mask = 0x800000000280FF37ULL;
pcc->mmu_model = POWERPC_MMU_2_06;
#if defined(CONFIG_SOFTMMU)
pcc->handle_mmu_fault = ppc_hash64_handle_mmu_fault;
@@ -7173,7 +7173,7 @@ POWERPC_FAMILY(POWER8)(ObjectClass *oc,
PPC2_ATOMIC_ISA206 | PPC2_FP_CVT_ISA206 |
PPC2_FP_TST_ISA206 | PPC2_BCTAR_ISA207 |
PPC2_LSQ_ISA207 | PPC2_ALTIVEC_207;
- pcc->msr_mask = 0x800000000284FF37ULL;
+ pcc->msr_mask = 0x800000000280FF37ULL;
pcc->mmu_model = POWERPC_MMU_2_06;
#if defined(CONFIG_SOFTMMU)
pcc->handle_mmu_fault = ppc_hash64_handle_mmu_fault;
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-03-06 4:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 4:49 [Qemu-devel] [PATCH 1/4] target-ppc: POWER8 supports the MSR_LE bit Anton Blanchard
2014-03-06 4:50 ` [Qemu-devel] [PATCH 2/4] target-ppc: POWER8 supports isel Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 3/4] target-ppc: POWER7+ supports the MSR_VSX bit Anton Blanchard
2014-03-06 4:51 ` [Qemu-devel] [PATCH 4/4] target-ppc: MSR_POW not supported on POWER7/7+/8 Anton Blanchard
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).