linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] dma: imx-sdma: Add ROM script addresses to driver
Date: Sat, 31 Aug 2013 10:56:36 +0200	[thread overview]
Message-ID: <20130831085636.GA30197@pengutronix.de> (raw)
In-Reply-To: <CAHCPf3vYTW7=s663+mEnesRX=MoSc8VwN5i=RB0Zm3J727_t2Q@mail.gmail.com>

On Thu, Aug 29, 2013 at 12:23:02PM -0500, Matt Sealey wrote:
> On Tue, Aug 20, 2013 at 10:02 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote:
> >
> >> What I'd really like to see is the "waiting on a firmware that doesn't
> >> exist when there is a working ROM version of those scripts in the SoC"
> >
> > Then this patch is for you. This is exactly what the patch solves.
> 
> Only by changing the device tree and not specifying a firmware
> filename. The driver probes, knows about ROM script addresses as per
> your patch, tries to load a new file from disk; same hang. What you
> have now is a way to use a potentially buggy script with several
> functions missing (ROM script isn't as full-featured as the file-based
> one on some chips) or a hang on boot if you misplaced a firmware which
> is notoriously hard to get hold of..
> 
> How do we resolve this except to load the firmware pre-Linux (or put
> the firmware in the tree, argh) and describe the loaded firmware and
> offsets? Once it's in the internal SDMA code RAM all the versioning
> and headers go away..

This seems quite academic. In theory there are many fancy things you can
do with the SDMA engine. In practice it is only used for audio. This
usecase is covered well by the current code and now even without loading
additional firmware. If you have the need for improvements feel free to
send patches.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

      reply	other threads:[~2013-08-31  8:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 12:16 [PATCH] dma: imx-sdma: Add ROM script addresses to driver Sascha Hauer
2013-08-19 12:16 ` [PATCH 1/3] dma: imx-sdma: Use struct for driver data Sascha Hauer
2013-08-19 12:16 ` [PATCH 2/3] dma: imx-sdma: Add ROM script addresses to driver Sascha Hauer
2013-08-19 14:41   ` Shawn Guo
2013-08-19 17:39     ` Sascha Hauer
2013-08-20  2:35       ` Shawn Guo
2013-08-20  6:42         ` Sascha Hauer
2013-08-19 12:16 ` [PATCH 3/3] ARM: i.MX: remove sdma script address arrays from platform data Sascha Hauer
2013-08-19 22:23 ` [PATCH] dma: imx-sdma: Add ROM script addresses to driver Matt Sealey
2013-08-20  7:00   ` Sascha Hauer
2013-08-20 13:53     ` Matt Sealey
2013-08-20 15:02       ` Sascha Hauer
2013-08-29 17:23         ` Matt Sealey
2013-08-31  8:56           ` Sascha Hauer [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=20130831085636.GA30197@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).