Re: [PATCH v11 7/8] rust: Add read_poll_timeout functions

From: Daniel Almeida
Date: Mon Jul 28 2025 - 10:20:53 EST




> On 28 Jul 2025, at 10:08, FUJITA Tomonori <fujita.tomonori@xxxxxxxxx> wrote:
>
> On Mon, 28 Jul 2025 14:57:16 +0200
> Danilo Krummrich <kernel@xxxxxxxx> wrote:
>
>> On 7/28/25 2:52 PM, FUJITA Tomonori wrote:
>>> All the dependencies for this patch (timer, fsleep, might_sleep, etc)
>>> are planned to be merged in 6.17-rc1, and I'll submit the updated
>>> version after the rc1 release.
>>
>> Can you please Cc Alex and me on this?
>
> Sure.
>
> read_poll_timeout() works for drm drivers? read_poll_timeout_atomic()
> are necessary too?

Tyr needs read_poll_timeout_atomic() too, but I never really understood
if that's not achievable by setting sleep_delta==0, which skips the
call to fsleep().

— Daniel