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>
Цей коміт міститься в:

зафіксовано
Linus Torvalds

джерело
940229b9c0
коміт
4a7a17c118
@@ -572,8 +572,12 @@ void gru_load_context(struct gru_thread_state *gts)
|
||||
|
||||
if (is_kernel_context(gts)) {
|
||||
cch->unmap_enable = 1;
|
||||
cch->tfm_done_bit_enable = 1;
|
||||
cch->cb_int_enable = 1;
|
||||
} else {
|
||||
cch->unmap_enable = 0;
|
||||
cch->tfm_done_bit_enable = 0;
|
||||
cch->cb_int_enable = 0;
|
||||
asid = gru_load_mm_tracker(gru, gts);
|
||||
for (i = 0; i < 8; i++) {
|
||||
cch->asid[i] = asid + i;
|
||||
|
Посилання в новій задачі
Заблокувати користувача