Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6830015rwn; Tue, 13 Sep 2022 09:31:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR5WU3OqlwO+CwpaAirUQlGCWgVwxPIrlhn6AB2OtZJ67dE3vAc4Mgr2nA1AdrLvsgd99MyT X-Received: by 2002:a65:408b:0:b0:42a:55fb:60b0 with SMTP id t11-20020a65408b000000b0042a55fb60b0mr28567249pgp.431.1663086716713; Tue, 13 Sep 2022 09:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663086716; cv=none; d=google.com; s=arc-20160816; b=FHjofrrQvfUBZi8S8QY6lfK5JsKq7aztnq+eWG3rtZf+PwPCmzcUhHfMtT5L3IJ4mA LmMYktZ80hYuKAI0sg17W1TFxu4kUw5zHIQ2tGCRxfW047RHHn6KGD0HFsQ32CIxzfoN GhwusQZ53Nma0XE1LOrpTrU5n1pij95mQuz/VzZgSd8WPGCqnloCF9mTD5H7cwvW8T91 9sSUDJfmUsELtor07ZiKPutDjl0Vwe5uAcbSnjTBBUNPrqzcOuJQS3cq9F6T7aoyT46V WA2Q6AbwWGVQ6XnLKK/HZiXoZocAvjCqVJijTmZEaWkVA4qWhc3suECjLwIVk5vs0t9D 1vvg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yK7Jj/Y+7wrthMdvQdXHPm0Sod2DIJx2TcFcZcEoF38=; b=jVgSeA6xYq1VGqwm7l4AVgOkTeSEjlovqJ7ySAyFitOgGx5EMQ+oEF7H+h/SAZqz78 FOJxs+IGR7dH5C4+AtNwdtp+/ocjlUXeeitVntPbp5kawAu8DEw/vy7mm4pVE9bS06VC 9+NHKH4kzs79U99m7CGb3PPJDRSKJwt/OMSBWQmnQoWt8KQSsf9RvV2R26dFrOV0GpJJ fZbGuw5KdGM0IBcc4glVu9C+nIb00ZI1ZgHMZTG7KN+1BfH6nNE5JiaINdC+4zyph4e6 /amEqwGjbm0Sw+evWgaX8QhhRl7YilaI0kxXYTV8PCwhw6tJA7MtQ9l8bqaY8fhphm4H D3Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="ni7Dwa/F"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p18-20020a639512000000b00435731625aasi82553pgd.67.2022.09.13.09.31.38; Tue, 13 Sep 2022 09:31:56 -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=@linuxfoundation.org header.s=korg header.b="ni7Dwa/F"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235108AbiIMPCh (ORCPT + 99 others); Tue, 13 Sep 2022 11:02:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234908AbiIMO75 (ORCPT ); Tue, 13 Sep 2022 10:59:57 -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 64512765C; Tue, 13 Sep 2022 07:29:13 -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 8A0EC61494; Tue, 13 Sep 2022 14:20:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2CB8C433D6; Tue, 13 Sep 2022 14:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1663078840; bh=QguUPaIEEvBzn61sjIX+19HWvFui+vi0iCLd0a5G61A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ni7Dwa/FBO9p5WIr+jR5LnfMKViWavgbuokK2PKkDJARr8nNTZ/4M8GgQNopalQFm wwrvQOkpezWqfoDllLt05vXPSiDyil9ZCKBej5yHXP2nMLuc9GFe33OnNjdMnOby7x LWyvWOq1EjwF/hTIj/shLu+PeX5HyRSg8J6qHeIA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yang Ling , Keguang Zhang , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.15 103/121] MIPS: loongson32: ls1c: Fix hang during startup Date: Tue, 13 Sep 2022 16:04:54 +0200 Message-Id: <20220913140401.777426078@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220913140357.323297659@linuxfoundation.org> References: <20220913140357.323297659@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 From: Yang Ling [ Upstream commit 35508d2424097f9b6a1a17aac94f702767035616 ] The RTCCTRL reg of LS1C is obselete. Writing this reg will cause system hang. Fixes: 60219c563c9b6 ("MIPS: Add RTC support for Loongson1C board") Signed-off-by: Yang Ling Tested-by: Keguang Zhang Acked-by: Keguang Zhang Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/loongson32/ls1c/board.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/loongson32/ls1c/board.c b/arch/mips/loongson32/ls1c/board.c index e9de6da0ce51f..9dcfe9de55b0a 100644 --- a/arch/mips/loongson32/ls1c/board.c +++ b/arch/mips/loongson32/ls1c/board.c @@ -15,7 +15,6 @@ static struct platform_device *ls1c_platform_devices[] __initdata = { static int __init ls1c_platform_init(void) { ls1x_serial_set_uartclk(&ls1x_uart_pdev); - ls1x_rtc_set_extclk(&ls1x_rtc_pdev); return platform_add_devices(ls1c_platform_devices, ARRAY_SIZE(ls1c_platform_devices)); -- 2.35.1