Thread (11 messages) flat view 11 messages, 5 authors, 2013-02-13

Re: [PATCH 2/2] powerpc: Make context bits depend on virtual addr size.

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-02-12 20:33:13

On Wed, 2013-02-13 at 00:01 +0530, Aneesh Kumar K.V wrote:
+ * Be careful with this value. This determines the VSID_MODULUS_*  and that
+ * need to be co-prime with VSID_MULTIPLIER*
+ */
+#if defined(CONFIG_POWER6_CPU) || defined(CONFIG_POWER7_CPU)
+/*
+ * Even if cpu support 68 bits, we limit this to 66 because
+ * we support only 2^19 context.
+ */
+#define MAX_VIRTUAL_ADDR_BITS 66
+#else
+/* power4,power 5 and cell is 65 */
+#define MAX_VIRTUAL_ADDR_BITS 65
+#endif
+
A compile option ? Really ? Ugh...

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help