2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/arch/arm/mach-prima2
Haojian Zhuang 7e5955db45 ARM: prima2: fix incorrect panic usage
In prima2, some functions of checking DT is registered in initcall
level. If it doesn't match the compatible name of sirf, kernel
will panic. It blocks the usage of multiplatform on other verndor.

The error message is in below.

Knic - not syncing: unable to find compatible pwrc node in dtb
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc3-00006-gd7f26ea-dirty #86
[<c0013adc>] (unwind_backtrace+0x0/0xf8) from [<c0011430>] (show_stack+0x10/0x1)
[<c0011430>] (show_stack+0x10/0x14) from [<c026f724>] (panic+0x90/0x1e8)
[<c026f724>] (panic+0x90/0x1e8) from [<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x)
[<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x58) from [<c0320864>] (do_one_initcal)
[<c0320864>] (do_one_initcall+0x90/0x150) from [<c0320a20>] (kernel_init_freeab)
[<c0320a20>] (kernel_init_freeable+0xfc/0x1c4) from [<c026b9e8>] (kernel_init+0)
[<c026b9e8>] (kernel_init+0x8/0xe4) from [<c000e158>] (ret_from_fork+0x14/0x3c)

Signen-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2013-06-11 00:11:31 -07:00
..
common.c ARM: sirf: use clocksource_of infrastructure 2013-03-25 12:29:41 +01:00
common.h ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
headsmp.S ARM: prima2: remove duplicate v7_invalidate_l1 2013-02-20 18:21:58 +01:00
hotplug.c ARM: cpu hotplug: remove majority of cache flushing from platforms 2013-04-18 20:08:04 +01:00
Kconfig Merge branch 'late/fixes' into fixes 2013-05-09 13:05:15 -07:00
l2x0.c ARM: PRIMA2: initialize l2x0 according to mach from DT 2013-01-22 19:37:15 +08:00
lluart.c ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
Makefile ARM: sirf: enable multiplatform support 2013-03-25 12:29:42 +01:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00
platsmp.c ARM: arm-soc multiplatform updates for 3.10 2013-05-02 09:38:16 -07:00
pm.c ARM: prima2: fix incorrect panic usage 2013-06-11 00:11:31 -07:00
pm.h ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00
rstc.c ARM: prima2: fix incorrect panic usage 2013-06-11 00:11:31 -07:00
rtciobrg.c Merge branch 'marco-timer-cleanup-rebase' of git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel into next/soc 2013-01-27 23:03:42 -08:00
sleep.S ARM: CSR: PM: add sleep entry for SiRFprimaII 2011-09-21 23:25:59 +08:00