From owner-cvs-src-old@FreeBSD.ORG Mon Nov 9 21:28:17 2009 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 AD941106575A for ; Mon, 9 Nov 2009 21:28:14 +0000 (UTC) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A58D28FC0C for ; Mon, 9 Nov 2009 21:28:14 +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 nA9LSEQe052582 for ; Mon, 9 Nov 2009 21:28:14 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nA9LSEiC052581 for cvs-src-old@freebsd.org; Mon, 9 Nov 2009 21:28:14 GMT (envelope-from kensmith@repoman.freebsd.org) Message-Id: <200911092128.nA9LSEiC052581@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kensmith@repoman.freebsd.org using -f From: Ken Smith Date: Mon, 9 Nov 2009 21:28:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8_0 Subject: cvs commit: src/sys/dev/sym sym_hipd.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, 09 Nov 2009 21:28:17 -0000 kensmith 2009-11-09 21:28:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_8_0) sys/dev/sym sym_hipd.c Log: SVN rev 199109 on 2009-11-09 21:28:07Z by kensmith MFC r198719 (head) r199095 (stable/8): > While certain supported Symbios/LSI SCSI chips (532c896, 53c1000, 53c1010) > do support 64bit addresses, the current SCRIPTS code supports only 32bit > addresses causing data corruption for buffer addresses >4GB. This problem > affects 64bit machines with more than 4GB RAM or amd64 with 4GB and > memory hole remapping. > Work-around this problem with a bus_dma tag that requests bounce-buffers > for addresses >4GB. This causes some overhead, but given the maximum SCSI > bus speed of 160MB/s compared, the effect should hardly be noticeable. > The problem was reported by Mike Watters (mike at mwatters net) who also > verified that this fix cures the problem. > > Since this change is a NOOP on systems with less than 4GB RAM and fixes > data corruption (in RAM and on disk) on systems with more than 4GB, I hope > that this change is accepted for 8.0. Requested by: Stefan Esser (se at freebsd dot org)[1] Reviewed by: jhb, scottl [1] Stefan requested this be part of 8.0 but has been unavailable to do the MFC since submitting the request. We want to get 8.0-RC3 started so I'm doing the merges with re@ hat on. Approved by: re (bz) Revision Changes Path 1.72.2.1.2.2 +1 -1 src/sys/dev/sym/sym_hipd.c