Date: Fri, 16 Mar 2012 16:12:11 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r233036 - head/sys/x86/x86 Message-ID: <201203161612.q2GGCBtA025110@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Fri Mar 16 16:12:10 2012 New Revision: 233036 URL: http://svn.freebsd.org/changeset/base/233036 Log: Revert the PCIe 4GB boundary issue workaround now that the proper fix is in HEAD. Ok'd by: scottl Modified: head/sys/x86/x86/busdma_machdep.c Modified: head/sys/x86/x86/busdma_machdep.c ============================================================================== --- head/sys/x86/x86/busdma_machdep.c Fri Mar 16 15:46:44 2012 (r233035) +++ head/sys/x86/x86/busdma_machdep.c Fri Mar 16 16:12:10 2012 (r233036) @@ -227,14 +227,6 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_dma_tag_t newtag; int error = 0; - /* Always enforce at least a 4GB (2GB for PAE) boundary. */ -#if defined(__amd64__) - if (boundary == 0 || boundary > ((bus_addr_t)1 << 32)) - boundary = (bus_size_t)1 << 32; -#elif defined(PAE) - if (boundary == 0 || boundary > ((bus_addr_t)1 << 31)) - boundary = (bus_size_t)1 << 31; -#endif /* Basic sanity checking */ if (boundary != 0 && boundary < maxsegsz) maxsegsz = boundary;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203161612.q2GGCBtA025110>