Message ID | 169843099133.3135.16121474221122398067.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp803084vqb; Fri, 27 Oct 2023 11:27:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqy8Pv3z+TFWsrUxrsXL0tw/HAfSwplB9f6hWoOMDTXiKUXmVfav6txWf4xbRuLJWgud5F X-Received: by 2002:a25:c0c8:0:b0:d9c:e4e1:b3e9 with SMTP id c191-20020a25c0c8000000b00d9ce4e1b3e9mr10628784ybf.22.1698431245703; Fri, 27 Oct 2023 11:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698431245; cv=none; d=google.com; s=arc-20160816; b=B/lMs1+Li42gnyD+ABw8DGqibBt32e9z/kQPwyc47Meck3ioZoaI9VBhpovLkaQkiY +Cksh+vDf01kJXFWc9LE4faPoobWpvaPRtTssdtZ/e5m5NVcBX5h3go+Dt2E2IBujRm+ 2szLHxeT5CDSyMZWSdc11ZzTtGAJk+zZnkuRC3LImyN99qyJZ4Swo8yCVixlnydEXZCw jHgcPmOY717C/tkbv4B3iaXs21GZg5hqSx3lIEg4vwrQA8RiLa8A2WVCH/jBDFxqmeN1 txyPDL56OH9fK6RFt/8e7fMY268ZEuvLWxgb5PwBTwOA+2vb3dj+2GOKEruCnIqPO8OM 08Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=oD4CgE22kVR7H1tuqLA+CBy4FtkiLGc0YM3cqn0GhZ4=; fh=5uLdB7TIw1x5moBqK6hz149bgxhgG0DoS+KRHrKEePc=; b=CtbQ9raSvqqsxNEA2FYJlNZqilpPGEMTmsfw/9TWDd6JTMUeuoRBxYhW9Rn4uy1b/L 8+5PYkPa7fY/XAu29s0l2jj24ntD6z6msYQe+WxP6k0xlZRfDQbQbE6XNuZLMmBsKuNa iXHRZO3rFjNaPjWsy0GNl5VStElPbK8akGu6YbcPkUh951Sj8wOHKq0bIu2jIHzhGLqR eMSrkC/ZFUfnW3FnriFsuUAUktl0D+EDwNt90FYbvOHazWj8GwVk5SRTZ6/pF/i3rR4D QoZeHvQlBXysq4Pk42LOuyam8naa6H0o3cGUBS1txYRAthZZ0qnMLzuN7k15/JTBUJ4E kkSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Omw9D4NT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KEeWAbKH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j185-20020a2555c2000000b00d9ace8cdeb3si3169969ybb.551.2023.10.27.11.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 11:27:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Omw9D4NT; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=KEeWAbKH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DFE49806034F; Fri, 27 Oct 2023 11:26:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346564AbjJ0SZH (ORCPT <rfc822;a1648639935@gmail.com> + 25 others); Fri, 27 Oct 2023 14:25:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235227AbjJ0SX7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Oct 2023 14:23:59 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60A331FD2; Fri, 27 Oct 2023 11:23:13 -0700 (PDT) Date: Fri, 27 Oct 2023 18:23:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1698430992; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oD4CgE22kVR7H1tuqLA+CBy4FtkiLGc0YM3cqn0GhZ4=; b=Omw9D4NTvqazCIciExgHIlRJC7FgQrn+EifQ4vaPLMQQOyHJni++AHBWqtZU57/OGZMVWr Pd/nYuirZwAR9++DlYzfCpkijiuJ7ea+t875rgdJ1RQZN+RKmZLAhy+QiEF0jA6RCqyFvM iNXGsB5ok19oWoFv3CWkTCtOVgwKqBLfWfYI19mUzqgAtlCDTI2cQzty3M5pN88ELbpHu3 PBKke7TRKNegX+hMFujKEUBxLVbHpqLlaS7sSSJJfuT2rB4PPp5p5w5dIBQdztRO28E497 GiGWsa3DqIimhsekmBb+znWCETI/URxM+sTlwzkNdDNKqrb8EqfQOVviHAKP+g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1698430992; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oD4CgE22kVR7H1tuqLA+CBy4FtkiLGc0YM3cqn0GhZ4=; b=KEeWAbKHYGBN9TI6gGkAVrenZv/lU3Wp1bRGmbIptHUBWjNZWQxxlLNytJxqzoOZevG7nI 3ji6dW+YnD23W2CA== From: "tip-bot2 for Sunil V L" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu Cc: Sunil V L <sunilvl@ventanamicro.com>, Conor Dooley <conor.dooley@microchip.com>, Andrew Jones <ajones@ventanamicro.com>, Samuel Holland <samuel.holland@sifive.com>, Daniel Lezcano <daniel.lezcano@linaro.org>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230927170015.295232-5-sunilvl@ventanamicro.com> References: <20230927170015.295232-5-sunilvl@ventanamicro.com> MIME-Version: 1.0 Message-ID: <169843099133.3135.16121474221122398067.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 11:26:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778212318342025248 X-GMAIL-MSGID: 1780934241671399800 |
Series |
[tip:,timers/core] clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Oct. 27, 2023, 6:23 p.m. UTC
The following commit has been merged into the timers/core branch of tip: Commit-ID: d7f546c751e8c873302331af6a203ee61f894e9d Gitweb: https://git.kernel.org/tip/d7f546c751e8c873302331af6a203ee61f894e9d Author: Sunil V L <sunilvl@ventanamicro.com> AuthorDate: Wed, 27 Sep 2023 22:30:15 +05:30 Committer: Daniel Lezcano <daniel.lezcano@linaro.org> CommitterDate: Wed, 11 Oct 2023 12:06:41 +02:00 clocksource/timer-riscv: ACPI: Add timer_cannot_wakeup_cpu The timer capability to wakeup the cpu irrespective of its idle state is provided by the flag in RHCT. Update the timer code to set this flag. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230927170015.295232-5-sunilvl@ventanamicro.com --- drivers/clocksource/timer-riscv.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/timer-riscv.c index da3071b..5019865 100644 --- a/drivers/clocksource/timer-riscv.c +++ b/drivers/clocksource/timer-riscv.c @@ -212,6 +212,10 @@ TIMER_OF_DECLARE(riscv_timer, "riscv", riscv_timer_init_dt); #ifdef CONFIG_ACPI static int __init riscv_timer_acpi_init(struct acpi_table_header *table) { + struct acpi_table_rhct *rhct = (struct acpi_table_rhct *)table; + + riscv_timer_cannot_wake_cpu = rhct->flags & ACPI_RHCT_TIMER_CANNOT_WAKEUP_CPU; + return riscv_timer_init_common(); }