public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rogério Brito" <rbrito@ime.usp.br>
To: Edward Donovan <edward.donovan@numble.net>
Cc: "Linus Torvalds" <torvalds@linux-foundation.org>,
	bugzilla-daemon@bugzilla.kernel.org,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Bjorn Helgaas" <bhelgaas@google.com>,
	linux-kernel@vger.kernel.org,
	"Márcia Coutinho de Brito" <mcbrito@gmail.com>
Subject: Re: [Bug 41722] Clevo M5X0JE hangs in ACPI init
Date: Sun, 8 Jan 2012 20:27:22 -0200	[thread overview]
Message-ID: <20120108222722.GB7058@ime.usp.br> (raw)
In-Reply-To: <CADdbW+HvKQRFJgcofZCjJrTtaPDpDhcw4UStuhyTUe1aKnD2JQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

Hi, Edward.

On Jan 06 2012, Edward Donovan wrote:
> I'll be interested to know if any IRQ handled by 2.6.38 isn't handled now,
> but I expect it will be.  I'm sorry if that isn't enough for this laptop,
> though -

I bisected the PCI stuff and ended up with a bad commit 12c22d6ef299ccf0955,
which was made by Linus:

,----[ git show 12c22d6ef299ccf0955e5756eb57d90d7577ac68 ]
| commit 12c22d6ef299ccf0955e5756eb57d90d7577ac68
| Author: Linus Torvalds <torvalds@linux-foundation.org>
| Date:   Wed Mar 26 11:22:40 2008 -0700
| 
|     Revert "PCI: remove transparent bridge sizing"
| (...)    
`----

The patch that I am using to make this laptop boot at least is essentially a
revert of that commit.

Just for the sake of documentation, I am attaching here the patch that makes
things work (at least partially).

Any directions to debug this properly are welcome.


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

[-- Attachment #2: do_not_size_subtractive_decoding_transparent_pci_to_pci_bridges.patch --]
[-- Type: text/x-diff, Size: 512 bytes --]

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;

  reply	other threads:[~2012-01-08 22:27 UTC|newest]

Thread overview: 53+ 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 [this message]
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
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

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=20120108222722.GB7058@ime.usp.br \
    --to=rbrito@ime.usp.br \
    --cc=bhelgaas@google.com \
    --cc=bugzilla-daemon@bugzilla.kernel.org \
    --cc=edward.donovan@numble.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcbrito@gmail.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox