]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: keystone: k2l: fix kernel crash when clk_ignore_unused is not in bootargs
authorMurali Karicheri <m-karicheri2@ti.com>
Mon, 23 Nov 2015 18:35:25 +0000 (10:35 -0800)
committerSantosh Shilimkar <ssantosh@kernel.org>
Mon, 23 Nov 2015 18:36:27 +0000 (10:36 -0800)
commit0853d56572846d145a74039324bb10be37a7803c
treedfd856b9d154f183ae829e400da6e6d67f2b07a3
parent44035f7f88be0a133a095513d9c2d2a8f2e88dff
ARM: dts: keystone: k2l: fix kernel crash when clk_ignore_unused is not in bootargs

Currently kernel crash randomly when K2L EVM is booted without
clk_ignore_unused in the bootargs. This workaround is not needed
on other K2 devices such as K2HK and K2E and with this fix, we can
remove the workaround altogether. netcp driver on K2L uses linked
ram on OSR (On chip Static RAM) and requires the clock to this peripheral
enabled for proper functioning. This is the reason for the kernel crash.
So add the clock node to fix this issue.

While at it, remove the workaround documentation as well.

With the fix applied, clk_summary dump shows the clock to OSR enabled.

cat /sys/kernel/debug/clk/clk_summary
 ------cut--------------
   tcp3d-1                   0            0   399360000          0 0
   tcp3d-0                   0            0   399360000          0 0
   osr                       1            1   399360000          0 0
   fftc-0                    0            0   399360000          0 0
 -----cut----------------
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Documentation/arm/keystone/Overview.txt
arch/arm/boot/dts/k2l-netcp.dtsi