[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090714092354.GL19087@amd.com>
Date: Tue, 14 Jul 2009 11:23:55 +0200
From: Joerg Roedel <joerg.roedel@....com>
To: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
CC: reif@...thlink.net, mingo@...e.hu, davem@...emloft.net,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
x86@...nel.org, tony.luck@...el.com, akpm@...ux-foundation.org
Subject: Re: [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h and
pci-dma-compat.h
On Tue, Jul 14, 2009 at 10:40:16AM +0900, FUJITA Tomonori wrote:
> On Mon, 13 Jul 2009 20:56:21 -0400
> Robert Reif <reif@...thlink.net> wrote:
>
> > FUJITA Tomonori wrote:
> > > This is the second version of the patchset to convert SPARC to
> > > asm-generic/dma-mapping-common.h and pci-dma-compat.h:
> > >
> > >
> > I still get the same runtime warning with this patch set at boot time.
> >
> > The bad address is within the kernel so it looks like
> > it's catching a real bug.
> >
> > cat kallsyms | grep f0007000
> > f0007000 T trapbase_cpu3
> >
> > WARNING: at lib/dma-debug.c:873 check_for_illegal_area+0xc8/0x100()
> > esp ffd7ba30: DMA-API: device driver maps memory from kernel text or
> > rodata [addr=f0007000] [len=4096]
> > Modules linked in: ext3 jbd sd_mod sun_esp esp_scsi scsi_transport_spi
>
> Ok, I looked at check_for_illegal_area() in dma-debug.
>
> What check_for_illegal_area() does looks bogus to me with some of I/O
> remapping hardware.
Can you be more specific about this one? check_for_illegal_area() should
not depend on any hardware because all it does is checking the machine
addresses to be mapped.
Joerg
--
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