linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [BUG] ARM: socfpga: L2 cache init
@ 2015-02-06 10:39 Steffen Trumtrar
  2015-02-06 11:05 ` Russell King - ARM Linux
  0 siblings, 1 reply; 18+ messages in thread
From: Steffen Trumtrar @ 2015-02-06 10:39 UTC (permalink / raw)
  To: linux-arm-kernel

Hi!

I have run into a bug on the Socfpga platform. My boards sometimes fail to boot
when I have the commit

	commit 8b5c18f05621394eb108d3fbc9bf98b05e8162db
	Author: Russell King <rmk+kernel@arm.linux.org.uk>
	Date:   Mon Apr 28 15:55:59 2014 +0100

	ARM: l2c: socfpga: convert to generic l2c OF initialisation

	Remove the explicit call to l2x0_of_init(), converting to the generic
	infrastructure instead.

	Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

in my tree. I don't really understand why this would change anything, but I can
reproduce the problem with the following ktest.pl tests:


TEST_START ITERATE 20
TEST_TYPE = boot
CHECKOUT = v3.19-rc7
BUILD_TYPE = socfpga_defconfig
POST_BUILD =
BUILD_NOCLEAN = 1

TEST_START ITERATE 20
TEST_TYPE = boot
CHECKOUT = v3.19-rc7
PRE_BUILD = git revert --no-edit 8b5c18f05621394eb108d3fbc9bf98b05e8162db
BUILD_TYPE = socfpga_defconfig
POST_BUILD =
BUILD_NOCLEAN = 1


The first test fails in 3-6 cases and the second one is always successful.
Failing means: I don't see anything. From my understanding the generic l2x0_of_init
runs before console_init(), so that is why I don't see any messages from the kernel
at all, even with earlyprintk.
The bug can be reproduced on a Sockit, Socrates and a custom board. So, it all looks
like a common socfpga problem, that should be reproducable on other boards as well.

Help for understanding and fixing the problem is much appreciated.

Thanks,
Steffen Trumtrar

-- 
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 |

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

end of thread, other threads:[~2015-03-09 17:15 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 10:39 [BUG] ARM: socfpga: L2 cache init Steffen Trumtrar
2015-02-06 11:05 ` Russell King - ARM Linux
2015-02-09 15:53   ` Steffen Trumtrar
2015-02-09 16:43     ` Dinh Nguyen
2015-02-09 18:58       ` Steffen Trumtrar
2015-02-09 21:30         ` Steffen Trumtrar
2015-02-12 22:39           ` Dinh Nguyen
2015-02-13  8:01             ` Steffen Trumtrar
2015-02-17 22:00               ` Dinh Nguyen
2015-02-17 22:28                 ` Russell King - ARM Linux
2015-02-24 23:55                   ` Dinh Nguyen
2015-02-25  8:21                     ` Steffen Trumtrar
2015-02-25  9:26                     ` Russell King - ARM Linux
2015-02-25 16:30                       ` Dinh Nguyen
2015-02-26  8:30                         ` Steffen Trumtrar
2015-03-04 10:23                         ` Steffen Trumtrar
2015-03-04 18:37                           ` Dinh Nguyen
2015-03-09 17:15                             ` Russell King - ARM Linux

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).