Re: [Bug 41722] Clevo M5X0JE hangs in ACPI init

From: RogÃrio Brito
Date: Mon Jan 09 2012 - 20:58:00 EST


Hi, Linus.

On Sun, Jan 8, 2012 at 20:23, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, Jan 8, 2012 at 2:13 PM, RogÃrio Brito <rbrito@xxxxxxxxxx> wrote:
>>
>> It doesn't boot with a vanilla kernel. It only boots when I pass the options
>> above *and* compile the kernel with the following patch applied:
>>
>> ,----[ do_not_size_subtractive_decoding_transparent_pci_to_pci_bridges.patch ]
>> | diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
>> | index 86b69f85..84543f5 100644
>> | --- a/drivers/pci/setup-bus.c
>> | +++ b/drivers/pci/setup-bus.c
>> | @@ -849,6 +849,10 @@ void __ref __pci_bus_size_bridges(struct pci_bus *bus,
>> | Â Â Â Â Â Â Â break;
>> |
>> | Â Â Â case PCI_CLASS_BRIDGE_PCI:
>> | + Â Â Â Â Â Â /* don't size subtractive decoding (transparent)
>> | + Â Â Â Â Â Â Â* PCI-to-PCI bridges */
>> | + Â Â Â Â Â Â if (bus->self->transparent)
>> | + Â Â Â Â Â Â Â Â Â Â break;
>> | Â Â Â Â Â Â Â pci_bridge_check_ranges(bus);
>> | Â Â Â Â Â Â Â if (bus->self->is_hotplug_bridge) {
>> | Â Â Â Â Â Â Â Â Â Â Â additional_io_size Â= pci_hotplug_io_size;
>> `----
>
> Ahh. I'd forgotten about that particular PCI patch.

Thanks for acknowledging that issue.

> I think we should try to re-do that "avoid sizing transparent bridges"
> commit, because it really should make it much easier to do PCI
> allocations under some very common situations (there's a *lot* of
> common intel transparent PCI bridges).

All this PCI stuff is alien to me, but I am learning some by osmosis
here, which is not bad at all. :)

I only fear that if the patch above is applied and proves to have ill
effects if reverting it will leave this computer (and, potentially,
some others) without booting. As I always say, I can test anything
that you guys want me to do, given some guidance.


Thanks,

--
RogÃrio Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org : Packages for LaTeX : algorithms.berlios.de
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
--
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/