From patchwork Wed Jan 7 12:15:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 5584461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CD2CABF6C3 for ; Wed, 7 Jan 2015 12:26:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 003A720263 for ; Wed, 7 Jan 2015 12:26:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37C3B201EC for ; Wed, 7 Jan 2015 12:26:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8peN-0003iD-RZ; Wed, 07 Jan 2015 12:23:47 +0000 Received: from nm13-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.79]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8pYJ-0007Sg-4m for linux-arm-kernel@lists.infradead.org; Wed, 07 Jan 2015 12:17:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1420633029; bh=jJ7+LDU6xH3hoi/DY1z4OgqWz/mf3YR2SiuAu33OKwo=; h=From:To:Cc:Subject:Date:From:Subject; b=SQGmhLbovqtCBxXq0bu5mn8/gJDiiPSTjvsuvtGL56PEvOHI7QQgcd8z0gngnAv5PpU+2RVFsqW1C+KFYgS0UQhZkmbgJr9311IUrfyoR3UKfqxtSSu27BFzdRPrbgiw3sOEyyIETsh+Q3L94HOnWCVPojsikbVcJu8dMQL1aSV5jj7J3DzZpAXvCANGgNwKscpPK1UFOEvodwR5tJieSAJ4okoMLNbt0FzPvEO+pn1MuGo/9cl9mGXJ9/gyNPlWsyXjwhG7+f4LKe/Tklhyc+ue3kkkXk7y0q/r8OvrJ9x/7vsh3hyo1vTWRZ3bINnwN4FpSkDOuE6KNLg5PhCYEQ== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=bL+Og1J24i54EU7iqHDV4WPvyUCsty+F9oTSVYAf0kuFE6l6ifTg/QqQs12SkqpbElho804AEwAP07hSirw0vLymOFVyxl8hTuQXTb63giI0MO8cGeQj4NWZ1sbh6fAlIeUg96jPijoXVqN3GIDaXNdQLltDbwQK4J1SbeQzsZeGl7BuHYYrhlsJaIGvurbTXon/XbxJPBhn3g/UuhNRJZ99LRHTHn3dSKN5mXAMpsQSHZaA+gLSKSywZqk1k7q7ExwV0//WF6bHn03HmsWeDRWXwPo7zlUGmRmjzGLZpCFN3bBGwn81sSSzYAVoadhA3F/gegy69Ag7QR177OYC0A==; Received: from [66.196.81.171] by nm13.bullet.mail.bf1.yahoo.com with NNFMP; 07 Jan 2015 12:17:09 -0000 Received: from [98.139.213.14] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 07 Jan 2015 12:17:09 -0000 Received: from [127.0.0.1] by smtp114.mail.bf1.yahoo.com with NNFMP; 07 Jan 2015 12:17:09 -0000 X-Yahoo-Newman-Id: 238419.94870.bm@smtp114.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 4VzbppUVM1lzRCdd_0e2wEINMGQmaWU7IYB6w1jjsZ1XtGa 1wIAZfipLxlBEIOYh_mm9YOoK1paiqc_5UGkvE.pcWQVvLsLeB1FPbzO3wPo kytBNc0sPMP1a03PBi2Jl2GQ4DSGcBtmjLY6yZT.HJEBTnjas5AZckWd5D7K FY2BmqC5bGBSqfuHZfX0KAgmOpozSC4pFcS2x8fV1jsH.UMHC_tEcPrwOchh AC9vwfud.DhQsgQFtwCL5WBMGUEAVjezlm.M20w4MpHK_Lo1cY5WPOe4._MD 47ShaVdUC7OGmwzOtwMlkeXllJuRW8UDwbseoPlGdlbsEh7YQMg5vGOmHCJn uJm.WZzIUGU_KxEXFdtu2Kk4sng4D2yVtP42BfyEehGAZzoe5j1N19vZx17V lPxiQhyiKcDrD7Oi0s9xLHcMx5WB_N6KQjxeNs6_.FBi.fbmnMUzHef7i2rX L4jvEQ22lUWEBk0uUuiH7pQUDHzGde0UY1GcMHUg7O_JIDiHAnwfUk3O.JB4 1XTijAgma1BsUFvHxMy815.EWbQ-- X-Yahoo-SMTP: Yh1ZCseswBB87.sev4MWOyuvEVa7giM- From: Anand Moon To: Russell King , Kukjin Kim , Javier Martinez Canillas , Doug Anderson , Krzysztof Kozlowski , Kevin Hilman , Sachin Kamat , "Rafael J. Wysocki" , Vivek Gautam , Tushar Behera Subject: [PATCH] ARM: exynos_defconfig: Enable CONFIG_LOCKUP_DETECTOR Date: Wed, 7 Jan 2015 17:45:32 +0530 Message-Id: <1420632932-6964-1-git-send-email-moon.linux@yahoo.com> X-Mailer: git-send-email 2.1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150107_041731_421034_2CA74AEB X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: Anand Moon , linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FORGED_YAHOO_RCVD, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ARM Enable CONFIG_LOCKUP_DETECTOR to validation of kernel locks v2 Fixed the commit log This config item helps getting some useful information when lockup happens. If you want to validate locks then probably you want PROVE_LOCKING... but its overhead is larger. Anyway the overhead of LOCKUP_DETECTOR is small and multi_v7_defconfig has it enabled so I guess exynos may do it as well. Tested on Exynos5422 ODROID XU3 board. Signed-off-by: Anand Moon Reviewed-by: Krzysztof Kozlowski --- arch/arm/configs/exynos_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index 5ef14de..ecd9987 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -178,6 +178,7 @@ CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y +CONFIG_LOCKUP_DETECTOR=y CONFIG_DETECT_HUNG_TASK=y CONFIG_DEBUG_RT_MUTEXES=y CONFIG_DEBUG_SPINLOCK=y