From owner-cvs-src-old@FreeBSD.ORG Sun May 23 02:31:55 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77178106564A for ; Sun, 23 May 2010 02:31:55 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 64F378FC0C for ; Sun, 23 May 2010 02:31:55 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4N2Vt82050259 for ; Sun, 23 May 2010 02:31:55 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4N2VtJF050258 for cvs-src-old@freebsd.org; Sun, 23 May 2010 02:31:55 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201005230231.o4N2VtJF050258@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Sun, 23 May 2010 02:31:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/powerpc/aim ofw_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 02:31:55 -0000 nwhitehorn 2010-05-23 02:31:37 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/powerpc/aim ofw_machdep.c Log: SVN rev 208429 on 2010-05-23 02:31:37Z by nwhitehorn MFC r205497,208364,208405: Fix a long-standing bug in the PowerPC OFW call function on SMP machines by forcing all secondary CPUs into a busy wait with interrupts off during the call. This bug caused ofwdump -a to hang the system. Following section 8.4 of the Open Firmware PowerPC processor binding, the firmware is free to overwrite the system interrupt handlers during OF calls, restoring the OS handlers on exit. On single CPU systems, this process is invisible to the operating system. On multiple CPU systems, taking any exception on a secondary CPU while an OF call is in progress ends with that exception vectored into OF, resulting in a slow movement of the entire system into firmware context and a machine hang. Revision Changes Path 1.24.2.4 +57 -4 src/sys/powerpc/aim/ofw_machdep.c