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>
Showing
- drivers/misc/sgi-gru/grufault.c 2 additions, 1 deletiondrivers/misc/sgi-gru/grufault.c
- drivers/misc/sgi-gru/grufile.c 1 addition, 1 deletiondrivers/misc/sgi-gru/grufile.c
- drivers/misc/sgi-gru/grukservices.c 10 additions, 2 deletionsdrivers/misc/sgi-gru/grukservices.c
- drivers/misc/sgi-gru/grutables.h 1 addition, 0 deletionsdrivers/misc/sgi-gru/grutables.h
Loading
Please register or sign in to comment