[PATCH v1 1/2] ARM:prima2: move sirfsoc_of_rstc_init to .init_early
Barry Song
21cnbao at gmail.com
Fri May 31 08:56:58 EDT 2013
2013/5/31 Srinivas KANDAGATLA <srinivas.kandagatla at st.com>:
> On 31/05/13 13:24, Barry Song wrote:
>>> > Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla at st.com>
>> 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.html
> I 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
More information about the linux-arm-kernel
mailing list