
8 Aug
2007
8 Aug
'07
9:21 a.m.
Hi,
On some architecture, it is not save to call the first line of kernel without disable the instruction cache. For do_bootm() path, architecture specific library code do_bootm_linux() can adress this issue, but do_bootelf() is common code. This patch disables icache before call kernel. Signed-off-by: Sonic Zhang sonic.zhang@gmail.com
Did you test the impact of this change on all other architectures but the one you are talking about (without ever mentioning it)?
I don't think we want to do this in general. Please make this code conditional.
I met with this problem on PowerQuicc II Pro in bootm command. Disabling icache before call kernel solved my problem. I suppose the same problem can be in bootelf command.
Best regards, Michal Simek