diff options
author | Cliff Wickman <cpw@sgi.com> | 2012-01-16 16:20:50 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2012-01-17 03:09:56 -0500 |
commit | 478c6e529e7bd7c6ef8994c55bd252c287c35893 (patch) | |
tree | 17d2e4cc052c3c6fd0f4005d06ac53be7d5d8219 /arch | |
parent | c5d35d399e685acccc85a675e8765c26b2a9813a (diff) |
x86/UV2: Remove stale no-resources test for UV2 BAU
This patch removes an unnecessary test for a
no-destination-resources-available condition that looks like a
destination timeout in UV1, but is separately distinguishable in
UV2.
Signed-off-by: Cliff Wickman <cpw@sgi.com>
Link: http://lkml.kernel.org/r/20120116212050.GD5767@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/platform/uv/tlb_uv.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c index 9010ca715c03..affea509c174 100644 --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c | |||
@@ -642,16 +642,6 @@ static int uv2_wait_completion(struct bau_desc *bau_desc, | |||
642 | } else if (descriptor_stat == UV2H_DESC_DEST_TIMEOUT) { | 642 | } else if (descriptor_stat == UV2H_DESC_DEST_TIMEOUT) { |
643 | stat->s_dtimeout++; | 643 | stat->s_dtimeout++; |
644 | ttm = get_cycles(); | 644 | ttm = get_cycles(); |
645 | /* | ||
646 | * Our retries may be blocked by all destination | ||
647 | * swack resources being consumed, and a timeout | ||
648 | * pending. In that case hardware returns the | ||
649 | * ERROR that looks like a destination timeout. | ||
650 | */ | ||
651 | if (cycles_2_us(ttm - bcp->send_message) < timeout_us) { | ||
652 | bcp->conseccompletes = 0; | ||
653 | return FLUSH_RETRY_PLUGGED; | ||
654 | } | ||
655 | bcp->conseccompletes = 0; | 645 | bcp->conseccompletes = 0; |
656 | return FLUSH_RETRY_TIMEOUT; | 646 | return FLUSH_RETRY_TIMEOUT; |
657 | } else { | 647 | } else { |