Date: Mon, 9 Nov 2009 18:09:10 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/sym sym_hipd.c Message-ID: <200911091809.nA9I9Q3G025031@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2009-11-09 18:09:10 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/sym sym_hipd.c Log: SVN rev 199095 on 2009-11-09 18:09:10Z by kensmith MFC r198719: > 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. Revision Changes Path 1.72.2.2 +1 -1 src/sys/dev/sym/sym_hipd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911091809.nA9I9Q3G025031>