From owner-cvs-all@FreeBSD.ORG Wed May 31 15:51:56 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F9E216B7BB; Wed, 31 May 2006 15:51:56 +0000 (UTC) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDA2F43D53; Wed, 31 May 2006 15:51:55 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4VFoXrK005768; Wed, 31 May 2006 15:50:33 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4VFoXWr005766; Wed, 31 May 2006 15:50:33 GMT (envelope-from cognet) Message-Id: <200605311550.k4VFoXWr005766@repoman.freebsd.org> From: Olivier Houchard Date: Wed, 31 May 2006 15:50:33 +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/arm/arm busdma_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 15:52:00 -0000 cognet 2006-05-31 15:50:33 UTC FreeBSD src repository Modified files: sys/arm/arm busdma_machdep.c Log: If our buffer is not aligned on the cache line size, write back/invalidate the first and last cache line in PREREAD, and just invalidate the cache lines in POSTREAD, instead of write-back/invalidating in POSTREAD, which could lead to stale data overriding what has been transfered by DMA. Revision Changes Path 1.26 +10 -7 src/sys/arm/arm/busdma_machdep.c