]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "PCI: update bridge resources to get more big ranges in PCI assign unssigned"
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 May 2010 01:39:45 +0000 (18:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 May 2010 01:39:45 +0000 (18:39 -0700)
commit6608d2b985b019fcf3b4a4abd05208b933da9b7a
treee777fd34d8772fe3a89491f6669161c66c78a2cf
parent27bccceb6a4ed9c2b02d254eccb7e241c46ad555
Revert "PCI: update bridge resources to get more big ranges in PCI assign unssigned"

This reverts commit ace4435dfd415ee571aad6672fe89d17506b33dc, because it
can cause problems with some devices not getting any resources at all
when the resource tree is re-allocated.

For an example of this, see

https://bugzilla.kernel.org/show_bug.cgi?id=15960
(originally https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4982)
(lkml thread: http://lkml.org/lkml/2010/4/19/20)

where Peter Henriksson reported his Xonar DX sound card gone, because
the IO port region was no longer allocated.

Reported-bisected-and-tested-by: Peter Henriksson <peter.henriksson@gmail.com>
Requested-by: Andrew Morton <akpm@linux-foundation.org>
Requested-by: Clemens Ladisch <clemens@ladisch.de>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pci/setup-bus.c