[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071209143237.1e608d9f@laptopd505.fenrus.org>
Date: Sun, 9 Dec 2007 14:32:37 -0800
From: Arjan van de Ven <arjan@...radead.org>
To: Chris Rankin <rankincj@...oo.com>
Cc: Dan Williams <dcbw@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org
Subject: Re: [2.6.23.9] hostap_plx locks up PC when reading PCI I/O memory
On Sun, 9 Dec 2007 22:06:21 +0000 (GMT)
Chris Rankin <rankincj@...oo.com> wrote:
> --- Arjan van de Ven <arjan@...radead.org> wrote:
> > can you check if the attr_mem is properly ioremap'd ?
> > (probably with ioremap_nocache)
>
> Can you elaborate, please? I am not familiar with these I/O
> primitives.
the memory you feed to readl() and co isnt the actual PCI resource;
you need to use ioremap() on the PCI resource to get a pointer that you can then feed to readl()....
>
> > I wonder if there's anything else in that area as well..
>
> So I should check /proc/iomem? But wouldn't Linux complain if two PCI
> devices conflicted as you're suggesting?
the other one might not be PCI..
--
If you want to reach me at my work email, use arjan@...ux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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