[lkml]   [2018]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/3] x86/platform/UV: Add adjustable set memory block size function
On Thu, May 10, 2018 at 06:18:33PM -0500, wrote:
> Add a new function to "adjust" the current fixed UV memory block size of
> 2GB so it can be changed to a different physical boundary. This is out
> of necessity so UV BIOS can accommodate Intel BIOS changes for NVDIMM's,
> which can align these new PMEM modules at other than 2GB boundaries.
> A "set order" type of function was used to insure that the memory block
> size will be a power of two value without requiring a validity check on
> the size value passed in. 64GB was chosen as the upper limit for memory
> block size values to accommodate upcoming 4PB systems which have 6 more
> bits of physical address space (46 becoming 52).
> Signed-off-by: Mike Travis <>
> Reviewed-by: Andrew Banman <>
> ---
> arch/x86/mm/init_64.c | 20 ++++++++++++++++----
> include/linux/memory.h | 1 +
> 2 files changed, 17 insertions(+), 4 deletions(-)


This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
for how to do this properly.


 \ /
  Last update: 2018-05-11 07:26    [W:0.181 / U:1.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site