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>
This commit is contained in:

committed by
Linus Torvalds

parent
270952a907
commit
1a2c09e3b4
@@ -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
|
||||
|
Reference in New Issue
Block a user