svn commit: r227960 - head/sys/sparc64/pci

Marius Strobl marius at FreeBSD.org
Thu Nov 24 23:48:23 UTC 2011


Author: marius
Date: Thu Nov 24 23:48:22 2011
New Revision: 227960
URL: http://svn.freebsd.org/changeset/base/227960

Log:
  Increase the CDMA sync timeout for Schizo bridges to 15 seconds as used by
  OpenSolaris. One second turned out to be not enough for certain loads while
  10 seconds were sufficient.
  Reported by: Peter Jeremy
  
  MFC after:	3 days

Modified:
  head/sys/sparc64/pci/schizo.c

Modified: head/sys/sparc64/pci/schizo.c
==============================================================================
--- head/sys/sparc64/pci/schizo.c	Thu Nov 24 22:46:11 2011	(r227959)
+++ head/sys/sparc64/pci/schizo.c	Thu Nov 24 23:48:22 2011	(r227960)
@@ -1175,7 +1175,7 @@ schizo_dmamap_sync(bus_dma_tag_t dt, bus
 			;
 		SCHIZO_PCI_WRITE_8(sc, sc->sc_cdma_clr, INTCLR_RECEIVED);
 		microuptime(&cur);
-		end.tv_sec = 1;
+		end.tv_sec = 15;
 		end.tv_usec = 0;
 		timevaladd(&end, &cur);
 		for (; (res = atomic_cmpset_rel_32(&sc->sc_cdma_state,


More information about the svn-src-all mailing list