Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3601192ybz; Mon, 20 Apr 2020 06:06:45 -0700 (PDT) X-Google-Smtp-Source: APiQypLzvL1DkIOUQKQWTNQANPLsgBML/DeXCiyKdevgWSDOtCb8cEkzJJtq3z8UW5KCEBiGMPmM X-Received: by 2002:a17:906:1845:: with SMTP id w5mr15554600eje.287.1587388005052; Mon, 20 Apr 2020 06:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587388005; cv=none; d=google.com; s=arc-20160816; b=agSIyfkiP2Lr+KfcmogzJrCAqq6QGhCcT9OG79q3/5YkSJrMgFtVbwuFomnFWwTXsk NOrUYZPa3LAp7tbSxfA2ZZL30PF/fMFYU/iDbUywE1SNHk3gHM/TFFRT8yP/ubu700cq ZUltysqHE/YokTeh4DtLjUXC59IDw/ERoSM4sVGt9R4ahtn7QbQu26RPW8FW+T5T/9+P qgP1OmZ/2DZNVhnKlt068nxpf1FmKa+welry0ftt3wmX1bGGzvAbn0R7Wl/ukA3D+gcR tMd5ewZ+943gMpGfVcSIMrh91IUJQe6By3DyJcs0QDvznnMI272d/jdLHq1JODp3N2pc McPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=cpAbHY0Hf4//TpAAin8KZWwud94DLEd1Cl2OFwswe5c=; b=YPAVbMybpalwChQszTCkwogdh6kgg+IGFAq0FHoDh+QGGQDueWj+HcB4MHl04eaYuE fOUpVJIb8nbkB9cEGtfgmdAGY3ABwBZRseyY2iRwTR0xiTNCMaBBkdEtl6zz/26cYRI2 mxDlbUgjGNqHk9TJ/a6Otmzepv8tvJegZRy5H10WTbYmUmOquUfrCXOZcFQQuWif64yh fKoGZDl3subT17ho8/srWAZA5SsOQn2I+1CtawBB+xPxSWOdbC2rs0YbViQSO9XrIogD hMwuSd0CGDtqfrBC5xuTSOhZ9G14JKHUd8ck2/GQKT4fiRO7cvfMANrte4052d7nf2zy X8+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si575954edn.579.2020.04.20.06.06.21; Mon, 20 Apr 2020 06:06:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727088AbgDTNFA (ORCPT + 99 others); Mon, 20 Apr 2020 09:05:00 -0400 Received: from mail.loongson.cn ([114.242.206.163]:56570 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727027AbgDTNE7 (ORCPT ); Mon, 20 Apr 2020 09:04:59 -0400 Received: from [10.20.42.25] (unknown [10.20.42.25]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxX9n0nZ1e+SoqAA--.1S3; Mon, 20 Apr 2020 21:04:52 +0800 (CST) Subject: Re: [PATCH RESEND 1/5] MIPS: Loongson64: Remove dead RTC code To: Jiaxun Yang References: <20200420073347.157230-1-jiaxun.yang@flygoat.com> <20200420073347.157230-2-jiaxun.yang@flygoat.com> <15923f8b-7278-f510-e06a-99751bd68048@loongson.cn> <20200420201312.7afe1bb7@flygoat-x1e> Cc: linux-mips@vger.kernel.org, Thomas Bogendoerfer , Rob Herring , Huacai Chen , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org From: maobibo Message-ID: Date: Mon, 20 Apr 2020 21:04:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20200420201312.7afe1bb7@flygoat-x1e> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf9DxX9n0nZ1e+SoqAA--.1S3 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY47k0a2IF6w1UM7kC6x804xWl14x267AK xVW8JVW5JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1I 6r4UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Cr 1j6rxdM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv 0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z2 80aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IE e2xFo4CEbIxvr21lc2xSY4AK6svPMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r 1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0x vE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Wr1j6rW3Jr1l IxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvf C2KfnxnUUI43ZEXa7IU8489tUUUUU== X-CM-SenderInfo: xpdruxter6z05rqj20fqof0/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20/2020 08:13 PM, Jiaxun Yang wrote: > Hi Bibi, > > Thanks for your review. > > Pretty sure. It is mc146818 specified, it can never work on LS7A/LS2K > which have another RTC implementation. > > I have performed boot test with this patch. > Kernel have safety fallback on platforms without this callback. Although it boots ok, the wall time will be 0 for every boot since it does not read from rtc regards bibo, mao