From: Robert Reif <reif@earthlink.net>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: davem@davemloft.net, sparclinux@vger.kernel.org,
linux-kernel@vger.kernel.org, x86@kernel.org,
tony.luck@intel.com, akpm@linux-foundation.org
Subject: Re: [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h and pci-dma-compat.h
Date: Mon, 13 Jul 2009 20:56:21 -0400 [thread overview]
Message-ID: <4A5BD7B5.1010904@earthlink.net> (raw)
In-Reply-To: <1247466360-13330-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>
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
scsi_mod
[f011ffa0 : check_for_illegal_area+0xc8/0x100 ]
[f0120b1c : debug_dma_map_sg+0x158/0x1c4 ]
[fe6946d0 : sbus_esp_map_sg+0xec/0xfc [sun_esp] ]
[fe684454 : esp_maybe_execute_command+0x1f0/0x6f8 [esp_scsi] ]
[fe6849e4 : esp_queuecommand+0x88/0x98 [esp_scsi] ]
[fe638c00 : scsi_dispatch_cmd+0x200/0x2a8 [scsi_mod] ]
[fe63f038 : scsi_request_fn+0x3f4/0x52c [scsi_mod] ]
[f00f6d64 : __generic_unplug_device+0x40/0x50 ]
[f00f6d90 : generic_unplug_device+0x1c/0x38 ]
[f00f4be4 : blk_unplug+0x14/0x24 ]
[f00ade1c : sync_buffer+0x48/0x60 ]
[f01f6d58 : __wait_on_bit+0x4c/0xa4 ]
[f01f6e60 : out_of_line_wait_on_bit+0xb0/0xc0 ]
[fe709320 : __ext3_get_inode_loc+0x3bc/0x418 [ext3] ]
[fe7093b4 : ext3_iget+0x38/0x65c [ext3] ]
[fe712c70 : ext3_get_journal+0xc/0xd4 [ext3] ]
next prev parent reply other threads:[~2009-07-14 0:56 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 6:25 [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h and pci-dma-compat.h FUJITA Tomonori
2009-07-13 6:25 ` [PATCH 1/8] remove flush_write_buffers() in dma-mapping-common.h FUJITA Tomonori
2009-08-05 1:48 ` FUJITA Tomonori
2009-07-13 6:25 ` [PATCH 2/8] IA64: remove NULL flush_write_buffers FUJITA Tomonori
2009-07-13 6:25 ` [PATCH 3/8] sparc: use dma_map_ops struct FUJITA Tomonori
2009-07-17 2:36 ` David Miller
2009-07-13 6:25 ` [PATCH 4/8] sparc: use asm-generic/dma-mapping-common.h FUJITA Tomonori
2009-07-17 2:37 ` David Miller
2009-07-13 6:25 ` [PATCH 5/8] sparc: remove no-op dma_4v_sync_single_for_cpu and dma_4v_sync_sg_for_cpu FUJITA Tomonori
2009-07-17 2:37 ` David Miller
2009-07-13 6:25 ` [PATCH 6/8] sparc: replace sbus_map_single and sbus_unmap_single with sbus_map_page and sbus_unmap_page FUJITA Tomonori
2009-07-17 2:37 ` David Miller
2009-07-13 6:25 ` [PATCH 7/8] sparc: use asm-generic/pci-dma-compat FUJITA Tomonori
2009-07-17 2:38 ` David Miller
2009-07-13 6:26 ` [PATCH 8/8] sparc: add CONFIG_DMA_API_DEBUG support FUJITA Tomonori
2009-07-17 2:39 ` David Miller
2009-07-14 0:56 ` Robert Reif [this message]
2009-07-14 1:40 ` [PATCH v2 0/8] sparc: use asm-generic/dma-mapping-common.h and pci-dma-compat.h FUJITA Tomonori
2009-07-14 9:23 ` Joerg Roedel
2009-07-14 20:12 ` David Miller
2009-07-18 11:06 ` Ingo Molnar
2009-08-03 3:21 ` David Miller
2009-08-03 5:54 ` Ingo Molnar
2009-08-04 4:21 ` David Miller
2009-07-21 16:05 ` Joerg Roedel
2009-07-21 19:15 ` David Miller
2009-08-03 5:56 ` Ingo Molnar
2009-08-04 4:22 ` David Miller
2009-08-04 7:45 ` Ingo Molnar
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=4A5BD7B5.1010904@earthlink.net \
--to=reif@earthlink.net \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
/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