From owner-cvs-src-old@FreeBSD.ORG Thu Feb 25 03:53:41 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 728E91065673 for ; Thu, 25 Feb 2010 03:53:41 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5778FC16 for ; Thu, 25 Feb 2010 03:53:41 +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 o1P3rfMW087130 for ; Thu, 25 Feb 2010 03:53:41 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1P3rfZD087129 for cvs-src-old@freebsd.org; Thu, 25 Feb 2010 03:53:41 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201002250353.o1P3rfZD087129@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Thu, 25 Feb 2010 03:53:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/aim mmu_oea64.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: Thu, 25 Feb 2010 03:53:41 -0000 nwhitehorn 2010-02-25 03:53:21 UTC FreeBSD src repository Modified files: sys/powerpc/aim mmu_oea64.c Log: SVN rev 204297 on 2010-02-25 03:53:21Z by nwhitehorn Move the OEA64 scratchpage to the end of KVA from the beginning, and set its PVO to map physical address 0 instead of kernelstart. This fixes a situation in which a user process could attempt to return this address via KVM, have it fault while being modified, and then panic the kernel because (a) it is supposed to map a valid address and (b) it lies in the no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail. While here, move msgbuf and dpcpu make into regular KVA space for consistency with other implementations. Revision Changes Path 1.17 +14 -9 src/sys/powerpc/aim/mmu_oea64.c