Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 06:33:28 +0000
From:      "wma_semihalf.com (Wojciech Macek)" <phabric-noreply@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   [Differential] [Request, 4 lines] D3113: Increase DMAP size on ARM64
Message-ID:  <differential-rev-PHID-DREV-o3pj564shm4tbazhfiqx-req@FreeBSD.org>

index | next in thread | raw e-mail

[-- Attachment #1 --]
wma_semihalf.com created this revision.
wma_semihalf.com added reviewers: emaste, zbb, andrew.
wma_semihalf.com added a subscriber: freebsd-arm-list.
wma_semihalf.com set the repository for this revision to rS FreeBSD src repository.
Herald added subscribers: emaste, andrew, imp.

REVISION SUMMARY
      Previous DMAP size was too low for systems with more than 64GB
      of RAM. Increase it to 128GB to support ThunderX CRB.

REPOSITORY
  rS FreeBSD src repository

REVISION DETAIL
  https://reviews.freebsd.org/D3113

AFFECTED FILES
  sys/arm64/include/vmparam.h

CHANGE DETAILS
  diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
  --- a/sys/arm64/include/vmparam.h
  +++ b/sys/arm64/include/vmparam.h
  @@ -156,9 +156,9 @@
   #define	VM_MIN_KERNEL_ADDRESS	(0xffffff8000000000UL)
   #define	VM_MAX_KERNEL_ADDRESS	(0xffffff8800000000UL)
   
  -/* Direct Map for 64 GiB of PA: 0x0 - 0xfffffffff */
  +/* Direct Map for 128 GiB of PA: 0x0 - 0x1fffffffff */
   #define	DMAP_MIN_ADDRESS	(0xffffffc000000000UL)
  -#define	DMAP_MAX_ADDRESS	(0xffffffcfffffffffUL)
  +#define	DMAP_MAX_ADDRESS	(0xffffffdfffffffffUL)
   
   #define	DMAP_MIN_PHYSADDR	(0x0000000000000000UL)
   #define	DMAP_MAX_PHYSADDR	(DMAP_MAX_ADDRESS - DMAP_MIN_ADDRESS)

EMAIL PREFERENCES
  https://reviews.freebsd.org/settings/panel/emailpreferences/

To: wma_semihalf.com, emaste, zbb, andrew
Cc: imp, andrew, freebsd-arm-list, emaste

[-- Attachment #2 --]
diff --git a/sys/arm64/include/vmparam.h b/sys/arm64/include/vmparam.h
--- a/sys/arm64/include/vmparam.h
+++ b/sys/arm64/include/vmparam.h
@@ -156,9 +156,9 @@
 #define	VM_MIN_KERNEL_ADDRESS	(0xffffff8000000000UL)
 #define	VM_MAX_KERNEL_ADDRESS	(0xffffff8800000000UL)
 
-/* Direct Map for 64 GiB of PA: 0x0 - 0xfffffffff */
+/* Direct Map for 128 GiB of PA: 0x0 - 0x1fffffffff */
 #define	DMAP_MIN_ADDRESS	(0xffffffc000000000UL)
-#define	DMAP_MAX_ADDRESS	(0xffffffcfffffffffUL)
+#define	DMAP_MAX_ADDRESS	(0xffffffdfffffffffUL)
 
 #define	DMAP_MIN_PHYSADDR	(0x0000000000000000UL)
 #define	DMAP_MAX_PHYSADDR	(DMAP_MAX_ADDRESS - DMAP_MIN_ADDRESS)

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-o3pj564shm4tbazhfiqx-req>