Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 23:48:23 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r227960 - head/sys/sparc64/pci
Message-ID:  <201111242348.pAONmNP1018034@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111242348.pAONmNP1018034>