From owner-cvs-src-old@FreeBSD.ORG Mon Feb 15 15:00:49 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 A835A106568F for ; Mon, 15 Feb 2010 15:00:49 +0000 (UTC) (envelope-from raj@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 965398FC19 for ; Mon, 15 Feb 2010 15:00:49 +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 o1FF0np9034827 for ; Mon, 15 Feb 2010 15:00:49 GMT (envelope-from raj@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o1FF0nxE034826 for cvs-src-old@freebsd.org; Mon, 15 Feb 2010 15:00:49 GMT (envelope-from raj@repoman.freebsd.org) Message-Id: <201002151500.o1FF0nxE034826@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to raj@repoman.freebsd.org using -f From: Rafal Jaworowski Date: Mon, 15 Feb 2010 15:00:40 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/arm/arm pmap.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: Mon, 15 Feb 2010 15:00:49 -0000 raj 2010-02-15 15:00:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/arm/arm pmap.c Log: SVN rev 203925 on 2010-02-15 15:00:40Z by raj MFC r203637: Improve checking whether an ARM VA has a valid mapping before performing cache sync. VIPT/PIPT caches need valid VA-PA mapping in PTE for a cache operation to succeed (unlike VIVT). Prior to this fix pmap was using l2pte_valid() for that check, but this is not sufficient as the function merely checks if a PTE exists (there can be existing but _invalid_ entries in the table). A new pmap_has_valid_mapping() routine is introduced to do this job right by checking proper PTE flags. Among other potential problems this cures coherency issues with L2 caches on MV-78100. Submitted by: Grzegorz Bernacki, Piotr Ziecik Reviewed, tested by: marcel Obtained from: Semihalf Revision Changes Path 1.113.2.3 +43 -75 src/sys/arm/arm/pmap.c