Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-13 Thread Peter Hilber
On 11.03.24 20:46, Alexandre Belloni wrote: > On 11/03/2024 19:28:50+0100, Peter Hilber wrote: Perhaps this might be handled by the driver also setting a virtio-rtc monotonic alarm (which uses a clock similar to CLOCK_BOOTTIME_ALARM). The virtio-rtc monotonic alarm would just

Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-11 Thread Alexandre Belloni
On 11/03/2024 19:28:50+0100, Peter Hilber wrote: > >> Perhaps this might be handled by the driver also setting a virtio-rtc > >> monotonic alarm (which uses a clock similar to CLOCK_BOOTTIME_ALARM). > >> The > >> virtio-rtc monotonic alarm would just be used to wake up in case it was > >> a > >>

Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-11 Thread Peter Hilber
On 08.03.24 18:03, Alexandre Belloni wrote: > Hello, > > I'll start by saying that I'm sorry, I have a very very high level > knowledge about what virtio is. > > On 18/12/2023 08:38:45+0100, Peter Hilber wrote: >> Expose the virtio-rtc UTC clock as an RTC clock to userspace, if it is >> present.

Re: [RFC PATCH v3 7/7] virtio_rtc: Add RTC class driver

2024-03-08 Thread Alexandre Belloni
Hello, I'll start by saying that I'm sorry, I have a very very high level knowledge about what virtio is. On 18/12/2023 08:38:45+0100, Peter Hilber wrote: > Expose the virtio-rtc UTC clock as an RTC clock to userspace, if it is > present. Support RTC alarm if the virtio-rtc alarm feature is