From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Rogério Brito" <rbrito@ime.usp.br>,
bugzilla-daemon@bugzilla.kernel.org,
"Edward Donovan" <edward.donovan@numble.net>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Bjorn Helgaas" <bhelgaas@google.com>,
linux-kernel@vger.kernel.org,
"Márcia Coutinho de Brito" <mcbrito@gmail.com>,
"Yinghai Lu" <yinghai@kernel.org>,
"Ram Pai" <linuxram@us.ibm.com>
Subject: Re: [Bug 41722] Clevo M5X0JE hangs in ACPI init
Date: Mon, 9 Jan 2012 11:22:07 -0800 [thread overview]
Message-ID: <20120109112207.7f993845@jbarnes-desktop> (raw)
In-Reply-To: <CA+55aFxmj_+0eLYqKZb6qWb_Zc4E4R8WrmbsVgv5BbNwvnqouQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]
On Sun, 8 Jan 2012 14:23:29 -0800
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Sun, Jan 8, 2012 at 2:13 PM, Rogério Brito <rbrito@ime.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.
>
> That is definitely the right thing to do, and commit 8fa5913d54f3
> ("PCI: remove transparent bridge sizing") did exactly that, but then
> we reverted it in commit 12c22d6ef299 because it caused some odd
> problems for some people.
>
> 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).
>
> Jesse, Yinghai, Ram - should we try to just re-do that commit in this
> merge window, and see how that goes? We can always revert it again if
> it causes problems..
I don't remember what problems we hit, but if Ram and Yinghai are
willing to take a look at them we should go ahead and try again.
Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-01-09 19:22 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-41722-5003@https.bugzilla.kernel.org/>
[not found] ` <201109062222.p86MMlK9023363@demeter2.kernel.org>
2012-01-07 1:31 ` [Bug 41722] Clevo M5X0JE hangs in ACPI init Rogério Brito
2012-01-07 1:50 ` Linus Torvalds
2012-01-07 4:19 ` Edward Donovan
2012-01-08 22:27 ` Rogério Brito
2012-01-09 4:20 ` Bjorn Helgaas
2012-01-10 2:12 ` Rogério Brito
2012-01-08 22:13 ` Rogério Brito
2012-01-08 22:23 ` Linus Torvalds
2012-01-09 19:22 ` Jesse Barnes [this message]
2012-01-09 19:41 ` Linus Torvalds
2012-01-10 1:32 ` Yinghai Lu
2012-01-10 2:41 ` Rogério Brito
2012-01-10 5:07 ` Yinghai Lu
2012-01-11 7:04 ` Rogério Brito
2012-01-12 5:06 ` Yinghai Lu
2012-01-13 11:59 ` Rogério Brito
2012-01-13 17:29 ` Yinghai Lu
2012-01-13 22:24 ` Yinghai Lu
2012-01-14 2:01 ` Rogério Brito
2012-01-14 7:09 ` Rogério Brito
2012-01-14 21:05 ` Yinghai Lu
2012-01-16 23:08 ` Bjorn Helgaas
2012-01-19 3:50 ` Rogério Brito
2012-01-19 5:06 ` Yinghai Lu
2012-01-19 13:48 ` Rogério Brito
2012-01-19 16:12 ` Yinghai Lu
2012-01-19 16:15 ` Rogério Brito
2012-01-19 17:20 ` Rogério Brito
2012-01-19 19:48 ` Yinghai Lu
2012-01-21 9:26 ` Ram Pai
2012-01-21 10:35 ` Yinghai Lu
2012-01-24 22:18 ` Rogério Brito
2012-01-24 22:53 ` Bjorn Helgaas
2012-01-25 0:19 ` Yinghai Lu
2012-01-25 0:34 ` Linus Torvalds
2012-01-25 0:57 ` Yinghai Lu
2012-01-25 1:55 ` Rogério Brito
2012-01-25 2:33 ` Rogério Brito
2012-01-25 2:39 ` Rogério Brito
2012-01-25 23:58 ` Rogério Brito
2012-01-26 2:03 ` Yinghai Lu
2012-01-26 11:16 ` Rogério Brito
2012-01-27 3:41 ` Bjorn Helgaas
2012-02-06 23:11 ` Bjorn Helgaas
2012-02-07 0:21 ` Rogério Brito
2012-01-27 6:53 ` Yinghai Lu
2012-01-10 5:24 ` Bjorn Helgaas
2012-01-11 7:05 ` Rogério Brito
2012-01-11 10:45 ` Ram Pai
2012-01-10 1:57 ` Rogério Brito
2012-01-10 9:25 ` Edward Donovan
2012-01-11 7:15 ` Rogério Brito
2012-01-08 0:55 ` Márcia Brito
[not found] <bug-41722-41252@https.bugzilla.kernel.org/>
[not found] ` <20120622102904.12F5411F7FA@bugzilla.kernel.org>
2012-06-22 19:32 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120109112207.7f993845@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=bhelgaas@google.com \
--cc=bugzilla-daemon@bugzilla.kernel.org \
--cc=edward.donovan@numble.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxram@us.ibm.com \
--cc=mcbrito@gmail.com \
--cc=rbrito@ime.usp.br \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.