[PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early
From: Barry Song <hidden>
Date: 2013-05-31 12:57:54
Also in:
lkml
From: Barry Song <hidden>
Date: 2013-05-31 12:57:54
Also in:
lkml
2013/5/31 Srinivas KANDAGATLA [off-list ref]:
On 31/05/13 13:24, Barry Song wrote:quoted
quoted
quoted
Signed-off-by: Srinivas Kandagatla <redacted>hi Sriniva, i think my "arm: prima2: move to generic reset controller driver framework" fixs this too: http://www.spinics.net/lists/arm-kernel/msg246206.htmlI did look at the patch, I think it will fix it. But the patch is still using arch_initcall directly, which means this call will be attempted by every SOC in multi_v7 kernel. This call can be easily hooked into machine descriptor. In that way only prima compatible machines will attempt to call this function in first place.
mine should fix panic as it returns 0 instead of using BUG(). but i do think we should merge yours too to avoid redundant execution path.
Do you know if the second issue of postcore init is fixed in any other patches.
no. i will test your v2.
thanks, srini
-barry