commit | f642fb5864a6e3645edce6f85ffe7b44d5e9b990 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]> | Thu May 24 15:17:12 2018 -0500 |
committer | Ingo Molnar <[email protected]> | Thu Jun 21 16:14:45 2018 +0200 |
tree | 19a7f8246d6272e218d9c4565f273666ba6cd3d2 | |
parent | d6605b6bbee88b74150b14f5e83a6067f5e323d2 [diff] |
x86/platform/UV: Add adjustable set memory block size function 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 arch dependent code can accommodate specific BIOS requirements which can align these new PMEM modules at less than the default 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. 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 <[email protected]> Reviewed-by: Andrew Banman <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Dimitri Sivanich <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Russ Anderson <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/lkml/[email protected] Signed-off-by: Ingo Molnar <[email protected]>