Re: [RFC PATCH 1/1] PCI: skip release and reallocation of io port resources
From: Linus Torvalds
Date: Tue Jul 06 2010 - 19:59:10 EST
On Tue, Jul 6, 2010 at 4:13 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>
> So you want to use pci=override_bios to reallocate all bios assigned resource include
> peer root buses resources and pci bridge resource and pci devices BAR?
In a perfect world, we'd never need this at all, but sicne that's not
an option, the second-best alternative might be something like the
following:
pci=override=off # default
pci=override=conflict # override only on conflicts
pci=override=<device> # clear BIOS allocations for <device> (and any
children, if it's a bus)
and possibly
pci=override=always # ignore BIOS allocations entirely
although I suspect that last one isn't really usable, since at a
minimum you'd have to honor things that ACPI ends up depending on.
Which is pretty much always going to happen for _some_ device.
What I _don't_ think is a good idea is to call it "try=1" and "try=2"
which is entirely uncomprehensible. Also, I do think we have to
default to "override=off", since even the "only for conflicts"
obviously triggers problems.
Linus
--
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/