x86, UV: Calculate BAU destination timeout
authorCliff Wickman <cpw@sgi.com>
Wed, 2 Jun 2010 21:22:01 +0000 (16:22 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jun 2010 19:13:44 +0000 (21:13 +0200)
commit12a6611fa16e9c6d2f844fe2175d219c6e9bd95d
tree2dde05add2678c0e35792cd8f8bc32380ab8289a
parent3975d16760d4be7402d1067c548c30c427971331
x86, UV: Calculate BAU destination timeout

Calculate the Broadcast Assist Unit's destination timeout period from the
values in the relevant MMR's.

Store it in each cpu's per-cpu BAU structure so that a destination
timeout can be differentiated from a 'plugged' situation in which all
software ack resources are already allocated and a timeout is pending.
That case returns an immediate destination error.

Signed-off-by: Cliff Wickman <cpw@sgi.com>
Cc: gregkh@suse.de
LKML-Reference: <E1OJvNx-0004Zq-RK@eag09.americas.sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/uv/uv_bau.h
arch/x86/kernel/tlb_uv.c