]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Workaround for PCIe 4GB boundary issue
authoremaste <emaste@FreeBSD.org>
Tue, 28 Feb 2012 19:42:40 +0000 (19:42 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 28 Feb 2012 19:42:40 +0000 (19:42 +0000)
commit40bea12fa6c45b4cd4dd90cf66c725a362f8e270
tree0aa2edfc17575c71bc44dc9625528ddf266b89a5
parentbfd7a07500d59035447033f67bf7408d4150ce05
Workaround for PCIe 4GB boundary issue

Enforce a boundary of no more than 4GB - transfers crossing a 4GB
boundary can lead to data corruption due to PCIe limitations.  This
change is a less-intrusive workaround that can be quickly merged back
to older branches; a cleaner implementation will arrive in HEAD later
but may require KPI changes.

This change is based on a suggestion by jhb@.

Reviewed by:    scottl, jhb
Sponsored by:   Sandvine Incorporated
MFC after:      3 days
sys/x86/x86/busdma_machdep.c