Re: [RFC PATCH 1/1] PCI: skip release and reallocation of io portresources
From: Jesse Barnes
Date: Fri Jul 02 2010 - 17:37:48 EST
On Wed, 30 Jun 2010 16:59:49 -0700
Ram Pai <linuxram@xxxxxxxxxx> wrote:
> On Wed, Jun 30, 2010 at 04:10:26PM -0700, Linus Torvalds wrote:
> > On Wed, Jun 30, 2010 at 2:15 PM, Ram Pai <linuxram@xxxxxxxxxx> wrote:
> > > Â Â Â PCI: skip release and reallocation of io port resources
> >
> > Gaah. This still looks like just total ad-hoc hackery. The logic for
> > it all seems very fragile, just a random case made up from the one
> > failing issue. There's no underlying logic or design to it.
> >
> > I still think that we should just make people explicitly ask for a
> > blank slate if the bios allocations don't work out.
>
> and interactively allocate resource?
No I don't think we want to add any prompts to the kernel boot
process. :)
> > Rather than trying
> > to fix it up automatically, which has been a total rats nest of random
> > crud.
>
> Can Yinghai Lu's patch 'pci=try=' be some temporary middle ground till
> a more elaborate patch is found?
>
> His suggestion partly meets your suggestion. It does not automatically
> reassign unless the user explicitly asks for it. Hence should not
> break any working systems, at the same time can handle system like
> mine.
pci=try just doesn't communicate much, it should be something like
pci=override_bios and do as Linus suggests.
But we should continue to shoot for not ever having to use that option
on normal systems.
--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/