All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Balakowicz <m8@semihalf.com>
To: linuxppc-dev@ozlabs.org
Subject: BestComm ATA task on MPC52xx
Date: Sat, 02 Jun 2007 01:04:49 +0200	[thread overview]
Message-ID: <4660A611.9020909@semihalf.com> (raw)


Hi,

I am working on bringing up a DMA support for ATA controller on MPC52xx
and I am facing problems for which I am not pretty sure what the actual
root cause is.

There was a John Rigby's patch last year, which was based on arch/ppc
and drivers/ide (mpc52xx_ide.c). I use arch/powerpc and adopted to
libata version of mpc52xx_ide.c which is now merged to vanilla and is
called pata_mpc52xx.c. On top of this I have John Rigby's modifications
converted from ide to libata. Problems appear with the first DMA
transfer attempt, which happens during a driver probe when partition
table is read. There shall be a interrupt signaling a transfer end and
the handler (not present in John Rigby's code) should do the transfer
closing. But the interrupt is not received and after the cmd timeouts it
looks like ATA controller registers, BestComm registers, buffer
descriptors and BestComm ATA task variables are unchanged. So, it seems
that for some reason ATA BestComm task did not run/do it's job.

Did anyone had any success with ATA DMA on 52xx? Or maybe hear about
newer version of the ATA BestComm task, or some useful ways of debugging
BestComm stuff? I am planning to post my working code but need a day or
two to clean it up a little.

Thanks,
Marian

             reply	other threads:[~2007-06-01 23:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 23:04 Marian Balakowicz [this message]
2007-06-02  6:03 ` BestComm ATA task on MPC52xx Matt Sealey
2007-06-02  8:23   ` Marian Balakowicz

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=4660A611.9020909@semihalf.com \
    --to=m8@semihalf.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.