linux_dsm_epyc7002/arch/x86/platform/uv
Cliff Wickman c5d35d399e x86/UV2: Work around BAU bug
This patch implements a workaround for a UV2 hardware bug.
The bug is a non-atomic update of a memory-mapped register. When
hardware message delivery and software message acknowledge occur
simultaneously the pending message acknowledge for the arriving
message may be lost.  This causes the sender's message status to
stay busy.

Part of the workaround is to not acknowledge a completed message
until it is verified that no other message is actually using the
resource that is mistakenly recorded in the completed message.

Part of the workaround is to test for long elapsed time in such
a busy condition, then handle it by using a spare sending
descriptor. The stay-busy condition is eventually timed out by
hardware, and then the original sending descriptor can be
re-used. Most of that logic change is in keeping track of the
current descriptor and the state of the spares.

The occurrences of the workaround are added to the BAU
statistics.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20120116211947.GC5767@sgi.com
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2012-01-17 09:09:54 +01:00
..
bios_uv.c x86: Fix files explicitly requiring export.h for EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:35 -04:00
Makefile x86: Move uv to platform 2010-10-27 14:30:02 +02:00
tlb_uv.c x86/UV2: Work around BAU bug 2012-01-17 09:09:54 +01: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