Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbbKWSSF (ORCPT ); Mon, 23 Nov 2015 13:18:05 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:43115 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751622AbbKWSSD (ORCPT ); Mon, 23 Nov 2015 13:18:03 -0500 Subject: Re: [PATCH] ARM: dts: keystone: k2l: fix kernel crash when clk_ignore_unused is not in bootargs To: Murali Karicheri , ssantosh@kernel.org, corbet@lwn.net, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux@arm.linux.org.uk, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1448297649-22122-1-git-send-email-m-karicheri2@ti.com> From: santosh shilimkar Organization: Oracle Corporation Message-ID: <5653581F.4060902@oracle.com> Date: Mon, 23 Nov 2015 10:17:03 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1448297649-22122-1-git-send-email-m-karicheri2@ti.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1407 Lines: 32 On 11/23/2015 8:54 AM, Murali Karicheri wrote: > 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 > --- Nice !! I will queue this up for fixes. Thanks. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/