• mike.travis@hpe.com's avatar
    x86/platform/UV: Use new set memory block size function · bbbd2b51
    mike.travis@hpe.com authored
    Add a call to the new function to "adjust" the current fixed UV memory
    block size of 2GB so it can be changed to a different physical boundary.
    This accommodates changes in the Intel BIOS, and therefore UV BIOS,
    which now can align boundaries different than the previous UV standard
    of 2GB.  It also flags any UV Global Address boundaries from BIOS that
    cause a change in the mem block size (boundary).
    
    The current boundary of 2GB has been used on UV since the first system
    release in 2009 with Linux 2.6 and has worked fine.  But the new NVDIMM
    persistent memory modules (PMEM), along with the Intel BIOS changes to
    support these modules caused the memory block size boundary to be set
    to a lower limit.  Intel only guarantees that this minimum boundary at
    64MB though the current Linux limit is 128MB.
    
    Note that the default remains 2GB if no changes occur.
    Signed-off-by: default avatarMike Travis <mike.travis@hpe.com>
    Reviewed-by: default avatarAndrew Banman <andrew.banman@hpe.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Dimitri Sivanich <dimitri.sivanich@hpe.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Russ Anderson <russ.anderson@hpe.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: dan.j.williams@intel.com
    Cc: jgross@suse.com
    Cc: kirill.shutemov@linux.intel.com
    Cc: mhocko@suse.com
    Cc: stable@vger.kernel.org
    Link: https://lkml.kernel.org/lkml/20180524201711.732785782@stormcage.americas.sgi.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    bbbd2b51
x2apic_uv_x.c 42.2 KB