RE: [PATCH v3 1/3] clocksource/drivers/timer-tegra186: add WDIOC_GETTIMELEFT support

Robert Lin
2025-04-15T02:57:06Z

> From: Thierry Reding <thierry.reding@gmail.com>
> Sent: Thursday, April 10, 2025 6:09 PM
> To: Robert Lin <robelin@nvidia.com>
> Cc: daniel.lezcano@linaro.org; Jon Hunter <jonathanh@nvidia.com>;
> tglx@linutronix.de; Pohsun Su <pohsuns@nvidia.com>; linux-
> kernel@vger.kernel.org; linux-tegra@vger.kernel.org; Sumit Gupta
> <sumitg@nvidia.com>
> Subject: Re: [PATCH v3 1/3] clocksource/drivers/timer-tegra186: add
> WDIOC_GETTIMELEFT support
>
> I'm a little worried that we might be getting a very skewed value here due to
> the multiple rounds of rounding. Can we not compute timeleft in
> microseconds until the very end and only convert to seconds then?
>

Will do in the next patch, thank you.

Robert Lin