From patchwork Tue Nov 3 20:37:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 317128 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 368A4C388F7 for ; Tue, 3 Nov 2020 21:00:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 03283223C6 for ; Tue, 3 Nov 2020 21:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437241; bh=GsDGekbOxDFlHRtiW08cyRUdLzeVEzMuX+z7MK/O+5I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ipCiNpEWlPVHDU87vVFDSlea4LzkKV1nusZUh8IrthUn5bkVtHJPmsj0+XKIZ11GM Nmn0umeLysDdy1foJdniB73PMayObm0nrf6YnWuHsyzcN7wMnZm9KyiEg4VKXIlVQz WcDR5a2LQhL4AmU57qETyVz8VDs1FqAOlJPQAQNY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732284AbgKCVAj (ORCPT ); Tue, 3 Nov 2020 16:00:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:36658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733254AbgKCVAj (ORCPT ); Tue, 3 Nov 2020 16:00:39 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 83D9C223AC; Tue, 3 Nov 2020 21:00:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437239; bh=GsDGekbOxDFlHRtiW08cyRUdLzeVEzMuX+z7MK/O+5I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rhzGGMozxWm/LU6jLGe5drSKX3HFTpf+mB+DQi1ZLzSR0/c0bURp/eD15bf09N7c8 2njVSmT6otKymwkucJOBrxSuT3P9ExBsUaZCNQ326f3GvW4wrgulNBAxJU2VEXIzq5 X+fXMVhPT6a5rfrQB7JkAg0Kk3N+ipFsq8kMdUA0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH 5.4 206/214] ARM: s3c24xx: fix missing system reset Date: Tue, 3 Nov 2020 21:37:34 +0100 Message-Id: <20201103203309.923033612@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Krzysztof Kozlowski commit f6d7cde84f6c5551586c8b9b68d70f8e6dc9a000 upstream. Commit f6361c6b3880 ("ARM: S3C24XX: remove separate restart code") removed usage of the watchdog reset platform code in favor of the Samsung SoC watchdog driver. However the latter was not selected thus S3C24xx platforms lost reset abilities. Cc: Fixes: f6361c6b3880 ("ARM: S3C24XX: remove separate restart code") Signed-off-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- arch/arm/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -507,8 +507,10 @@ config ARCH_S3C24XX select HAVE_S3C2410_WATCHDOG if WATCHDOG select HAVE_S3C_RTC if RTC_CLASS select NEED_MACH_IO_H + select S3C2410_WATCHDOG select SAMSUNG_ATAGS select USE_OF + select WATCHDOG help Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443 and S3C2450 SoCs based systems, such as the Simtec Electronics BAST