Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3713467rwa; Tue, 23 Aug 2022 08:56:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mH9Vnxm8GEYtMalBU5G746z1mGC2Dvu2YdL2gLhA5ZQqhRyTUFeAfCOSE3y1cFCmQAudr X-Received: by 2002:a05:6402:28ca:b0:43b:5235:f325 with SMTP id ef10-20020a05640228ca00b0043b5235f325mr4123771edb.320.1661270217719; Tue, 23 Aug 2022 08:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661270217; cv=none; d=google.com; s=arc-20160816; b=bfyWU25pFaqsuU/wH9UXHCXNzXIFYtRHzAxc9OWRE8MDEnXhaKz0c6WI1S1bUsitri iZeOMIzomXh5KGJVhhOLXzxTSYw8Wfvt4F9fZZBx6C9cGebdggRlyrIWBv1PTHAJHg5+ Qmvg2rvr9MNf8WHuB9NBhlbMYhROkvp4+bgJRO2UpKzwF8JUVibGEJmou5Gsw77vwXuo XMfndJ9v3DPyoRFthsgDJQZFnFeOY4EhVbBxy8dx7nXnGK+1t91BaSyMWpEYxv41G5e3 /PfEREGR/zpa1+WEXK8XBHvQO1d6E0DTR1kO84+w/uuGIX/EcTSqNDojCedAmw6dN+JR 0bEA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0pU5iLLC3ceGYBrxwsq4Hg09zSm+DaoRJ02xrrcMouU=; b=ig9V+XHCmrlBTOks8goBCErrL6bk/7dg1ZZliE48FZ1AS7MRSjnuadoBlrSmLf8EkT R4BI7usnwz2tdPxoJO1/VYaHxP39GwBwcIY5wh5rw5DYxg7uuqzY/pW4Ne2MIUJBDeRK 6Kscg2Ijr4tSGRFrDYDbYi+fpVG8+UhINZ6lXfjDdfcZttBYX6COZEjm1w9nwBprw0/n lDRAVgqmCPJOlTmCkrEBibUt+HmDd7PSnqsHMWv0wbDEGzWyDsnpRpQup+U1JdX8r1L6 UkW+dGDJZLYLA4bdFd4GVzkkwj2bMk/l0ry8ivtvV7EY82OR57lSa7s5cCbyQGMO25HA 4s2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="L/J2Gt5J"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r14-20020a05640251ce00b0043b96c391c7si2595388edd.156.2022.08.23.08.56.31; Tue, 23 Aug 2022 08:56:57 -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=@gmail.com header.s=20210112 header.b="L/J2Gt5J"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243309AbiHWPeo (ORCPT + 99 others); Tue, 23 Aug 2022 11:34:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240930AbiHWPeN (ORCPT ); Tue, 23 Aug 2022 11:34:13 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A64A533431; Tue, 23 Aug 2022 04:17:37 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id z187so13135882pfb.12; Tue, 23 Aug 2022 04:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=0pU5iLLC3ceGYBrxwsq4Hg09zSm+DaoRJ02xrrcMouU=; b=L/J2Gt5Jqlon8zl8L69XswAVdKmyHBBm+yg7CgJKoru26DL5+vPXnh3QzqLEUhRGff eB7V8HK+J+/69FBQK4AtprGRYQb63wj7Cn37DjIJGxDuVFHEdMzjqHLbihoRXECgclKd kNgxhZpvERwxyXaMDYsI29h60D5nGijBM/nG7gKBipWakO9b9J5S63RO8fRxpccnszBM 9TszvU+cjbUy8TbV6+DFIhNNAtIABTxykXqE/Z0MotEf8GmCQ1pjqova5D+XRhG6EEOI uwPzdSOpBktFUHk82Fkc2+l1jnYSP1DAh/xGhpdLoobgMN8K6+mXuLtB/zBbjyMh1qFN Ep9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=0pU5iLLC3ceGYBrxwsq4Hg09zSm+DaoRJ02xrrcMouU=; b=jz+dBq8S3RKdnV/aQUD3aCYxvrSY4szuawxlqtfh59p6bxFpeCWSfqFx37Q51oizMb WuoMl+ehfUXJEnsKIuGCyrhTHpwv8xFb648clgYDABj3PwUKsSV3q+zW2C+DBc/DNq9p Xn/GcDHAS3G4c04eQ9+KwobdIizUXQJvhGYJAgXxWR2pdBkSjjcxsJWWEWyDSk/1SuhX 5KKiHp9Aesfb1f4AcyoDAcMe+rwmqctiyPYmiUKO4UnV5V1nOPk0iVeS9bxSfNlnY1NG Dl7sFNlZlXVAYPdaldMIMBO/jsGhzNrdfo24iefj7+uq0MtBrpOdj7LdXrrGD2/RzVvX ZdSA== X-Gm-Message-State: ACgBeo3i+BTOa3XExj6rE54l6NFmizCp9FrKU75/MAOSO1mNWEjRYuYQ /U1zUS+sgc1/1dEQIJklEQ78M4Mcpo0atw== X-Received: by 2002:a05:6a00:1952:b0:537:1bb2:8451 with SMTP id s18-20020a056a00195200b005371bb28451mr369530pfk.77.1661253454738; Tue, 23 Aug 2022 04:17:34 -0700 (PDT) Received: from kelvin-ThinkPad-L14-Gen-1.. ([136.175.179.175]) by smtp.gmail.com with ESMTPSA id z11-20020a17090a8b8b00b001f51903e03fsm9572023pjn.32.2022.08.23.04.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 04:17:34 -0700 (PDT) From: Keguang Zhang To: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Bogendoerfer , Yang Ling , Keguang Zhang Subject: [PATCH] MIPS: loongson32: ls1c: Fix hang during startup Date: Tue, 23 Aug 2022 19:17:25 +0800 Message-Id: <20220823111725.3134377-1-keguang.zhang@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 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