| To: | "Kevin D. Kissell" <kevink@paralogos.com> |
|---|---|
| Subject: | Re: oops in futex_init() |
| From: | Manuel Lauss <mano@roarinelk.homelinux.net> |
| Date: | Thu, 30 Apr 2009 13:22:43 +0200 |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, Linux-MIPS <linux-mips@linux-mips.org> |
| In-reply-to: | <49F98826.3030708@paralogos.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20090428124645.GA14347@roarinelk.homelinux.net> <20090429060317.GB15627@linux-mips.org> <20090429082556.GA22844@roarinelk.homelinux.net> <20090429083349.GB26289@linux-mips.org> <20090429114042.GA24576@roarinelk.homelinux.net> <20090429141411.GA25905@roarinelk.homelinux.net> <20090429143523.GA10242@linux-mips.org> <20090429153221.GA26387@roarinelk.homelinux.net> <20090430104130.GA1878@roarinelk.homelinux.net> <49F98826.3030708@paralogos.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.16 (2007-06-09) |
On Thu, Apr 30, 2009 at 01:14:46PM +0200, Kevin D. Kissell wrote:
> Manuel Lauss wrote:
> > Hi,
> >
> > This is really embarrassing: The oops is what happens when you
> > ioremap(0x10) and write 0xffffffff at the resulting address (0xa0000010).
> >
> This pretty much implies that _CACHE_UNCACHED was passed in the flags
> value to ioremap, so it simply returned the kseg1 address. By any
uncached is default for plain ioremap(), says io.h:
#define ioremap(offset, size) \
__ioremap_mode((offset), (size), _CACHE_UNCACHED)
Apparently one can ioremap everything on mips except RAM in use at
0x8xxxxxxxx.
Manuel Lauss
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: oops in futex_init(), Kevin D. Kissell |
|---|---|
| Next by Date: | Re: oops in futex_init(), Ralf Baechle |
| Previous by Thread: | Re: oops in futex_init(), Kevin D. Kissell |
| Next by Thread: | Re: oops in futex_init(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |