]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
x86/platform/uv: Return UV Hubless System Type
authorMike Travis <mike.travis@hpe.com>
Tue, 10 Sep 2019 14:58:41 +0000 (09:58 -0500)
committerIngo Molnar <mingo@kernel.org>
Mon, 7 Oct 2019 11:42:10 +0000 (13:42 +0200)
commit0959f8256ada0431c1470d89e5a2811ff2305c88
tree0b5d595b4e302fdf20a41b667295ca6a4a654914
parent61e5ddca9c2a312f933bf5b12bc08484189fefe6
x86/platform/uv: Return UV Hubless System Type

Return the type of UV hubless system for UV specific code that depends
on that.  Add a function to convert UV system type to bit pattern needed
for is_uv_hubless().

Signed-off-by: Mike Travis <mike.travis@hpe.com>
Reviewed-by: Steve Wahl <steve.wahl@hpe.com>
Reviewed-by: Dimitri Sivanich <dimitri.sivanich@hpe.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Hedi Berriche <hedi.berriche@hpe.com>
Cc: Justin Ernst <justin.ernst@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>
Link: https://lkml.kernel.org/r/20190910145839.814880843@stormcage.eag.rdlabs.hpecorp.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/uv/uv.h
arch/x86/kernel/apic/x2apic_uv_x.c