From patchwork Fri Oct 21 20:27:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7002 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp902147wrr; Fri, 21 Oct 2022 14:08:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4J5+tiPICyDctUqWcaov1zzls/U56Hz0u/bP/CHJujIjhMWweOoBojqP8QxxS6p0cikHC1 X-Received: by 2002:a17:907:a054:b0:78d:7822:3108 with SMTP id gz20-20020a170907a05400b0078d78223108mr16907998ejc.764.1666386493345; Fri, 21 Oct 2022 14:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666386493; cv=none; d=google.com; s=arc-20160816; b=0t4mByfcbGvONpe5kOwuEab4l/9YBLWrYhxKOz5rd2JPDMYsDaWmbbD+hAjJGFf0n9 O9ms3opCzAUbGs9HP4qzIwus5OgpM4Vk3OIZRUryDEJnJNBGFj2Iy5TJM4w3+ydwN9wx +X3yyihlU5k8E1of5iAMBK0Dr9iLLTktxdk2IIQCWQwJntXxNwShR054ImPedw/INwjT 7RhChhg2XlaIA2+RM3FqLr5I86wwSuqbTaT4DGqFDNiHqaGrEsjtr6gK6+Lnzp22dYpT D/y2t8mzaitxiR5A/WRw3AEK7oWu3jR8ldx0XuYpg1La+7YG2+ka4GpRvcQXbrNsTBAN OWUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WWhgFT+Jv8ooqglvw7RUE19ssms1Z98xHpmNk8PqhLo=; b=X8huf2SnTuD7Ih3ujcnI/LgvpEiYNcnGpgHDZvBcJrDlu9ojMMB+wRioTu8Qdjz0fi 2eqiNzOOHF0P4mbpMNPqUh2llnHnhptByqD0+qORJWoOow9VaNH2bdXnvu/zGxq1Fq05 7X+ymcpkBL0Is2THBH2R4RGAhXtgP1pvc3IEAIExnsayyw910atsWh7OE49eh6OxvNzU /m+o1NVe2XwvmSfzHLxm8krQNZcrsLbaL2AcscPw74V4kSQ9FdZZQFP8keOHFzTka8zp rscN6u17o7dlQmJaQg1vRFasIRIDmkTIVyJy+m/FBMQS4PZCkJJSL7ybLhKsA3VYsYE9 bXgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=liWXDUMs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz4-20020a1709072ce400b0079a9eed8c1bsi2618692ejc.894.2022.10.21.14.07.46; Fri, 21 Oct 2022 14:08:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=liWXDUMs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229460AbiJUUxM (ORCPT + 99 others); Fri, 21 Oct 2022 16:53:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230026AbiJUUxI (ORCPT ); Fri, 21 Oct 2022 16:53:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2433E27EAE5; Fri, 21 Oct 2022 13:53:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BA1BF60D3F; Fri, 21 Oct 2022 20:53:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 012A0C433C1; Fri, 21 Oct 2022 20:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666385582; bh=OE69UEMWIZo9/0uQr+S1+Wh+gSXBQpFtZNr5MxjC0Xc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=liWXDUMsEhwl21E+HP4sVoeVcnV1Zx5uf5GaN4iQaPxVGhfw0uAVV/5oVXF74savg K/Yk8Ozvq0s7P8jpHG84ubfgarX3Ms8PlOptwygLXEYg0QXODbgVqHIkQNtFLMtfVi oreNQliKHGKqQQ+urMEl1bYX8Zk/k5Yadp/syBDpcKNM4WtJjzfV5Eb7SGE6IQr/Rd gK6TwWKBeZwSyoHphOT3w0pzhrW3nKV1yxZ5agtPB3gKI9Z1qsdT4ZM1Ay9nafqHnw y6D08sgFAPC4HPIDq3GuKDXD/3uL2kAwUtnqiprBjaFpnmkvPVvVtJrxsDCKcHBr9/ axtdzL2uFFIDg== From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, Ben Dooks , Simtec Linux Team , Arnd Bergmann , Alim Akhtar , Sam Protsenko , Chanho Park , linux-samsung-soc@vger.kernel.org Subject: [PATCH 20/21] soc: s3c: remove pm-debug hack Date: Fri, 21 Oct 2022 22:27:53 +0200 Message-Id: <20221021203329.4143397-20-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20221021202254.4142411-1-arnd@kernel.org> References: <20221021202254.4142411-1-arnd@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747332883664876157?= X-GMAIL-MSGID: =?utf-8?q?1747332883664876157?= From: Arnd Bergmann CONFIG_SAMSUNG_PM_DEBUG was only used on s3c24xx because of the DEBUG_S3C24XX_UART dependency. Since s3c24xx is now gone, and nobody ever noticed this option being missing from s3c64xx, it can be safely removed as well. Signed-off-by: Arnd Bergmann Reviewed-by: Krzysztof Kozlowski --- drivers/soc/samsung/Kconfig | 22 +-------- drivers/soc/samsung/Makefile | 1 - drivers/soc/samsung/s3c-pm-debug.c | 79 ------------------------------ 3 files changed, 1 insertion(+), 101 deletions(-) delete mode 100644 drivers/soc/samsung/s3c-pm-debug.c diff --git a/drivers/soc/samsung/Kconfig b/drivers/soc/samsung/Kconfig index b4f538d7412f..7a8f291e7704 100644 --- a/drivers/soc/samsung/Kconfig +++ b/drivers/soc/samsung/Kconfig @@ -52,29 +52,9 @@ config EXYNOS_PM_DOMAINS bool "Exynos PM domains" if COMPILE_TEST depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST -config SAMSUNG_PM_DEBUG - bool "Samsung PM Suspend debug" - depends on PM && DEBUG_KERNEL - depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 - depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART - depends on DEBUG_LL && MMU - help - Say Y here if you want verbose debugging from the PM Suspend and - Resume code. See - for more information. - -config S3C_PM_DEBUG_LED_SMDK - bool "SMDK LED suspend/resume debugging" - depends on PM && (MACH_SMDK6410) - help - Say Y here to enable the use of the SMDK LEDs on the baseboard - for debugging of the state of the suspend and resume process. - - Note, this currently only works for S3C64XX based SMDK boards. - config SAMSUNG_PM_CHECK bool "S3C2410 PM Suspend Memory CRC" - depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210) + depends on PM && (ARCH_S3C64XX || ARCH_S5PV210) select CRC32 help Enable the PM code's memory area checksum over sleep. This option diff --git a/drivers/soc/samsung/Makefile b/drivers/soc/samsung/Makefile index 9f59d1905ab0..d35270fc6b2b 100644 --- a/drivers/soc/samsung/Makefile +++ b/drivers/soc/samsung/Makefile @@ -14,4 +14,3 @@ obj-$(CONFIG_EXYNOS_PM_DOMAINS) += pm_domains.o obj-$(CONFIG_EXYNOS_REGULATOR_COUPLER) += exynos-regulator-coupler.o obj-$(CONFIG_SAMSUNG_PM_CHECK) += s3c-pm-check.o -obj-$(CONFIG_SAMSUNG_PM_DEBUG) += s3c-pm-debug.o diff --git a/drivers/soc/samsung/s3c-pm-debug.c b/drivers/soc/samsung/s3c-pm-debug.c deleted file mode 100644 index b5ce0e9a41e5..000000000000