[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 19/21] PPC: e500: fix mpic_iack address
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 19/21] PPC: e500: fix mpic_iack address |
Date: |
Fri, 25 Jan 2013 13:53:02 +0100 |
From: Scott Wood <address@hidden>
MPIC+0xa0 is IACK for the current CPU. MPIC+0x200a0 is IACK for CPU 0.
This fix allows EPR to work with an SMP target.
Signed-off-by: Scott Wood <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>
---
hw/ppc/e500.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index 9ccf4d1..530f929 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -505,7 +505,7 @@ void ppce500_init(PPCE500Params *params)
irqs[i][OPENPIC_OUTPUT_CINT] = input[PPCE500_INPUT_CINT];
env->spr[SPR_BOOKE_PIR] = cs->cpu_index = i;
env->mpic_iack = MPC8544_CCSRBAR_BASE +
- MPC8544_MPIC_REGS_OFFSET + 0x200A0;
+ MPC8544_MPIC_REGS_OFFSET + 0xa0;
ppc_booke_timers_init(cpu, 400000000, PPC_TIMER_E500);
--
1.6.0.2
- [Qemu-ppc] [PATCH 12/21] cuda: Move ADB bus into CUDA state, (continued)
- [Qemu-ppc] [PATCH 12/21] cuda: Move ADB bus into CUDA state, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 04/21] macio: Split MacIO in two, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 14/21] pseries: Improve handling of multiple PCI host bridges, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 09/21] cuda: QOM'ify CUDA, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 21/21] PPC: Move ppc specific hw emulation to hw/ppc, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 20/21] PPC: e500: Select MPIC v4.2 on ppce500 platform, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 18/21] openpic: add basic support for MPIC v4.2, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 19/21] PPC: e500: fix mpic_iack address,
Alexander Graf <=
- [Qemu-ppc] [PATCH 16/21] openpic: fix remaining issues from idr-to-destmask conversion, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 17/21] openpic: fix timer address decoding, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 11/21] adb: QOM'ify ADB devices, Alexander Graf, 2013/01/25
- [Qemu-ppc] [PATCH 02/21] macio: QOM'ify some more, Alexander Graf, 2013/01/25