[Differential] [Request, 4 lines] D3113: Increase DMAP size on ARM64

wma_semihalf.com (Wojciech Macek) phabric-noreply at FreeBSD.org
Fri Jul 17 06:33:28 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3113.7037.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150717/d0277d53/attachment.bin>


More information about the freebsd-arm mailing list