From patchwork Fri Sep 28 13:37:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10619949 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4D908180E for ; Fri, 28 Sep 2018 13:38:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 233EE2B05D for ; Fri, 28 Sep 2018 13:38:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 149E02B074; Fri, 28 Sep 2018 13:38:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_MUA_MOZILLA,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4885A2B05D for ; Fri, 28 Sep 2018 13:38:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:Message-Id:MIME-Version:Date :Subject:From:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=QKHgG0BTg4mEPofub0RL01aJJ2/v6dLyqpzphdoURLc=; b=WJ6LNTFL6bskoB ohDSKsM51z+Zi/5smuPC2Km7moQi7hEIJWhfvRyfzU+gWAVh5/vCilrE4S0kvbZP9alCHArIZpLva HQyMt66equO8/RvKnAn20A5A1N9rYUjqQsqghZptoEr8xrbk1LJ8kccM+zTnZGB9J+rszGTXWDljQ 5AnYOusDJWUY+ETbJwab8G86GDwJo5EhlMe/n/QM4iliqkr/5V6TuZDK//3zf1T/FyfuAQeRtghTt akA3IVy3uQtou3hw9UMPyghMn4W7Wk76+hkno17k2GymS7PGthomEe4CvrprkgmYM9duM0n6zU5F+ Ry8F6VO3wvBLN5H5Ca7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5syH-0005sv-S2; Fri, 28 Sep 2018 13:38:17 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5sxS-0005SS-Tt for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 13:37:37 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180928133715euoutp02723a54ea4482168f2eed94ec9d7bcfa4~Yk9mQ4RZb1719617196euoutp02Z for ; Fri, 28 Sep 2018 13:37:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180928133715euoutp02723a54ea4482168f2eed94ec9d7bcfa4~Yk9mQ4RZb1719617196euoutp02Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1538141835; bh=FDYGOMSm8FDpz6EcvrEqCjGSbgWUG4C5PTyozgGeWMY=; h=To:Cc:From:Subject:Date:References:From; b=QFXh6uYwfseKQ3VwNR6aLAercSSs5OJsbIjveXtSItpeeESib2GzfxLh9QVAyUnRa uNbXVV80ueVj3iQkMx5y32uYAucO18v/pGyX+B0zsySd4POsC0D/hGiqFuzbDnXy35 N7LS9pWfW15SupH1lsK5vNaDi5v0wQItnCcjLdcA= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180928133714eucas1p112322ce36e7bd1f9c8425c59c1a77eb5~Yk9lxTx7P0435904359eucas1p1Y; Fri, 28 Sep 2018 13:37:14 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 6B.D4.04806.A8E2EAB5; Fri, 28 Sep 2018 14:37:14 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20180928133713eucas1p16a15a68b61de9aa3310737f7fd77d20d~Yk9kqY_Ga2124121241eucas1p1b; Fri, 28 Sep 2018 13:37:13 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20180928133713eusmtrp26fc4b4ec996c5188ea3013112824a862~Yk9kZU3aM0120601206eusmtrp2n; Fri, 28 Sep 2018 13:37:13 +0000 (GMT) X-AuditID: cbfec7f5-367ff700000012c6-51-5bae2e8af23e Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A5.6A.04284.98E2EAB5; Fri, 28 Sep 2018 14:37:13 +0100 (BST) Received: from [106.120.53.102] (unknown [106.120.53.102]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180928133713eusmtip297c3da43a5ffc532f88889b6058ff17b~Yk9kDNZOC2726027260eusmtip2g; Fri, 28 Sep 2018 13:37:12 +0000 (GMT) To: Krzysztof Kozlowski From: Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: SAMSUNG: limit SAMSUNG_PM_DEBUG config option to non-Exynos platforms Date: Fri, 28 Sep 2018 15:37:12 +0200 User-Agent: Mozilla/5.0 (X11; Lin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Fi42I5/e/4Pd1OvXXRBoffCVtsnLGe1aL/8Wtm i/PnN7BbbHp8jdXi8q45bBYzzu9jsjg0dS+jA7vH5WsXmT02repk89i8pN6jb8sqRo/Pm+QC WKP0bIryS0tSFTLyi0tslaINLYz0DC0t9IxMLPUMjc1jrYxMlfTtbFJSczLLUov07RL0Mv7f Ps1cMIOzYt33Y8wNjI/Zuxg5OSQETCQWf//I2sXIxSEksJRR4u3UiYxdjBxACRmJ4+vLIGqE Jf5c62KDqHnLKNG77gwrSEJEQFPi+t/vYM3MAq8YJfZMPM8IkmATsJKY2L4KzBYWiJVYu2Y+ M4jNK2AnsWHKGTCbRUBVYtfrLWC2qECExK2HHSwQNYISJ2c+AbOZBdQl/sy7xAxhy0tsfzuH eQIj/ywkZbOQlM1CUraAkXkVo0hqaXFuem6xoV5xYm5xaV66XnJ+7iZGYExsO/Zz8w7GSxuD DzEKcDAq8fAmPFoTLcSaWFZcmXuIUYKDWUmEd1/12mgh3pTEyqrUovz4otKc1OJDjKZAh09k lhJNzgfGa15JvKGpobmFpaG5sbmxmYWSOO95g8ooIYH0xJLU7NTUgtQimD4mDk6pBkbutqAT RuafgyYs0G34kTb31A2V7teiJx3OvWs8ILBX4MKqOenChhNPCMx+zaMiXSTOXc2xsHbZ9oZP q2Y5KHeIHG4/veElm+LGhU8i4nesUF0f/v3S/3dP5GV/p7I1C/++Yi1W0uwYP7t/zvoptf/O WaY7OVmHiC49uk+tPfnXnC01k/bcO5OvxFKckWioxVxUnAgAhSnUtJ8CAAA= Message-Id: <20180928133713eucas1p16a15a68b61de9aa3310737f7fd77d20d~Yk9kqY_Ga2124121241eucas1p1b@eucas1p1.samsung.com> X-CMS-MailID: 20180928133713eucas1p16a15a68b61de9aa3310737f7fd77d20d X-Msg-Generator: CA X-RootMTR: 20180928133713eucas1p16a15a68b61de9aa3310737f7fd77d20d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180928133713eucas1p16a15a68b61de9aa3310737f7fd77d20d References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_063727_146749_880B9BE9 X-CRM114-Status: GOOD ( 15.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP "Samsung PM Suspend debug" feature (controlled by SAMSUNG_PM_DEBUG config option) is not working properly (debug messages are not displayed after resume) on Exynos platforms because GPIOs restore code is not implemented. Add PLAT_S3C24XX, ARCH_S3C64XX and ARCH_S5PV210 dependencies to SAMSUNG_PM_DEBUG config option to hide it on Exynos platforms. Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/plat-samsung/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: b/arch/arm/plat-samsung/Kconfig =================================================================== --- a/arch/arm/plat-samsung/Kconfig 2018-09-28 15:20:06.041911426 +0200 +++ b/arch/arm/plat-samsung/Kconfig 2018-09-28 15:20:06.037911426 +0200 @@ -238,7 +238,8 @@ comment "Power management" config SAMSUNG_PM_DEBUG bool "Samsung PM Suspend debug" - depends on PM && DEBUG_KERNEL + depends on DEBUG_KERNEL + depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210) depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART help Say Y here if you want verbose debugging from the PM Suspend and