lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOtrxKOkqxBepX19E1DJu+KSN=DJxxnWi3T9DnJR-C8pRfA-tg@mail.gmail.com>
Date:	Mon, 9 Jan 2012 23:57:59 -0200
From:	Rogério Brito <rbrito@....usp.br>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
Cc:	bugzilla-daemon@...zilla.kernel.org,
	Edward Donovan <edward.donovan@...ble.net>,
	Thomas Gleixner <tglx@...utronix.de>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	linux-kernel@...r.kernel.org,
	Márcia Coutinho de Brito <mcbrito@...il.com>,
	Jesse Barnes <jbarnes@...tuousgeek.org>,
	Yinghai Lu <yinghai@...nel.org>, Ram Pai <linuxram@...ibm.com>
Subject: Re: [Bug 41722] Clevo M5X0JE hangs in ACPI init

Hi, Linus.

On Sun, Jan 8, 2012 at 20:23, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
> On Sun, Jan 8, 2012 at 2:13 PM, Rogério Brito <rbrito@....usp.br> 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@...e.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ