Skip to content

Commit

Permalink
[IA64-SGI] disable TIOCA GART TLB prefetching
Browse files Browse the repository at this point in the history
Patch to disable SGI TIOCA GART TLB prefetching due to hw bug.

Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Mark Maule authored and Tony Luck committed Apr 25, 2005
1 parent e96c9b4 commit 4628d7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/ia64/sn/pci/tioca_provider.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,15 @@ tioca_gart_init(struct tioca_kernel *tioca_kern)
* use agp op-combining
* use GET semantics to fetch memory
* participate in coherency domain
* prefetch TLB entries
* DISABLE GART PREFETCHING due to hw bug tracked in SGI PV930029
*/

ca_base->ca_control1 |= CA_AGPDMA_OP_ENB_COMBDELAY; /* PV895469 ? */
ca_base->ca_control2 &= ~(CA_GART_MEM_PARAM);
ca_base->ca_control2 |= (0x2ull << CA_GART_MEM_PARAM_SHFT);
tioca_kern->ca_gart_iscoherent = 1;
ca_base->ca_control2 |=
(CA_GART_WR_PREFETCH_ENB | CA_GART_RD_PREFETCH_ENB);
ca_base->ca_control2 &=
~(CA_GART_WR_PREFETCH_ENB | CA_GART_RD_PREFETCH_ENB);

/*
* Unmask GART fetch error interrupts. Clear residual errors first.
Expand Down

0 comments on commit 4628d7c

Please sign in to comment.