[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 4/8] PPC: Fix booke206 TLB with phys addrs > 32bit
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PULL 4/8] PPC: Fix booke206 TLB with phys addrs > 32bit |
Date: |
Tue, 8 Jul 2014 12:20:14 +0200 |
We were truncating physical addresses to 32bit when using qemu-system-ppc
with a booke206 TLB implementation. This patch fixes that and makes the full
address space available.
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/mmu_helper.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c
index 4d6b1e2..4a34a73 100644
--- a/target-ppc/mmu_helper.c
+++ b/target-ppc/mmu_helper.c
@@ -897,10 +897,10 @@ static hwaddr booke206_tlb_to_page_size(CPUPPCState *env,
/* TLB check function for MAS based SoftTLBs */
static int ppcmas_tlb_check(CPUPPCState *env, ppcmas_tlb_t *tlb,
- hwaddr *raddrp,
- target_ulong address, uint32_t pid)
+ hwaddr *raddrp, target_ulong address,
+ uint32_t pid)
{
- target_ulong mask;
+ hwaddr mask;
uint32_t tlb_pid;
if (!msr_cm) {
--
1.8.1.4
- [Qemu-devel] [PULL 2.1 0/8] ppc patch queue 2014-07-08, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 7/8] target-ppc: Remove POWER7+ and POWER8E families, Alexander Graf, 2014/07/08
- Re: [Qemu-devel] [PULL 2.1 0/8] ppc patch queue 2014-07-08, Peter Maydell, 2014/07/08
- [Qemu-devel] [PULL 5/8] pseries: Update SLOF firmware image to qemu-slof-20140630, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 4/8] PPC: Fix booke206 TLB with phys addrs > 32bit,
Alexander Graf <=
- [Qemu-devel] [PULL 3/8] target-ppc: Fix gdbstub for ppc64le-linux-user, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 8/8] PPC: e500: Actually install u-boot.e500, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 2/8] target-ppc: Change default cpu for ppc64le-linux-user, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 1/8] target-ppc: KVMPPC_H_CAS fix cpu-version endianess, Alexander Graf, 2014/07/08
- [Qemu-devel] [PULL 6/8] target-ppc: Add pvr_match() callback, Alexander Graf, 2014/07/08