From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: Unconditional registering EMDA platform devices
Date: Fri, 24 Oct 2014 16:29:04 +0200 [thread overview]
Message-ID: <20141024142904.GC3142@lunn.ch> (raw)
Hi Matt
I've had a report of a Debian kernel running on a Marvell XP system
giving warnings:
[ 0.114771] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[ 0.114794] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
These seem to be coming from drivers/dma/emda.c
That driver has a subsys_initcall(edma_init);
and the edma_init function is unconditionally registering a driver and
a platform device. For a multiarch kernel, this is not a good idea.
Please could you make this conditionally. Maybe look into the DT and
see if the DMA is needed on the platform?
Thanks
Andrew
next reply other threads:[~2014-10-24 14:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 14:29 Andrew Lunn [this message]
2014-10-24 16:14 ` Unconditional registering EMDA platform devices Arnd Bergmann
2014-10-25 18:48 ` Uwe Kleine-König
2014-10-25 18:57 ` Arnd Bergmann
2014-11-06 10:22 ` Sekhar Nori
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=20141024142904.GC3142@lunn.ch \
--to=andrew@lunn.ch \
--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 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.