summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-gru/grutables.h
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2009-06-17 16:28:28 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:04:02 -0700
commit1a2c09e3b41e334b6651d53b39cfe8ceefbc45f8 (patch)
treef005fcb5c5251256767b15f4a23ee220e6de5c88 /drivers/misc/sgi-gru/grutables.h
parent270952a907220c0331fdaecbb55df892921c5e2d (diff)
downloadop-kernel-dev-1a2c09e3b41e334b6651d53b39cfe8ceefbc45f8.zip
op-kernel-dev-1a2c09e3b41e334b6651d53b39cfe8ceefbc45f8.tar.gz
gru: fix cache coherency issues with instruction retry
Fix two problems related to GRU instruction failures. Cache coherency is not maintained for CBEs except when loading or unloading contexts. When reading a CBE to extract error information, the CBE must first be flushed from the cache. The function that reads kerrnel CBEs was reading the wrong CBE. Signed-off-by: Jack Steiner <steiner@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-gru/grutables.h')
-rw-r--r--drivers/misc/sgi-gru/grutables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grutables.h b/drivers/misc/sgi-gru/grutables.h
index 246c638..6657046 100644
--- a/drivers/misc/sgi-gru/grutables.h
+++ b/drivers/misc/sgi-gru/grutables.h
@@ -153,6 +153,7 @@
extern struct gru_stats_s gru_stats;
extern struct gru_blade_state *gru_base[];
extern unsigned long gru_start_paddr, gru_end_paddr;
+extern void *gru_start_vaddr;
extern unsigned int gru_max_gids;
#define GRU_MAX_BLADES MAX_NUMNODES
OpenPOWER on IntegriCloud