[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v2 11/11] PPC: BookE206: Bump MAS2 to 64bit
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH v2 11/11] PPC: BookE206: Bump MAS2 to 64bit |
Date: |
Thu, 21 Jun 2012 15:34:00 +0200 |
On 64bit capable systems, MAS2 can actually hold a 64bit virtual page
address. So increase the mask for its EPN.
Signed-off-by: Alexander Graf <address@hidden>
---
target-ppc/cpu.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 652a35a..ca2fc21 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -693,7 +693,7 @@ enum {
#define MAS1_VALID 0x80000000
#define MAS2_EPN_SHIFT 12
-#define MAS2_EPN_MASK (0xfffff << MAS2_EPN_SHIFT)
+#define MAS2_EPN_MASK (~0ULL << MAS2_EPN_SHIFT)
#define MAS2_ACM_SHIFT 6
#define MAS2_ACM (1 << MAS2_ACM_SHIFT)
--
1.6.0.2
- [Qemu-ppc] [PATCH v2 07/11] PPC: BookE: Make ivpr selectable by CPU type, (continued)
- [Qemu-ppc] [PATCH v2 07/11] PPC: BookE: Make ivpr selectable by CPU type, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 02/11] PPC: e500: allow users to set the /compatible property via -machine, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 03/11] uImage: increase the gzip load size, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 01/11] dt: make setprop argument static, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 09/11] PPC: Extract SPR dump generation into its own function, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 10/11] PPC: BookE: Support 32 and 64 bit wide MAS2, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 06/11] PPC: BookE: Implement EPR SPR, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 08/11] PPC: Add e5500 CPU target, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 04/11] PPC: Add some booke SPR defines, Alexander Graf, 2012/06/21
- [Qemu-ppc] [PATCH v2 11/11] PPC: BookE206: Bump MAS2 to 64bit,
Alexander Graf <=