From: Ian Campbell <ian.campbell@citrix.com>
To: xen-devel@lists.xen.org
Cc: julien.grall@linaro.org, tim@xen.org,
Ian Campbell <ian.campbell@citrix.com>,
andre.przywara@linaro.org, stefano.stabellini@eu.citrix.com
Subject: [PATCH v3 2/9] xen/arm: DOMHEAP_SECOND_PAGES is arm32 specific
Date: Thu, 26 Sep 2013 12:35:35 +0100 [thread overview]
Message-ID: <1380195342-23931-2-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1380195308.29483.78.camel@kazak.uk.xensource.com>
since 5263507b1b4a "xen: arm: Use a direct mapping of RAM on arm64"
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
---
xen/include/asm-arm/config.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 604088e..624c73e 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -136,6 +136,9 @@
#define DOMHEAP_ENTRIES 1024 /* 1024 2MB mapping slots */
+/* Number of domheap pagetable pages required at the second level (2MB mappings) */
+#define DOMHEAP_SECOND_PAGES ((DOMHEAP_VIRT_END - DOMHEAP_VIRT_START + 1) >> FIRST_SHIFT)
+
#else /* ARM_64 */
#define SLOT0_ENTRY_BITS 39
@@ -159,9 +162,6 @@
#endif
-/* Number of domheap pagetable pages required at the second level (2MB mappings) */
-#define DOMHEAP_SECOND_PAGES ((DOMHEAP_VIRT_END - DOMHEAP_VIRT_START + 1) >> FIRST_SHIFT)
-
/* Fixmap slots */
#define FIXMAP_CONSOLE 0 /* The primary UART */
#define FIXMAP_PT 1 /* Temporary mappings of pagetable pages */
--
1.7.10.4
next prev parent reply other threads:[~2013-09-26 11:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 11:35 [PATCH v3 0/9] xen: arm: memory mangement fixes / improvements Ian Campbell
2013-09-26 11:35 ` [PATCH v3 1/9] xen/arm: ensure the xenheap is 32MB aligned Ian Campbell
2013-09-26 11:35 ` Ian Campbell [this message]
2013-09-26 11:35 ` [PATCH v3 3/9] xen/arm: Reserve FDT via early module mechanism Ian Campbell
2013-09-26 11:35 ` [PATCH v3 4/9] xen/arm: do not relocate Xen outside of visible RAM Ian Campbell
2013-09-26 11:35 ` [PATCH v3 5/9] xen/arm: cope with modules outside of "visible" RAM Ian Campbell
2013-09-26 11:35 ` [PATCH v3 6/9] xen/arm: Support dtb /memreserve/ regions Ian Campbell
2013-09-26 11:35 ` [PATCH v3 7/9] xen/arm: rename boot misc region to boot reloc now it has a single purpose Ian Campbell
2013-09-26 11:35 ` [PATCH v3 8/9] xen/arm: print the location of the Xen heap on 32 bit Ian Campbell
2013-09-26 11:35 ` [PATCH v3 9/9] xen: support RAM at addresses 0 and 4096 Ian Campbell
2013-09-26 14:47 ` [PATCH v3 0/9] xen: arm: memory mangement fixes / improvements Tim Deegan
2013-09-26 16:40 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1380195342-23931-2-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=andre.przywara@linaro.org \
--cc=julien.grall@linaro.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).