Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 18:30:44 +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: r252166 - head/sys/dev/pci
Message-ID:  <201306241830.r5OIUiD6089417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Jun 24 18:30:44 2013
New Revision: 252166
URL: http://svnweb.freebsd.org/changeset/base/252166

Log:
  Disable hw.pci.realloc_bars by default.  It wasn't needed for the original
  tester of this fix, and realloc_bars breaks some other cases as a small
  BAR that is reallocated can end up grabbing space needed by a much larger
  BAR in the existing window of a PCI-PCI bridge.
  
  MFC after:	3 days

Modified:
  head/sys/dev/pci/pci.c

Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c	Mon Jun 24 18:27:44 2013	(r252165)
+++ head/sys/dev/pci/pci.c	Mon Jun 24 18:30:44 2013	(r252166)
@@ -280,7 +280,7 @@ SYSCTL_INT(_hw_pci, OID_AUTO, enable_io_
 enable these bits correctly.  We'd like to do this all the time, but there\n\
 are some peripherals that this causes problems with.");
 
-static int pci_do_realloc_bars = 1;
+static int pci_do_realloc_bars = 0;
 TUNABLE_INT("hw.pci.realloc_bars", &pci_do_realloc_bars);
 SYSCTL_INT(_hw_pci, OID_AUTO, realloc_bars, CTLFLAG_RW,
     &pci_do_realloc_bars, 0,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306241830.r5OIUiD6089417>