Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 19:49:09 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r228145 - stable/8/sys/sparc64/pci
Message-ID:  <201111291949.pATJn9oO064272@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Tue Nov 29 19:49:09 2011
New Revision: 228145
URL: http://svn.freebsd.org/changeset/base/228145

Log:
  MFC: r227960
  
  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

Modified:
  stable/8/sys/sparc64/pci/schizo.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/sparc64/pci/schizo.c
==============================================================================
--- stable/8/sys/sparc64/pci/schizo.c	Tue Nov 29 19:47:11 2011	(r228144)
+++ stable/8/sys/sparc64/pci/schizo.c	Tue Nov 29 19:49:09 2011	(r228145)
@@ -1171,7 +1171,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?201111291949.pATJn9oO064272>