linux_dsm_epyc7002/arch/x86/include/asm/uv
Mike Travis 4fb7d08707 x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops
The references in the is_uvX_hub() function uses the hub_info pointer
which will be NULL when the system is hubless.  This change avoids
that NULL dereference.  It is also an optimization in performance.

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/20190910145840.294981941@stormcage.eag.rdlabs.hpecorp.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-10-07 13:42:11 +02:00
..
bios.h x86/platform/uv: Add return code to UV BIOS Init function 2019-10-07 13:42:10 +02:00
uv_bau.h x86/platform/uv/BAU: Replace hard-coded values with MMR definitions 2018-01-16 03:58:38 +01:00
uv_hub.h x86/platform/uv: Account for UV Hubless in is_uvX_hub Ops 2019-10-07 13:42:11 +02:00
uv_irq.h x86, apic: Move SGI UV functionality out of generic IO-APIC code 2009-10-14 09:17:09 +02:00
uv_mmrs.h x86/platform/UV: Fix critical UV MMR address error 2018-03-28 20:19:45 +02:00
uv.h x86/platform/uv: Add UV Hubbed/Hubless Proc FS Files 2019-10-07 13:42:10 +02:00