From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: Boot time errors/warnings on snowball
Date: Tue, 17 Dec 2013 14:47:56 +0000 [thread overview]
Message-ID: <20131217144756.GJ19810@lee--X1> (raw)
In-Reply-To: <20131205094927.GJ26581@lee--X1>
Okay, so I think I figured this out.
Original comment from Olof:
> > > of_dma_request_slave_channel: dma-names property of node
> > > '/soc/msp at 80124000' missing or empty
> > > of_dma_request_slave_channel: dma-names property of node
> > > '/soc/msp at 80124000' missing or empty
> > > of_dma_request_slave_channel: dma-names property of node
> > > '/soc/msp at 80125000' missing or empty
> > > of_dma_request_slave_channel: dma-names property of node
> > > '/soc/msp at 80125000' missing or empty
> > > dma dma0chan22: [d40_config_memcpy] No memcpy
> > > dma dma0chan22: [d40_alloc_chan_resources] Failed to configure memcpy chan
> > > ux500-msp-i2s ux500-msp-i2s.1: Missing dma channel for stream: 0
> > > ux500-msp-i2s ux500-msp-i2s.1: ASoC: pcm constructor failed: -22
> > As far as I'm aware there shouldn't be any dependency or ordering
> > issues here. I planned on the transition from platform data to DT to
> > be fully seamless. We should be using the platform data up until we
> > remove the AUXDATA, but the driver (or the dmaengine) is attempting to
> > pull in DMA configuration from the Device Tree, which isn't populated
> > fully yet.
> >
> > There is something going on here that I am missing and I'd very much
> > like to get to the bottom of it before merging upstream.
Okay so the basic issue here is the way in which we're requesting our
DMA channel. The Sound DMA handlers make an assumption that because
we're enabling the device via Device Tree, our channels should be
allocated using dma_request_slave_channel(). Sadly this is a Device
Tree only routine and expects certain properties to be present,
including 'dma-names' mentioned above.
The solution is to continue using .compat_request_channel() until all
of the required Device Tree properties are provided. We will be able
to pull this back out to force full Device Tree enablement in the next
cycle.
When I mentioned the use of AUXDATA for smooth platform data -> Device
Tree transition, that only covers the slave configuration. Something
which only comes into force _after_ we've obtained the DMA
channel. Thus, it doesn't help us in this case.
> > Please remove the asoc/topic/ux500 altogether and I will resubmit in
> > its entirety once I've solved all of the issues.
> > Done - the whole thing with the MMC is very weird.
Right, and was actually unrelated. -next still has this issue. Sadly
this will have to be looked at by someone other than myself, as I have
far too much on at the moment.
Linus, can you ask Ulf to have a look at this please?
So unless there are any objections, I'm going to fix-up my set now and
resubmit.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2013-12-17 14:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 16:37 Boot time errors/warnings on snowball Olof Johansson
2013-12-04 16:47 ` Linus Walleij
2013-12-04 17:26 ` Lee Jones
2013-12-04 17:30 ` Olof Johansson
2013-12-04 17:38 ` Lee Jones
2013-12-04 17:39 ` Olof Johansson
2013-12-04 17:36 ` Olof Johansson
2013-12-04 17:51 ` Lee Jones
2013-12-04 17:58 ` Olof Johansson
2013-12-04 18:10 ` Lee Jones
2013-12-04 18:59 ` Mark Brown
2013-12-05 8:00 ` Lee Jones
2013-12-05 9:49 ` Lee Jones
2013-12-05 10:15 ` Mark Brown
2013-12-17 14:47 ` Lee Jones [this message]
2014-01-07 14:01 ` Linus Walleij
2013-12-04 23:17 ` Russell King - ARM Linux
2013-12-05 8:04 ` Lee Jones
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=20131217144756.GJ19810@lee--X1 \
--to=lee.jones@linaro.org \
--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