[GIT PULL] x86/platform for 6.5

From: Dave Hansen
Date: Mon Jun 26 2023 - 15:22:16 EST


Hi Linus,

Please pull some x86/platform changes for 6.5. These allow CPUs in
SGX/HPE Ultraviolet to start using Sub-NUMA clustering (SNC) mode. SNC
has been around outside the UV world for a while but evidently never
worked on UV systems.

SNC is rather notorious for breaking bad assumptions of a 1:1
relationship between physical sockets and NUMA nodes. The UV code
was rather prolific with these assumptions and took quite a bit
of refactoring to remove them.

--

The following changes since commit 7877cb91f1081754a1487c144d85dc0d2e2e7fc4:

Linux 6.4-rc4 (2023-05-28 07:49:00 -0400)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_platform_for_6.5

for you to fetch changes up to 73b3108dfd9d53ea565c0777a27007c1c621467d:

x86/platform/uv: Update UV[23] platform code for SNC (2023-05-31 09:35:00 -0700)

----------------------------------------------------------------
Add UV platform support for sub-NUMA clustering

----------------------------------------------------------------
Steve Wahl (8):
x86/platform/uv: Add platform resolving #defines for misc GAM_MMIOH_REDIRECT*
x86/platform/uv: Introduce helper function uv_pnode_to_socket.
x86/platform/uv: Fix printed information in calc_mmioh_map
x86/platform/uv: When searching for minimums, start at INT_MAX not 99999
x86/platform/uv: Helper functions for allocating and freeing conversion tables
x86/platform/uv: UV support for sub-NUMA clustering
x86/platform/uv: Remove remaining BUG_ON() and BUG() calls
x86/platform/uv: Update UV[23] platform code for SNC

arch/x86/include/asm/uv/uv_hub.h | 32 ++--
arch/x86/include/asm/uv/uv_mmrs.h | 18 ++-
arch/x86/kernel/apic/x2apic_uv_x.c | 318 +++++++++++++++++++++++--------------
3 files changed, 232 insertions(+), 136 deletions(-)