* [Qemu-devel] [PATCH]booke: Use MMU API for creating initial mapping for secondary cpus
@ 2012-03-23 4:21 Bharat Bhushan
0 siblings, 0 replies; 2+ messages in thread
From: Bharat Bhushan @ 2012-03-23 4:21 UTC (permalink / raw)
To: qemu-devel; +Cc: scottwood, Bharat Bhushan, stuart.yoder, agraf
Initial Mapping creation for secondary CPU in SMP was missing new MMU API.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
hw/ppce500_spin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 6b8a189..e8cf154 100644
--- a/hw/ppce500_spin.c
+++ b/hw/ppce500_spin.c
@@ -86,6 +86,7 @@ static void mmubooke_create_initial_mapping(CPUState *env,
tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M;
tlb->mas7_3 = pa & TARGET_PAGE_MASK;
tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX;
+ env->tlb_dirty = true;
}
static void spin_kick(void *data)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Qemu-devel] [PATCH]booke:Use MMU API for creating initial mapping for secondary cpus
@ 2012-03-27 3:56 Bharat Bhushan
0 siblings, 0 replies; 2+ messages in thread
From: Bharat Bhushan @ 2012-03-27 3:56 UTC (permalink / raw)
To: qemu-devel, qemu-ppc; +Cc: scottwood, Bharat Bhushan, stuart.yoder, agraf
Initial Mapping creation for secondary CPU in SMP was missing new MMU API.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
---
hw/ppce500_spin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/ppce500_spin.c b/hw/ppce500_spin.c
index 6b8a189..e8cf154 100644
--- a/hw/ppce500_spin.c
+++ b/hw/ppce500_spin.c
@@ -86,6 +86,7 @@ static void mmubooke_create_initial_mapping(CPUState *env,
tlb->mas2 = (va & TARGET_PAGE_MASK) | MAS2_M;
tlb->mas7_3 = pa & TARGET_PAGE_MASK;
tlb->mas7_3 |= MAS3_UR | MAS3_UW | MAS3_UX | MAS3_SR | MAS3_SW | MAS3_SX;
+ env->tlb_dirty = true;
}
static void spin_kick(void *data)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-27 4:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-27 3:56 [Qemu-devel] [PATCH]booke:Use MMU API for creating initial mapping for secondary cpus Bharat Bhushan
-- strict thread matches above, loose matches on Subject: below --
2012-03-23 4:21 [Qemu-devel] [PATCH]booke: Use " Bharat Bhushan
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).