[lkml]   [2010]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -v2] pci: clear bridge resource size if BIOS assign bad one
On Thu, 03 Jun 2010 13:43:03 -0700
Yinghai Lu <> wrote:

> Make sure We can reject wrong size from BIOS.
> Yannick found that video does not work with 2.6.34
> the root cause:
> BIOS assigned wrong range to pci bridge. and before 2.6.34 kernel will
> just get range that is needed.
> for 2.6.34.
> | d65245c PCI: don't shrink bridge resources
> will try to range size is bigger than old one.
> (used by boot stage multi-try to get big BAR size for pci bridge,
> and pcie hotplug to get big range)
> So try to 0 for old size for pci bridge in this boot stage case.
> Reported-by: Yannick <>
> Analyzed-by: Bjorn Helgaas <>
> Signed-off-by: Yinghai Lu <>

Bjorn, are you ok with this version? It would probably help to have
some comments here too (I can add them), indicating that we'll try to
reassign the resource later, rather than just ignoring it as the
existing comment implies.

Jesse Barnes, Intel Open Source Technology Center

 \ /
  Last update: 2010-06-08 23:47    [W:0.047 / U:2.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site