From owner-cvs-src-old@FreeBSD.ORG Sat Mar 20 15:27:20 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 8485B1065677 for ; Sat, 20 Mar 2010 15:27:20 +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 721388FC15 for ; Sat, 20 Mar 2010 15:27:20 +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 o2KFRK2M027792 for ; Sat, 20 Mar 2010 15:27:20 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o2KFRKiQ027791 for cvs-src-old@freebsd.org; Sat, 20 Mar 2010 15:27:20 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201003201527.o2KFRKiQ027791@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Sat, 20 Mar 2010 15:27:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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: Sat, 20 Mar 2010 15:27:20 -0000 nwhitehorn 2010-03-20 15:27:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/powerpc/aim mmu_oea64.c Log: SVN rev 205382 on 2010-03-20 15:27:01Z by nwhitehorn MFC r204297: 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 back into regular KVA space for consistency with other implementations. Revision Changes Path 1.4.2.12 +14 -9 src/sys/powerpc/aim/mmu_oea64.c