Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp634232rdb; Tue, 23 Jan 2024 09:51:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZSeSanHFKXeVpUWTlP+oAVf9nP21LXvvLuT6T4MmfUATWPEPPE7/KbPi0DTEKuXPw0Qcf X-Received: by 2002:a05:6808:2111:b0:3bd:a3cf:3a3a with SMTP id r17-20020a056808211100b003bda3cf3a3amr272737oiw.54.1706032313786; Tue, 23 Jan 2024 09:51:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706032313; cv=pass; d=google.com; s=arc-20160816; b=p6bB4cJA5jTEyxTGJgf74Ou7I34kpOrbunASLBWdwpMu1hveeH6B7znuaHOBWdQOk6 ytnv88yHUeecxtsi+9wSph/J+02FK7T4B0KPL2t1wyS1wyI7WjFR8JXCXYGEcVVlslrK xLFiUyJBMPnwqpZWVnk/5toHE/pyVlmhfe3PLPIl70U0O8v691NRnuWr1pCDaizmEBpt YFW1KwTOHT2be/uSaXY6V00KF7pJ6KzRQTVq14yHy79YSbbxutunFNGzaIWvmxFKisXH qS6IhlXSkeQoaqgZoRPs6tzbNf6KXtA8JSOTlVzCIrQVPPVjs7R62nXGPAfE9MLsVReh N7Fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=wm39KAU3vumwuVQ/rrB6+KJkBn2HFv1Dl9DRt9L1/2Q=; fh=Xyi8UwW+abvzvY4EsSVsoYU7CJxmDz9kv9p4mNNLyGU=; b=DzfX9fZx2jvfP53VKo6coIYkic6mfwYP0vhBc05EFirXZgUGMCKAzIPikkfIMRs1uC r5K6YnFIK1lDM9dOaCIfxsZ+H3lI0Q+71tolQTvZQHbTuQNgn5DH8yoiZMC2NquXbKvE J0/fziGrelaaIGMOOw1ZxqsbhkqSXVgXQBNtmIV08CEpbVOs0dafwl3W+VDc3G8u1A+c hzyevbZ1Kb64BCFoWPXltwgl5l8YE5zJ+koE4xC+femNSrjDObipY76nqNKzhUbH+Erq pfPjxzCPha6ccFz1X4jaNTiIQuPQQw63bhlrYq+4GRjZguACHbTREBLTRYQcfHqFpXME Vldw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4uUotOR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35815-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35815-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z2-20020a05622a028200b0042a09a98ae1si8483445qtw.67.2024.01.23.09.51.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 09:51:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35815-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4uUotOR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-35815-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35815-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2A4661C22130 for ; Tue, 23 Jan 2024 17:51:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20D8B81AA3; Tue, 23 Jan 2024 17:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U4uUotOR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 431E7811F1 for ; Tue, 23 Jan 2024 17:50:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706032230; cv=none; b=KLY21nlnnidFcF/YYxxWyzkF+oM+RucLYY3lhXYt2lWMoHBUBdTDt1NT0UEdAoRtAqZTqRZvKcrvD/cGe4dUvS3q663QJZO/TrbBSMEFs97d6kV/M/o36IV4MKEaECfIhpidDKp1bp4DpascLFwdDayULxvfHiCyrW0VurFyiA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706032230; c=relaxed/simple; bh=awxAMzYU9HaDntJhzA+a1+0udHhkZHo7Vmb+bJNuLog=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=VYiAtnEckD04blHdAB/fS5n1KJ2Z0VCn8bHJZupsjUz6vXJ54seMymFboCSXa1BywhBgaBGEGCkyamLEhggQdN09xo46fmcHiCVAiIZghxILht+TXKvF+vTeZDtc/O5itb4lQTDa6yz9ItsMboffbxZWLgYlnJaj0LXeQXOQA8E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U4uUotOR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 0B98EC433A6; Tue, 23 Jan 2024 17:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706032230; bh=awxAMzYU9HaDntJhzA+a1+0udHhkZHo7Vmb+bJNuLog=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=U4uUotORjnduHiJnhga9a9iSC5xexNraKM47i9W1TViRCenGXQS8oRUX8UCRh6rfu YDW2oQBDn5cpyw5zPINkhy0C1lPJucdgs9c550n77DCcw3r52DD9IyfH/Xca5g0v/L OkLkDoymMEcmVgxBuoqvRSRi6d+/a6EXQLl6RvKWzRW9nw6xToH/XeMMhq1dW89X37 MJKC2z0Jb1456T68ookjB95wDYtBBOKfuua69vH9xLiOfMncbdpERuXeIMZrqqWu9Q 2nu2froMu5VF7WV81pR8B8D5CRR/BOB1V0RESAs6N0proOmCD8JYCZqBu0j5VYMb92 82kr8pvY8Zh6A== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id E781FDFF764; Tue, 23 Jan 2024 17:50:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] clocksource: extend the max_delta_ns of timer-riscv and timer-clint to ULONG_MAX From: patchwork-bot+linux-riscv@kernel.org Message-Id: <170603222994.30461.12710346561077104850.git-patchwork-notify@kernel.org> Date: Tue, 23 Jan 2024 17:50:29 +0000 References: <20230905070945.404653-1-vincent.chen@sifive.com> In-Reply-To: <20230905070945.404653-1-vincent.chen@sifive.com> To: Vincent Chen Cc: linux-riscv@lists.infradead.org, daniel.lezcano@linaro.org, tglx@linutronix.de, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Tue, 5 Sep 2023 15:09:45 +0800 you wrote: > When registering the riscv-timer or clint-timer as a clock_event device, > the driver needs to specify the value of max_delta_ticks. This value > directly influences the max_delta_ns, which represents the maximum time > interval for configuring subsequent clock events. Currently, both > riscv-timer and clint-timer are set with a max_delta_ticks value of > 0x7fff_ffff. When the timer operates at a high frequency, this values > limists the system to sleep only for a short time. For the 1GHz case, > the sleep cannot exceed two seconds. To address this limitation, refer to > other timer implementations to extend it to 2^(bit-width of the timer) - 1. > Because the bit-width of $mtimecmp is 64bit, this value becomes ULONG_MAX > (0xffff_ffff_ffff_ffff). > > [...] Here is the summary with links: - clocksource: extend the max_delta_ns of timer-riscv and timer-clint to ULONG_MAX https://git.kernel.org/riscv/c/d38e2e7bcb3e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html