Skip to content
Snippets Groups Projects
Commit 6840a150 authored by Mike Travis's avatar Mike Travis Committed by Borislav Petkov
Browse files

x86/platform/uv: Set section block size for hubless architectures


Commit

  bbbd2b51 ("x86/platform/UV: Use new set memory block size function")

added a call to set the block size value that is needed by the kernel
to set the boundaries in the section list. This was done for UV Hubbed
systems but missed in the UV Hubless setup. Fix that mistake by adding
that same set call for hubless systems, which support the same NVRAMs
and Intel BIOS, thus the same problem occurs.

 [ bp: Massage commit message. ]

Fixes: bbbd2b51 ("x86/platform/UV: Use new set memory block size function")
Signed-off-by: default avatarMike Travis <mike.travis@hpe.com>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarSteve Wahl <steve.wahl@hpe.com>
Reviewed-by: default avatarRuss Anderson <rja@hpe.com>
Link: https://lkml.kernel.org/r/20210305162853.299892-1-mike.travis@hpe.com
parent e93d757c
No related branches found
No related tags found
No related merge requests found
...@@ -1671,6 +1671,9 @@ static __init int uv_system_init_hubless(void) ...@@ -1671,6 +1671,9 @@ static __init int uv_system_init_hubless(void)
if (rc < 0) if (rc < 0)
return rc; return rc;
/* Set section block size for current node memory */
set_block_size();
/* Create user access node */ /* Create user access node */
if (rc >= 0) if (rc >= 0)
uv_setup_proc_files(1); uv_setup_proc_files(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment