SUPERH platform development
 help / color / mirror / Atom feed
* SDHI and MMCIF with kzm9g-reference
@ 2013-03-01 11:08 Simon Horman
  2013-03-01 11:34 ` Guennadi Liakhovetski
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Simon Horman @ 2013-03-01 11:08 UTC (permalink / raw)
  To: linux-sh

Hi Guennadi,

this is a heads-up about the state of SDHI and MMCIF with kzm9g-reference
in the current next and topic/all+next branches.

Currently the boot will not complete. It stalls in SDHI or MMCIF
initialisation (whichever comes first), though it doesn't say so.

The reason is msleep() calls. In the case of SDHI in the driver itself.
In the case of MMCIF in the MMC core code.

I had the following patch in next for a while but removed it a few days
ago because for some reason I thought my tests showed it was no longer needed.
I now believe it is needed and I will put it back into next and
topic/all+next ASAP. I do not plan to make any other changes to my branches
in what is left of today for me.


From: Simon Horman <horms+renesas@verge.net.au>
Date: Tue, 11 Dec 2012 10:20:21 +0900
Subject: [PATCH] ARM: clocksource: Initialise early

Initialise clock sources early, since some subsystems rely on them to
initialize.

This came up when working on DT support for the kzm9g board.
The prototype does not use early timers and I found that the
CMT clocksource needs to be initialised before the MMCIF MMC driver.

Cc: linux-kernel@vger.kernel.org
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/Makefile |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 7863b9f..f156db5 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -37,6 +37,11 @@ obj-$(CONFIG_XEN)		+= xen/
 # regulators early, since some subsystems rely on them to initialize
 obj-$(CONFIG_REGULATOR)		+= regulator/
 
+# clocksource early, since some subsystems rely on them to initialize
+ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
+obj-y				+= clocksource/
+endif
+
 # tty/ comes before char/ so that the VT console is the boot-time
 # default.
 obj-y				+= tty/
@@ -114,9 +119,6 @@ obj-y				+= firmware/
 obj-$(CONFIG_CRYPTO)		+= crypto/
 obj-$(CONFIG_SUPERH)		+= sh/
 obj-$(CONFIG_ARCH_SHMOBILE)	+= sh/
-ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
-obj-y				+= clocksource/
-endif
 obj-$(CONFIG_DCA)		+= dca/
 obj-$(CONFIG_HID)		+= hid/
 obj-$(CONFIG_PPC_PS3)		+= ps3/
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-07 19:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01 11:08 SDHI and MMCIF with kzm9g-reference Simon Horman
2013-03-01 11:34 ` Guennadi Liakhovetski
2013-03-01 12:28 ` Simon Horman
2013-03-04 12:55 ` Magnus Damm
2013-03-04 13:00 ` Simon Horman
2013-03-04 13:40 ` Guennadi Liakhovetski
2013-03-04 14:28 ` Magnus Damm
2013-03-05  6:56 ` Simon Horman
2013-03-05  7:11 ` Paul Mundt
2013-03-06 11:56 ` Simon Horman
2013-03-07 19:00 ` Guennadi Liakhovetski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox