LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: Anton Vorontsov <avorontsov@ru.mvista.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] fsl_rio: Pass the proper device to dma mapping routines
Date: Tue, 21 Apr 2009 15:35:01 -0500	[thread overview]
Message-ID: <2CFF27D3-1C31-4035-AC98-82F6F48EA32D@kernel.crashing.org> (raw)
In-Reply-To: <20090418174852.GA28955@oksana.dev.rtsoft.ru>


On Apr 18, 2009, at 12:48 PM, Anton Vorontsov wrote:

> The driver should pass a device that specifies internal DMA ops, but
> currently NULL pointer is passed, therefore following bug appears
> during boot up:
>
>  ------------[ cut here ]------------
>  Kernel BUG at c0018a7c [verbose debug info unavailable]
>  Oops: Exception in kernel mode, sig: 5 [#1]
>  [...]
>  NIP [c0018a7c] fsl_rio_doorbell_init+0x34/0x60
>  LR [c0018a70] fsl_rio_doorbell_init+0x28/0x60
>  Call Trace:
>  [ef82bda0] [c0018a70] fsl_rio_doorbell_init+0x28/0x60 (unreliable)
>  [ef82bdc0] [c0019160] fsl_rio_setup+0x6b8/0x84c
>  [ef82be20] [c02d28ac] fsl_of_rio_rpn_probe+0x30/0x50
>  [ef82be40] [c0234f20] of_platform_device_probe+0x5c/0x84
>  [...]
>  ---[ end trace 561bb236c800851f ]---
>
> This patch fixes the issue.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/sysdev/fsl_rio.c |   28 +++++++++++++++++-----------
> 1 files changed, 17 insertions(+), 11 deletions(-)

applied to merge.

- k

      reply	other threads:[~2009-04-21 20:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-18 17:48 [PATCH] fsl_rio: Pass the proper device to dma mapping routines Anton Vorontsov
2009-04-21 20:35 ` Kumar Gala [this message]

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=2CFF27D3-1C31-4035-AC98-82F6F48EA32D@kernel.crashing.org \
    --to=galak@kernel.crashing.org \
    --cc=avorontsov@ru.mvista.com \
    --cc=linuxppc-dev@ozlabs.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