mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Giampaolo Bellini <iw2lsi@gmail.com>
Cc: Linux PCI <linux-pci@vger.kernel.org>,
	linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: PCI conflicts with latest kernels
Date: Mon, 15 Mar 2010 08:42:48 -0700	[thread overview]
Message-ID: <201003150942.49987.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <463bccef1003141611q26229896y5d75b035552ff6fc@mail.gmail.com>

[I re-added the CC: list, so the archives will have the whole
conversation, in case anybody else has similar problems or
can help answer this.]

On Sunday 14 March 2010 05:11:55 pm Giampaolo Bellini wrote:
> I apply the patch but seems that it does not solve conflicts

Yes, I didn't expect it to fix anything, only to tell us more about
what's happening.

But from your dmesg, I think the problem is that the e820 map reserves
0xe0000-0x100000, and then PCI device 0b.0 has a BAR programmed to part
of that same region:

   BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
  pci 0000:00:0b.0: reg 10: [mem 0x000e0000-0x000e0fff]
  pci 0000:00:0b.0: address space collision: [mem 0x000e0000-0x000e0fff] already in use

I don't know enough about the e820 map to know whether this is a bug in
the e820 map or a problem in the PCI BAR programming, or what.

> as far I understand, the problem was there also with 2.6.29 but was not
> logged the same way and/or with the same debug-level due to changes made in
> *drivers/pci/setup-res.c* (expecially in pci_claim_resource()))

Yes.  In 2.6.29, pcibios_allocate_resources() used request_resource()
directly and logged errors with dev_info().  In 2.6.34-rc1, we use
pci_claim_resource(), which calls request_resource() and logs errors
with dev_err(), so we now have a higher priority message than we used
to have.

> machine, however, seems stable... for me the problem is that I'm trying to
> avoid text-messages during boot stage and printk(KERN_ERR "message") cause
> the system to switch in text mode & show such errors...

If you only want to hide the message, you can use "loglevel=2".

> as you can see, I've try also with pci=use_crs

Since you don't have ACPI, pci=use_crs and pci=nocrs are not relevant
for your system.

Bjorn


  parent reply	other threads:[~2010-03-15 15:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 10:31 Giampaolo Bellini
2010-03-14 20:12 ` Rafael J. Wysocki
2010-03-14 21:12   ` Bjorn Helgaas
     [not found]     ` <463bccef1003141611q26229896y5d75b035552ff6fc@mail.gmail.com>
2010-03-15 15:42       ` Bjorn Helgaas [this message]
2010-03-22 14:41         ` Otavio Salvador
2010-03-22 14:50           ` Bjorn Helgaas
2010-03-22 21:27             ` Otavio Salvador
2010-03-22 22:18               ` 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=201003150942.49987.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=iw2lsi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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

all inboxes | Powered by JetHome®