diff options
author | Jack Steiner <steiner@sgi.com> | 2009-04-02 19:59:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-02 22:05:06 -0400 |
commit | 874194123718e625aa96632bac457d686ba1378e (patch) | |
tree | 0594c7d50d05157f564afdd364956daa4062cf9f /drivers/misc/sgi-gru/grufile.c | |
parent | bb04aa78ec1393295c30edad154e6f6e906955f3 (diff) |
sgi-gru: aSID (context management) bug fixes
This patch fixes bugs related to ASID (context id) management in the GRU
driver. These changes are all internal to the SGI GRU driver and have no
effect on the base 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>
Diffstat (limited to 'drivers/misc/sgi-gru/grufile.c')
-rw-r--r-- | drivers/misc/sgi-gru/grufile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/sgi-gru/grufile.c b/drivers/misc/sgi-gru/grufile.c index 812678d8b47d..f8dcdb1a0ec4 100644 --- a/drivers/misc/sgi-gru/grufile.c +++ b/drivers/misc/sgi-gru/grufile.c | |||
@@ -274,6 +274,7 @@ static void gru_init_chiplet(struct gru_state *gru, unsigned long paddr, | |||
274 | gru->gs_blade_id = bid; | 274 | gru->gs_blade_id = bid; |
275 | gru->gs_cbr_map = (GRU_CBR_AU == 64) ? ~0 : (1UL << GRU_CBR_AU) - 1; | 275 | gru->gs_cbr_map = (GRU_CBR_AU == 64) ? ~0 : (1UL << GRU_CBR_AU) - 1; |
276 | gru->gs_dsr_map = (1UL << GRU_DSR_AU) - 1; | 276 | gru->gs_dsr_map = (1UL << GRU_DSR_AU) - 1; |
277 | gru->gs_asid_limit = MAX_ASID; | ||
277 | gru_tgh_flush_init(gru); | 278 | gru_tgh_flush_init(gru); |
278 | gru_dbg(grudev, "bid %d, nid %d, gid %d, vaddr %p (0x%lx)\n", | 279 | gru_dbg(grudev, "bid %d, nid %d, gid %d, vaddr %p (0x%lx)\n", |
279 | bid, nid, gru->gs_gid, gru->gs_gru_base_vaddr, | 280 | bid, nid, gru->gs_gid, gru->gs_gru_base_vaddr, |