From owner-cvs-src@FreeBSD.ORG Wed Apr 23 20:04:39 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 636E51065673; Wed, 23 Apr 2008 20:04:39 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3AF968FC23; Wed, 23 Apr 2008 20:04:39 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3NK4dTA050153; Wed, 23 Apr 2008 20:04:39 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3NK4dPt050152; Wed, 23 Apr 2008 20:04:39 GMT (envelope-from marius) Message-Id: <200804232004.m3NK4dPt050152@repoman.freebsd.org> From: Marius Strobl Date: Wed, 23 Apr 2008 20:04:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sparc64/fhc fhc.c src/sys/sparc64/include bus_common.h intr_machdep.h src/sys/sparc64/pci psycho.c src/sys/sparc64/sbus sbus.c src/sys/sparc64/sparc64 intr_machdep.c mp_machdep.c nexus.c upa.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 20:04:39 -0000 marius 2008-04-23 20:04:39 UTC FreeBSD src repository Modified files: sys/sparc64/fhc fhc.c sys/sparc64/include bus_common.h intr_machdep.h sys/sparc64/pci psycho.c sys/sparc64/sbus sbus.c sys/sparc64/sparc64 intr_machdep.c mp_machdep.c nexus.c upa.c Log: o Rename ic_eoi to ic_clear to emphasize the functions it points don't send and EOI which works like on amd64/i386 and blocks all interrupts on the relevant interrupt controller. o Replace the post_filter and post_inthread hooks registered when creating the interrupt events with just ic_clear as on sparc64 we don't need to do any disable->EOI->enable dance to unblock all but the relevant interrupt while running the filter or handler; just not clearing the interrupt already has the same effect. o Merge from amd64/i386: - Split the intr_table_lock into an sx lock used for most things, and a spin lock to protect intrcnt_index. - Add support for binding interrupts to CPUs, including for the bus_bind_intr(9) interface, a assign_cpu hook and initially shuffling interrupts arround in a round-robin fashion. Reviewed by: jhb MFC after: 1 month Revision Changes Path 1.19 +16 -3 src/sys/sparc64/fhc/fhc.c 1.8 +7 -4 src/sys/sparc64/include/bus_common.h 1.19 +6 -1 src/sys/sparc64/include/intr_machdep.h 1.75 +15 -3 src/sys/sparc64/pci/psycho.c 1.47 +16 -3 src/sys/sparc64/sbus/sbus.c 1.34 +170 -49 src/sys/sparc64/sparc64/intr_machdep.c 1.40 +3 -2 src/sys/sparc64/sparc64/mp_machdep.c 1.21 +15 -0 src/sys/sparc64/sparc64/nexus.c 1.10 +13 -0 src/sys/sparc64/sparc64/upa.c