All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Mark Knecht <markknecht@gmail.com>
Cc: Robert Hancock <hancockrwd@gmail.com>,
	Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: Failed to initialize MSI interrupts && ioremap reserve_memtype failed -22
Date: Thu, 08 Apr 2010 08:37:11 +0200	[thread overview]
Message-ID: <4BBD7997.1020803@ladisch.de> (raw)
In-Reply-To: <v2h51f3faa71004072054y4733bf9bq80a04574bebbadba@mail.gmail.com>

Robert Hancock wrote:
> Hmm, not really clear to me why MSI wouldn't be used.. there aren't
> any kernel messages that seem to say why MSI would be disabled or
> unsupported. Unless maybe that particular model doesn't support MSI?

This Intel onboard adapter always supports MSI, and AFAICS there is no
MSI quirk for this chipset.

Mark, is CONFIG_PCI_MSI actually enabled?

> > ioremap reserve_memtype failed -22

ioremap is used by drivers (and sometimes by the kernel itself) to get
access to some device's memory-mapped I/O range.  "-22" is -EINVAL and
is returned by reserve_memtype to indicate that the requested memory
range includes both RAM and not-RAM.

Without a following error message, it's not possible to find out which
device that is, and where that funny address range comes from.  The fact
that there is no error message might indicate that this is harmless, but
if you want to find out more, add the following lines to
arch/x86/mm/ioremap.c directly after the error message:

		printk(KERN_ERR "phys_addr: %#Lx, size: %#Lx\n",
		       (u64)phys_addr, (u64)size);
		dump_stack();


Regards,
Clemens

  parent reply	other threads:[~2010-04-08  6:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05 20:55 Failed to initialize MSI interrupts && ioremap reserve_memtype failed -22 Mark Knecht
2010-04-07 14:54 ` Clemens Ladisch
2010-04-07 15:57   ` Mark Knecht
2010-04-07 23:46     ` Robert Hancock
2010-04-08  3:51       ` Mark Knecht
2010-04-08  3:54         ` Robert Hancock
2010-04-08  4:01           ` Mark Knecht
2010-04-08  6:37           ` Clemens Ladisch [this message]
2010-04-08 14:53             ` Mark Knecht
2010-04-08 15:00               ` Clemens Ladisch
2010-04-08 16:24                 ` Mark Knecht
2010-04-08 17:40                   ` Robert Hancock
2010-04-08 19:01                     ` Mark Knecht
2010-04-08 19:51                       ` Mark Knecht

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=4BBD7997.1020803@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markknecht@gmail.com \
    /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.