gru: support instruction completion interrupts
Add support for interrupts generated by GRU instruction completion. Previously, the only interrupts were for TLB misses. The hardware also supports interrupts on instruction completion. This will be supported for instructions issued by the kernel. 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
940229b9c0
commit
4a7a17c118
@@ -462,6 +462,11 @@ struct gru_blade_state {
|
||||
struct rw_semaphore bs_kgts_sema; /* lock for kgts */
|
||||
struct gru_thread_state *bs_kgts; /* GTS for kernel use */
|
||||
|
||||
/* ---- the following are used for managing kernel async GRU CBRs --- */
|
||||
int bs_async_dsr_bytes; /* DSRs for async */
|
||||
int bs_async_cbrs; /* CBRs AU for async */
|
||||
struct completion *bs_async_wq;
|
||||
|
||||
/* ---- the following are protected by the bs_lock spinlock ---- */
|
||||
spinlock_t bs_lock; /* lock used for
|
||||
stealing contexts */
|
||||
|
Reference in New Issue
Block a user