From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC294C76188 for ; Tue, 4 Apr 2023 21:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZhMqgAH2O5capkhz3ogqiSqKDFjkOBQGJZ5Gu9BtdbI=; b=sb5VyHg59PbMrykLXeLUhXrnnZ QsG1JFpS42LHGO19s0bI7oLhe52RcKSxcrxNY6ZQRc7uz6VrbrHKG61dDiiZb5Ra8mEK7nc6PjeRJ TvJBpi3sfL5XwG26JovRJvlEfSxX+uJ0KTu72zygLfmI9vXuyRo32GI6iP9pZIOkx68xhoZHdkk+W NgSBiFxVsHZbP0oty7m2lQuc43+Y1UbPY8ySW33dSIlXakGN8LuWvNp6dUui23IveDVg10tZnLJYb w3SbI7oGKet43E3UDUOchHkHxl+kmwdGU8bZSJ4hW4vGfjskOQlqWRcsKK6rvfYzMcPXHr5pQKbJY 8bC80GYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjoBr-002ts4-0K; Tue, 04 Apr 2023 21:27:43 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjoBo-002trU-1Y for linux-riscv@lists.infradead.org; Tue, 04 Apr 2023 21:27:42 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 55146635D3; Tue, 4 Apr 2023 21:27:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B025C433D2; Tue, 4 Apr 2023 21:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680643658; bh=bnJKYz7hgPr/gLu9S3FIC84wJhIzGVDpgOk24YANfKs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LIS/Q3mMub53GidGokOOeIViscA6jtGr1sMYGURfpsX6xV/m1BRPYyhxQXt4EeWgb eMSWubsJ0xf8gWtuZ1vkQQOzfrfaTA4Gi6zpiab4zLL22ZxKX7aOsg78Ow8LVEtc4k K/ljs9ow2aZhlwj5+m5qJ1mHt9/8fTm7MnjigqmrMkMgQAjxmACuLN6tenc2H8vYU2 LefxSUuTSHHbJnGPnTeUhILZVEYCgjbLH5ol58YxddtBaxQFhVZzIjY2AeEOyEXtJI tl0kRwvht81sb86zIZLXOlfOktUYrfjxCcZs1lWrSWcW4a1GvpmP7QSASSBRxBBMS2 hmfTXggrYq5rQ== Date: Tue, 4 Apr 2023 22:27:30 +0100 From: Conor Dooley To: Sunil V L Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-crypto@vger.kernel.org, platform-driver-x86@vger.kernel.org, llvm@lists.linux.dev, "Rafael J . Wysocki" , "Rafael J . Wysocki" , Tom Rix , Weili Qian , Herbert Xu , Jonathan Corbet , Marc Zyngier , Daniel Lezcano , Andrew Jones , Albert Ou , Mark Gross , Hans de Goede , Paul Walmsley , Thomas Gleixner , Nathan Chancellor , Nick Desaulniers , Zhou Wang , Palmer Dabbelt , Len Brown , Maximilian Luz , "David S . Miller" Subject: Re: [PATCH V4 17/23] clocksource/timer-riscv: Add ACPI support Message-ID: <20230404-ammonium-cradle-a5bb0e4d4d3e@spud> References: <20230404182037.863533-1-sunilvl@ventanamicro.com> <20230404182037.863533-18-sunilvl@ventanamicro.com> MIME-Version: 1.0 In-Reply-To: <20230404182037.863533-18-sunilvl@ventanamicro.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_142740_592399_9408213F X-CRM114-Status: GOOD ( 21.68 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6421586859703511855==" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org --===============6421586859703511855== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sQmAUn5NMdxQBCz+" Content-Disposition: inline --sQmAUn5NMdxQBCz+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 04, 2023 at 11:50:31PM +0530, Sunil V L wrote: > Initialize the timer driver based on RHCT table on ACPI based > platforms. >=20 > Currently, ACPI doesn't support a flag to indicate that the > timer interrupt can wake up the cpu irrespective of its > power state. It will be added in future update. >=20 > Signed-off-by: Sunil V L > Acked-by: Rafael J. Wysocki > Reviewed-by: Andrew Jones My only comment on v3 was about the commit message & mentioning why there was no handling of the timer's ability to wake the cpu, so: Reviewed-by: Conor Dooley Thanks, Conor. > --- > drivers/clocksource/timer-riscv.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) >=20 > diff --git a/drivers/clocksource/timer-riscv.c b/drivers/clocksource/time= r-riscv.c > index cecc4662293b..da3071b387eb 100644 > --- a/drivers/clocksource/timer-riscv.c > +++ b/drivers/clocksource/timer-riscv.c > @@ -10,6 +10,7 @@ > =20 > #define pr_fmt(fmt) "riscv-timer: " fmt > =20 > +#include > #include > #include > #include > @@ -207,3 +208,13 @@ static int __init riscv_timer_init_dt(struct device_= node *n) > } > =20 > 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) > +{ > + return riscv_timer_init_common(); > +} > + > +TIMER_ACPI_DECLARE(aclint_mtimer, ACPI_SIG_RHCT, riscv_timer_acpi_init); > + > +#endif > --=20 > 2.34.1 >=20 >=20 > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv --sQmAUn5NMdxQBCz+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZCyWQgAKCRB4tDGHoIJi 0rT7AQCGUlB0daUlvZlotXE9AX4dUyeEfJS6O7vxjF94PE3b8QEAib+YSnkdmpOM ROSIWdBZztUmg+3YEDkEHx8u7yv+GAE= =n76y -----END PGP SIGNATURE----- --sQmAUn5NMdxQBCz+-- --===============6421586859703511855== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv --===============6421586859703511855==--