aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD Scott Phillips <scottph@FreeBSD.org>2020-08-26 02:13:27 +0000
committerD Scott Phillips <scottph@FreeBSD.org>2020-08-26 02:13:27 +0000
commitd4d2928a3fc688c04d9a03c8a95bc96537d2c64b (patch)
tree41d3bcd388f7d88fefb5f7123a2f43501d29ca36
parentdd6fd1d4307247432272a10521ea19a70bb157bb (diff)
downloadsrc-d4d2928a3fc688c04d9a03c8a95bc96537d2c64b.tar.gz
src-d4d2928a3fc688c04d9a03c8a95bc96537d2c64b.zip
arm64: Increase dmap size to 95 TiB
The Ampere Altra has physical memory populated sparsely within the physical address space. Increase the size of the dmap to cover all physical memory. Reviewed by: andrew Approved by: scottl (implicit) MFC after: 1 week Sponsored by: Ampere Computing, Inc. Differential Revision: https://reviews.freebsd.org/D26134
Notes
Notes: svn path=/head/; revision=364798
-rw-r--r--sys/arm64/include/vmparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
index a534dff0299c..96b46e575483 100644
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -156,8 +156,8 @@
#define VM_MIN_KERNEL_ADDRESS (0xffff000000000000UL)
#define VM_MAX_KERNEL_ADDRESS (0xffff008000000000UL)
-/* 2 TiB maximum for the direct map region */
-#define DMAP_MIN_ADDRESS (0xfffffd0000000000UL)
+/* 95 TiB maximum for the direct map region */
+#define DMAP_MIN_ADDRESS (0xffffa00000000000UL)
#define DMAP_MAX_ADDRESS (0xffffff0000000000UL)
#define DMAP_MIN_PHYSADDR (dmap_phys_base)