From mboxrd@z Thu Jan 1 00:00:00 1970 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 6382A4A11; Fri, 8 Aug 2025 08:26:57 +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=1754641617; cv=none; b=SAH9eqflPQH84tD+AFDEohpg0mOAE19hw7wyuM3LFzWPkh5qSrj0jq2F/Z4mg17dHtmnS9w+sFhmjeywlGn/DEUj2uFuvOFanojorlnJHFn1y66MCHqqKvFcB/JT+aSZMW8vHjuwcfpQuk99fccvAUwaLLQ8CZzW5XOIFTw7Vpo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754641617; c=relaxed/simple; bh=yijCaF4i3QtRJm0bLFsVv2wW9o1TENOE2lwvCRsnlnA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=dmT/5B6wOgGCKEkGOh0fhzfvZlhFxPRuH/yzQ+WiqcpT3tuWfsGohqknPcJz48uDOeLAW23v6e1KcdoTFCLaTFD6gcJVHnsklffiyDf99WJGJ+x3lmrGjdgyNTTG+i0frTbpB8Wb4JvBuwcZC+hcZgZkXxbv/lYt2Mp0/yLzTTE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HEAYWHUp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HEAYWHUp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FBECC4CEF0; Fri, 8 Aug 2025 08:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1754641617; bh=yijCaF4i3QtRJm0bLFsVv2wW9o1TENOE2lwvCRsnlnA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=HEAYWHUpqmdo9dv+7OeGckVaRnvoSaUCh6XYxKLPnTvS9mNrQZPjgYwYuk3S0UOwm T2vUjy6NvLLIuskLKiRR4OnR5Ms9f3W78Elmf/hbTJ/V2h0iMD/0irk/6qILSWxx8W 1PP6rDUROoq7GELxCmCEYPDnwQMrcexCKsS8ZLIbeeBDpB4bCvek1CwVzFUxhJb2qM /eY/AEVhECd0oPlaw09Fi2dVsyyA+ajEPwrnR2RTR+gPSFCE/2dU+WmK1EnwWBsQNv g7IjyMnwBvZooLubWbiujZfSD01Ps4wzDde0lzQ/PEY4ayX37021cZdUXryXimxiEK Ieymu+vbtWfQg== From: Andreas Hindborg To: Lyude Paul , rust-for-linux@vger.kernel.org, Thomas Gleixner , Boqun Feng , linux-kernel@vger.kernel.org, FUJITA Tomonori Cc: Frederic Weisbecker , Anna-Maria Behnsen , John Stultz , Stephen Boyd , Miguel Ojeda , Alex Gaynor , Gary Guo , =?utf-8?Q?Bj=C3=B6r?= =?utf-8?Q?n?= Roy Baron , Benno Lossin , Alice Ryhl , Trevor Gross , Danilo Krummrich Subject: Re: [PATCH v6 7/7] rust: hrtimer: Add HrTimer::expires() In-Reply-To: <20250724185236.556482-8-lyude@redhat.com> References: <20250724185236.556482-1-lyude@redhat.com> <20250724185236.556482-8-lyude@redhat.com> Date: Fri, 08 Aug 2025 10:24:32 +0200 Message-ID: <8734a26x1b.fsf@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain "Lyude Paul" writes: > Add a simple callback for retrieving the current expiry time for an > HrTimer. In rvkms, we use the HrTimer expiry value in order to calculate > the approximate vblank timestamp during each emulated vblank interrupt. > > Signed-off-by: Lyude Paul Reviewed-by: Andreas Hindborg Best regards, Andreas Hindborg