Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3148938rwe; Mon, 29 Aug 2022 06:42:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4RNOlcqfbGgcUyRwRT+ZQ2Rc7gNklXwC0ILrrIOiaw0Wd5cF24mIf2Q6OYgAx+PGUViGuv X-Received: by 2002:a17:902:f68f:b0:172:ff8a:90d4 with SMTP id l15-20020a170902f68f00b00172ff8a90d4mr16429308plg.2.1661780561105; Mon, 29 Aug 2022 06:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661780561; cv=none; d=google.com; s=arc-20160816; b=C+GCy6edmyhMNjosrg6gna8AN1xL1m/TIfNCQCAaXUIgl1LL4FpxVyfn/jTQPPCHRe IDAfR84eBs7frJZ+XWGL6ONbrZnMxiVE2TbBVVZSBye5TZJIguosfqy44KSN6N90o0dZ 60VuDluA+ch/91ZwyzIp9iyp3E5k2aCr2eswOP3duA+a1wWFTLtCL71iDs35Ky4Dq93M X6ObcTLnhuLRQd731grUUDqw0wjhLS/c6tb6Kcq5Cj7iTn/2m7hSEsNQIsC2FVDVjmqg wOGCOj2mJjbXruMm56DzrES8EFR38jcWC5nmSlooCDNhbD+f8MvobIBCmg6GTiKV1uKs VJNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=w8Bk1/zhH/lOTTHn3yutheLvPJyV7r7rtZ8p0wXSP68=; b=jc8ejzaAAI0tpClRLmGm2C0IHoV4JooE9mnZck3cx29upSK5etctCes52vpVuLiRfM UnfEn/UASAyQfZSubpRZS+gM9lm/pW0nGK84SMQiD4fwx6hviEDvXzJ9xMsR7GwvQ8/G rTfSdCa5vgBOXQ8UXhL7F50NDEzK1V5YyY/ky83d4hlCbwnf5gANIh45J4a9QIY/WOMn Fx3cDsjI/OrJQYrHcjJYMOj/FV87oK6+soSFXchk1HjXa/TUkzoHrV2sOH60+gvvUVVp lKywtJZC4p8NaU2G0kBZSN918SBiQbqffVolUK6xkBgqYENVRkjODlQp+Q+TkrCm2KSu bSOA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a17090abf8700b001fb4c9b9607si8808831pjs.114.2022.08.29.06.42.29; Mon, 29 Aug 2022 06:42:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230081AbiH2Nhr (ORCPT + 99 others); Mon, 29 Aug 2022 09:37:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbiH2Nhq (ORCPT ); Mon, 29 Aug 2022 09:37:46 -0400 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 57EDF90805; Mon, 29 Aug 2022 06:37:43 -0700 (PDT) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1oSexS-0006mi-00; Mon, 29 Aug 2022 15:37:42 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 1F5CDC0931; Mon, 29 Aug 2022 15:14:40 +0200 (CEST) Date: Mon, 29 Aug 2022 15:14:40 +0200 From: Thomas Bogendoerfer To: Keguang Zhang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Ling Subject: Re: [PATCH] MIPS: loongson32: ls1c: Fix hang during startup Message-ID: <20220829131440.GA12409@alpha.franken.de> References: <20220823111725.3134377-1-keguang.zhang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220823111725.3134377-1-keguang.zhang@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE,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 On Tue, Aug 23, 2022 at 07:17:25PM +0800, Keguang Zhang wrote: > From: Yang Ling > > 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 > --- > 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 e9de6da0ce51..9dcfe9de55b0 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)); > > base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 > -- > 2.34.1 applied to mips-fixes. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]