Re: [PATCH v5 1/4] virtio_rtc: Add module and driver core

2025-02-25 Thread Peter Hilber
On Mon, Feb 24, 2025 at 05:55:27PM +, Simon Horman wrote: > On Wed, Feb 19, 2025 at 08:32:56PM +0100, Peter Hilber wrote: > > ... > > > +/** > > + * VIORTC_MSG() - extract message from message handle > > + * @hdl: message handle > > + * > > + * Return: struct viortc_msg > > + */ > > +#define

Re: [PATCH v5 1/4] virtio_rtc: Add module and driver core

2025-02-24 Thread Simon Horman
On Wed, Feb 19, 2025 at 08:32:56PM +0100, Peter Hilber wrote: ... > +/** > + * VIORTC_MSG() - extract message from message handle > + * @hdl: message handle > + * > + * Return: struct viortc_msg > + */ > +#define VIORTC_MSG(hdl) ((hdl).msg) > + > +/** > + * VIORTC_MSG_INIT() - initialize message

[PATCH v5 1/4] virtio_rtc: Add module and driver core

2025-02-19 Thread Peter Hilber
Add the virtio_rtc module and driver core. The virtio_rtc module implements a driver compatible with the proposed Virtio RTC device specification. The Virtio RTC (Real Time Clock) device provides information about current time. The device can provide different clocks, e.g. for the UTC or TAI time s