Message ID | 20221129030925.14074-2-zhuyinbo@loongson.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp102706wrr; Mon, 28 Nov 2022 19:24:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yQzg1sKLUtgPiiZxhGFu22aLasuTbm3Dovp537Au71/EXSEGVMveXbK04xL66bSyIkYR5 X-Received: by 2002:a05:6402:548a:b0:468:e8e2:31c9 with SMTP id fg10-20020a056402548a00b00468e8e231c9mr24296676edb.310.1669692271528; Mon, 28 Nov 2022 19:24:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669692271; cv=none; d=google.com; s=arc-20160816; b=I8g3sCbVsuU/XDk6tUSGuzcyM9rkb0P7uanuVyBaKAuIGXUpH5gmg8NhMZ53HlLKjQ Yo1xCRfx/v1qqDlZriOnzR6hpZ7Ol2UsjTehKJV+iTXZIoGsWW1WB+O/17VuYFKod1/Q g3MKueQL1k63UPIvZP9seG6kIfd4GLXrUeP2mVsRyZe+YauFuZSRH5yQ7XG27+nXpS+B Uw8bha4Q21IF09QTdOIHNRNnRoQ/f1nZPizQDKT/H8KWghrdgkJ8PBwZ57syFEWRY2Id t9bxc+PaJN5XxcTzy7GELjsr/9uO9acmc8FE8ye4eYnGHbqxncTEVqEFbPdjjlpvbUyV UYBw== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=lIUTgyXtNy/te0g30chEKKSrnu7QwJu+YGfdkyi+qTA=; b=whKIwZsjZV8MR/lZxJJbz/tNv0c/KCADG2MUcEHg/4AlI3LBQxrkWNnEhXkKWicDVI brvO1bKlYYk1nQ9SlOC0Qe/R3wre3x+GkS2PGTJmJB3Ne88AFZ6Cgd81dKbsGs/+PD/t LirBhzgE2CKmPCZmNv/B8FTnRyCUivqg2ifCxLZUbqHV/cNUzqgo+H4qT8cQmcbMxZnj EIbDasQ/OdhLYbuf0Kc8RwrhPjwr43f24btBm3dM3gmG1Fo3XhUIsPr6SLfdrt0jS0pu 6bxat076j11PsxuBUWMFc+X9Tk/7TAwpTt8n0oumtE6ZNY1htizNK8KuU87nZ49Ppqsj 23ig== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id es25-20020a056402381900b0046b850c39eesi428477edb.347.2022.11.28.19.24.08; Mon, 28 Nov 2022 19:24:31 -0800 (PST) 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 S235434AbiK2DJk (ORCPT <rfc822;gah0developer@gmail.com> + 99 others); Mon, 28 Nov 2022 22:09:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235190AbiK2DJg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 28 Nov 2022 22:09:36 -0500 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5C1CA2EF41; Mon, 28 Nov 2022 19:09:34 -0800 (PST) Received: from loongson.cn (unknown [10.180.13.64]) by gateway (Coremail) with SMTP id _____8Dxfevtd4VjQeYBAA--.4390S3; Tue, 29 Nov 2022 11:09:33 +0800 (CST) Received: from localhost.localdomain (unknown [10.180.13.64]) by localhost.localdomain (Coremail) with SMTP id AQAAf8CxZ1fmd4VjE+QdAA--.57759S3; Tue, 29 Nov 2022 11:09:32 +0800 (CST) From: Yinbo Zhu <zhuyinbo@loongson.cn> To: Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Huacai Chen <chenhuacai@kernel.org>, WANG Xuerui <kernel@xen0n.name>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Jianmin Lv <lvjianmin@loongson.cn>, Yun Liu <liuyun@loongson.cn>, Yang Li <yang.lee@linux.alibaba.com>, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, loongarch@lists.linux.dev, Yinbo Zhu <zhuyinbo@loongson.cn> Subject: [PATCH v11 2/3] LoongArch: time: add timer_probe in time_init Date: Tue, 29 Nov 2022 11:09:24 +0800 Message-Id: <20221129030925.14074-2-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20221129030925.14074-1-zhuyinbo@loongson.cn> References: <20221129030925.14074-1-zhuyinbo@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8CxZ1fmd4VjE+QdAA--.57759S3 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7Xry5uF48tr45Kr4xtw1DZFb_yoW3JFc_ua 47Ga4kWryrGa9a934DXa15Xw10vw48tFyFy3srZFy7Gw17J3WUCw47Zw13Zr90gayxKFZ8 ZrW5JF93Cr13KjkaLaAFLSUrUUUUnb8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY X7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r126r13M28lY4IEw2 IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84AC jcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM2 8EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2kKe7AKxVWUAVWUtwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxkF7I0En4kS14v26r126r1DMxAIw28IcxkI7V AKI48JMxAIw28IcVCjz48v1sIEY20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C2 67AKxVWUAVWUtwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI 8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW8JVW5 JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r 1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBI daVFxhVjvjDU0xZFpf9x07jeGQDUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750799243026982143?= X-GMAIL-MSGID: =?utf-8?q?1750799243026982143?= |
Series |
[v11,1/3] clocksource: loongson2_hpet: add hpet driver support
|
|
Commit Message
Yinbo Zhu
Nov. 29, 2022, 3:09 a.m. UTC
The Loongson-2 hpet clocksource driver used TIMER_OF_DECLARE to
register clocksource subsystem that ask timer_probe was called
in time_init and this patch was to addd such support.
Signed-off-by: Yinbo Zhu <zhuyinbo@loongson.cn>
---
arch/loongarch/kernel/time.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/loongarch/kernel/time.c b/arch/loongarch/kernel/time.c index 09f20bc81798..658c1fcce4c7 100644 --- a/arch/loongarch/kernel/time.c +++ b/arch/loongarch/kernel/time.c @@ -216,6 +216,7 @@ int __init constant_clocksource_init(void) void __init time_init(void) { of_clk_init(NULL); + timer_probe(); if (!cpu_has_cpucfg) const_clock_freq = cpu_clock_freq;