From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v2] sh: Update dma-sh api
Date: Sat, 14 Mar 2009 01:12:00 +0000 [thread overview]
Message-ID: <1236993120.6486.4.camel@localhost.localdomain> (raw)
In-Reply-To: <49B5D5E4.4060801@renesas.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 6534 bytes --]
On Sat, 2009-03-14 at 00:09 +0900, Paul Mundt wrote:
> On Fri, Mar 13, 2009 at 12:05:25PM +0000, Adrian McMenamin wrote:
> > 2009/3/10 Paul Mundt <lethal@linux-sh.org>:
> > > On Tue, Mar 10, 2009 at 04:22:37PM +0900, Nobuhiro Iwamatsu wrote:
> > >> Paul Mundt wrote:
> > >> >On Tue, Mar 10, 2009 at 01:48:14PM +0900, Nobuhiro Iwamatsu wrote:
> >
> > ...
> >
> > >> I see.
> > >> I have already been writing the driver of DMAengine, and I am testing.
> > >> To make old DMA-API coexist with dma engine in these patches, I wrote.
> > >>
> > > Ah, ok, I wasn't aware that that was what your intention was. In that
> > > case, once the Dreamcast fallout is fixed, I'll merge these.
> >
> >
> > Just come across this. I am happy to test any new patch on the
> > Dreamcast once it's done. Just let me know and kick me if I don't
> > respond.
>
> The updated version of this is merged now, so please see if there are any
> regressions in the current git tree.
Doesn't work I'm afraid:
[ 0.000000] Linux version 2.6.29-rc7-00215-g600fa57 (adrian@bossclass) (gcc version 4.2.2) #1 PREEMPT Sat Mar 14 00:53:47 GMT 2009
[ 0.000000] Boot params:
[ 0.000000] ... MOUNT_ROOT_RDONLY - 91f0c75f
[ 0.000000] ... RAMDISK_FLAGS - e1ff3018
[ 0.000000] ... ORIG_ROOT_DEV - 89093610
[ 0.000000] ... LOADER_TYPE - 3612e108
[ 0.000000] ... INITRD_START - 46088904
[ 0.000000] ... INITRD_SIZE - 6002306c
[ 0.000000] console [sercon0] enabled
[ 0.000000] Booting machvec: Sega Dreamcast
[ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x0000c000 -> 0x0000d000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x0000c000 -> 0x0000d000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4064
[ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot\x192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 console=ttySC1 panic=7
[ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes)
[ 0.000000] Using tmu for system timer
[ 0.004322] Console: colour dummy device 80x25
[ 0.009399] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.016935] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.026888] Memory: 12400k/16384k available (2456k kernel code, 623k data, 124k init)
[ 0.035501] PVR\x040205c1 CVR\0000000 PRR\0000000
[ 0.040841] I-cache : n_ways=1 n_sets%6 way_incr92
[ 0.046567] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
[ 0.054406] D-cache : n_ways=1 n_setsQ2 way_incr\x16384
[ 0.060231] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
[ 0.068538] SLUB: Genslabs\x10, HWalign2, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.077089] Calibrating delay loop (skipped)... 199.50 BogoMIPS PRESET (lpj99012)
[ 0.086987] Mount-cache hash table entries: 512
[ 0.097040] CPU: SH7750
[ 0.128986] net_namespace: 296 bytes
[ 0.134762] NET: Registered protocol family 16
[ 0.266443] bio: create slab <bio-0> at 0
[ 0.292390] DMA: Registering DMA API.
[ 0.297156] DMAC Address Error0 request_irq fail
[ 0.302362] Fault in unaligned fixup: 0000 [#1]
[ 0.307267] Modules linked in:
[ 0.310696]
[ 0.312257] Pid : 1, Comm: swapper
[ 0.316168] CPU : 0 Not tainted (2.6.29-rc7-00215-g600fa57 #1)
[ 0.316197]
[ 0.325248] PC is at request_dma+0x2c/0xc0
[ 0.329693] PR is at request_dma+0x1e/0xc0
[ 0.334162] PC : 8c1c40cc SP : 8cc1ff00 SR : 400001f1 TEA : 0000001a
[ 0.341421] R0 : 00000000 R1 : 40000101 R2 : 8c2feb94 R3 : 8c2feb94
[ 0.348673] R4 : 00000002 R5 : 8c2bed08 R6 : 8cc47c58 R7 : 00000000
[ 0.355926] R8 : ffffffea R9 : 00000000 R10 : 8c2bed08 R11 : 00000000
[ 0.363165] R12 : 8c315500 R13 : 8c323064 R14 : 8cc1ff00
[ 0.368990] MACH: 00000000 MACL: 00000a80 GBR : 00000000 PR : 8c1c40be
[ 0.376220]
[ 0.376234] Call trace:
[ 0.380641] [<8c315516>] pvr2_dma_init+0x16/0x40
[ 0.385669] [<8c002060>] do_one_initcall+0x0/0x1a0
[ 0.390912] [<8c00208c>] do_one_initcall+0x2c/0x1a0
[ 0.396261] [<8c04d1ee>] register_irq_proc+0x6e/0xc0
[ 0.401696] [<8c04d27a>] init_irq_proc+0x3a/0x80
[ 0.406753] [<8c04d180>] register_irq_proc+0x0/0xc0
[ 0.412094] [<8c04a040>] irq_to_desc+0x0/0x40
[ 0.416863] [<8c304528>] kernel_init+0x68/0x120
[ 0.421908] [<8c002060>] do_one_initcall+0x0/0x1a0
[ 0.427122] [<8c003c88>] kernel_thread_helper+0x8/0x20
[ 0.432760] [<8c3044c0>] kernel_init+0x0/0x120
[ 0.437621] [<8c003c80>] kernel_thread_helper+0x0/0x20
[ 0.443317]
[ 0.444873] Code:
[ 0.446971] 8c1c40c6: ldc r0, sr
[ 0.451456] 8c1c40c8: mov r1, r0
[ 0.455911] 8c1c40ca: and #-16, r0
[ 0.460557] ->8c1c40cc: mov.l @(48,r8), r9
[ 0.465623] 8c1c40ce: mov #1, r1
[ 0.470090] 8c1c40d0: tst r0, r0
[ 0.474580] 8c1c40d2: mov.l r1, @(48,r8)
[ 0.479644] 8c1c40d4: bt 8c1c40e0
[ 0.484259] 8c1c40d6: and #-16, r0
[ 0.488887]
[ 0.490453] Process: swapper (pid: 1, stack limit = 8cc1e001)
[ 0.496744] Stack: (0x8cc1ff00 to 0x8cc20000)
[ 0.501503] ff00: 8c315516 8cc1ff18 8c321718 8c32148c 8c002060 8c321530 8c00208c 8cc1ff20
[ 0.510632] ff20: 00000001 00000000 8c32ba48 8cc1fef8 8cc47600 8cc46d20 8c04d1ee 8cc1ff48
[ 0.519864] ff40: 8c2ee0a4 8cc1ff4a 3431ff14 00000032 00000000 8c04d27a 8cc1ff6c 8c04d180
[ 0.529019] ff60: 8c04a040 8c304528 8cc1ff84 00000000 00000000 8c321718 8c32148c 8c002060
[ 0.538237] ff80: 8c321530 8c003c88 8cc1ff9c 00000000 00000000 00000000 00000000 00000000
[ 0.547379] ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 8c3044c0 00000000
[ 0.556470] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.565759] ffe0: 8cc1ffa4 8c003c80 00000000 40000000 00000000 00000000 00000000 00000000
[ 0.575044] ---[ end trace 4eaa2a86a8e2da22 ]---
[ 0.580220] Kernel panic - not syncing: Attempted to kill init!
[ 0.586833] Rebooting in 7 seconds..
0x8c1c40cc corresponds to arch/sh/include/asm/cmpxchg-irq.h:9
0x8c1c40be is arch/sh/drivers/dma/dma-api.c:198
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-03-14 1:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 2:52 [PATCH v2] sh: Update dma-sh api Nobuhiro Iwamatsu
2009-03-10 4:48 ` Nobuhiro Iwamatsu
2009-03-10 6:02 ` Paul Mundt
2009-03-10 7:22 ` Nobuhiro Iwamatsu
2009-03-10 7:23 ` Paul Mundt
2009-03-13 12:05 ` Adrian McMenamin
2009-03-13 15:09 ` Paul Mundt
2009-03-14 1:12 ` Adrian McMenamin [this message]
2009-03-16 2:18 ` Nobuhiro Iwamatsu
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=1236993120.6486.4.camel@localhost.localdomain \
--to=adrian@newgolddream.dyndns.info \
--cc=linux-sh@vger.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