Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2012 15:40:18 +0000 (UTC)
From:      Grzegorz Bernacki <gber@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r230816 - projects/armv6/sys/arm/mv/armadaxp
Message-ID:  <201201311540.q0VFeITR042507@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gber
Date: Tue Jan 31 15:40:18 2012
New Revision: 230816
URL: http://svn.freebsd.org/changeset/base/230816

Log:
  pj4b: Add workaround for hangup after releasing AP's in WT mode
  
  Submitted by: Lukasz Plachno
  Obtained from: Marvell, Semihalf

Modified:
  projects/armv6/sys/arm/mv/armadaxp/armadaxp_mp.c

Modified: projects/armv6/sys/arm/mv/armadaxp/armadaxp_mp.c
==============================================================================
--- projects/armv6/sys/arm/mv/armadaxp/armadaxp_mp.c	Tue Jan 31 15:39:06 2012	(r230815)
+++ projects/armv6/sys/arm/mv/armadaxp/armadaxp_mp.c	Tue Jan 31 15:40:18 2012	(r230816)
@@ -179,6 +179,10 @@ platform_mp_start_ap(void)
 	for (cpu_num = 1; cpu_num < mp_ncpus; cpu_num++ )
 		bus_space_write_4(fdtbus_bs_tag, MP, MP_SW_RESET(cpu_num), 0);
 
+	/* XXX: Temporary workaround for hangup after releasing AP's */
+	wmb();
+	DELAY(10);
+
 	initialize_coherency_fabric();
 }
 



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