From owner-cvs-src-old@FreeBSD.ORG Sun Feb 14 16:56:34 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 5E072106578E for ; Sun, 14 Feb 2010 16:56:34 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5A78FC22 for ; Sun, 14 Feb 2010 16:56:34 +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 o1EGuY24057852 for ; Sun, 14 Feb 2010 16:56:34 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1EGuYtK057851 for cvs-src-old@freebsd.org; Sun, 14 Feb 2010 16:56:34 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <201002141656.o1EGuYtK057851@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Sun, 14 Feb 2010 16:56:24 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ia64/acpica madt.c src/sys/ia64/ia64 bus_machdep.c efi.c interrupt.c machdep.c mp_machdep.c pmap.c sapic.c src/sys/ia64/include bus.h intr.h md_var.h pmap.h vmparam.h 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, 14 Feb 2010 16:56:34 -0000 marcel 2010-02-14 16:56:24 UTC FreeBSD src repository Modified files: sys/ia64/acpica madt.c sys/ia64/ia64 bus_machdep.c efi.c interrupt.c machdep.c mp_machdep.c pmap.c sapic.c sys/ia64/include bus.h intr.h md_var.h pmap.h vmparam.h Log: SVN rev 203883 on 2010-02-14 16:56:24Z by marcel Some code churn: o Eliminate IA64_PHYS_TO_RR6 and change all places where the macro is used by calling either bus_space_map() or pmap_mapdev(). o Implement bus_space_map() in terms of pmap_mapdev() and implement bus_space_unmap() in terms of pmap_unmapdev(). o Have ia64_pib hold the uncached virtual address of the processor interrupt block throughout the kernel's life and access the elements of the PIB through this structure pointer. This is a non-functional change with the exception of using ia64_ld1() and ia64_st8() to write to the PIB. We were still using assignments, for which the compiler generates semaphore reads -- which cause undefined behaviour for uncacheable memory. Note also that the memory barriers in ipi_send() are critical for proper functioning. With all the mapping of uncached memory done by pmap_mapdev(), we can keep track of the translations and wire them in the CPU. This then eliminates the need to reserve a whole region for uncached I/O and it eliminates translation traps for device I/O accesses. Revision Changes Path 1.22 +2 -4 src/sys/ia64/acpica/madt.c 1.2 +21 -0 src/sys/ia64/ia64/bus_machdep.c 1.9 +4 -2 src/sys/ia64/ia64/efi.c 1.76 +1 -2 src/sys/ia64/ia64/interrupt.c 1.256 +9 -1 src/sys/ia64/ia64/machdep.c 1.79 +14 -12 src/sys/ia64/ia64/mp_machdep.c 1.210 +5 -3 src/sys/ia64/ia64/pmap.c 1.16 +4 -3 src/sys/ia64/ia64/sapic.c 1.26 +6 -20 src/sys/ia64/include/bus.h 1.6 +11 -13 src/sys/ia64/include/intr.h 1.32 +8 -8 src/sys/ia64/include/md_var.h 1.31 +1 -1 src/sys/ia64/include/pmap.h 1.20 +0 -1 src/sys/ia64/include/vmparam.h