[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/41] target/ppc: 405: Add missing MSR_ME bit
From: |
Cédric Le Goater |
Subject: |
[PULL 15/41] target/ppc: 405: Add missing MSR_ME bit |
Date: |
Mon, 31 Jan 2022 12:07:45 +0100 |
From: Fabiano Rosas <farosas@linux.ibm.com>
The 405 MSR has the Machine Check Enable bit. We're making use of it
when dispatching Machine Check, so add the bit to the msr_mask.
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220118184448.852996-3-farosas@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
target/ppc/cpu_init.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c
index e63705b1c6b2..23a13036b211 100644
--- a/target/ppc/cpu_init.c
+++ b/target/ppc/cpu_init.c
@@ -2540,6 +2540,7 @@ POWERPC_FAMILY(405)(ObjectClass *oc, void *data)
(1ull << MSR_EE) |
(1ull << MSR_PR) |
(1ull << MSR_FP) |
+ (1ull << MSR_ME) |
(1ull << MSR_DWE) |
(1ull << MSR_DE) |
(1ull << MSR_IR) |
--
2.34.1
- Re: [PULL 02/41] target/ppc: 603: fix restore of GPRs 0-3 on rfi, (continued)
[PULL 17/41] target/ppc: Simplify powerpc_excp_40x, Cédric Le Goater, 2022/01/31
[PULL 08/41] target/ppc: fix 'skip KVM' cond in cpu_interrupt_exittb(), Cédric Le Goater, 2022/01/31
[PULL 34/41] target/ppc: Simplify powerpc_excp_74xx, Cédric Le Goater, 2022/01/31
[PULL 31/41] target/ppc: books: External interrupt cleanup, Cédric Le Goater, 2022/01/31
[PULL 22/41] target/ppc: 405: Alignment exception cleanup, Cédric Le Goater, 2022/01/31
[PULL 20/41] target/ppc: 405: External exception cleanup, Cédric Le Goater, 2022/01/31
[PULL 13/41] ppc/ppc405: Fix TLB flushing, Cédric Le Goater, 2022/01/31
[PULL 04/41] ppc/pnv: Fail DMA access if page permissions are not correct, Cédric Le Goater, 2022/01/31
[PULL 15/41] target/ppc: 405: Add missing MSR_ME bit,
Cédric Le Goater <=
[PULL 36/41] target/ppc: 74xx: External interrupt cleanup, Cédric Le Goater, 2022/01/31
[PULL 03/41] target/ppc/mmu_common: Fix SRR1/MSR error code on Book-E, Cédric Le Goater, 2022/01/31
Re: [PULL 00/41] ppc queue, Peter Maydell, 2022/01/31