linux_dsm_epyc7002/arch/x86/platform/uv
Jack Steiner 6a469e4665 x86: uv2: Workaround for UV2 Hub bug (system global address format)
This is a workaround for a UV2 hub bug that affects the format of system
global addresses.

The GRU API for UV2 was inadvertently broken by a hardware change.  The
format of the physical address used for TLB dropins and for addresses used
with instructions running in unmapped mode has changed.  This change was
not documented and became apparent only when diags failed running on
system simulators.

For UV1, TLB and GRU instruction physical addresses are identical to
socket physical addresses (although high NASID bits must be OR'ed into the
address).

For UV2, socket physical addresses need to be converted.  The NODE portion
of the physical address needs to be shifted so that the low bit is in bit
39 or bit 40, depending on an MMR value.

It is not yet clear if this bug will be fixed in a silicon respin.  If it
is fixed, the hub revision will be incremented & the workaround disabled.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-09-21 11:23:15 +02:00
..
bios_uv.c x86: Move uv to platform 2010-10-27 14:30:02 +02:00
Makefile x86: Move uv to platform 2010-10-27 14:30:02 +02:00
tlb_uv.c x86: uv2: Workaround for UV2 Hub bug (system global address format) 2011-09-21 11:23:15 +02:00
uv_irq.c x86: Cleanup the genirq name space 2011-03-12 14:12:00 +01:00
uv_sysfs.c x86: Move uv to platform 2010-10-27 14:30:02 +02:00
uv_time.c x86, UV: Add support for SGI UV2 hub chip 2011-05-25 14:20:13 +02:00