Re: [PATCH v4 14/25] s390: Query arm guest time
From: Heiko Carstens
Date: Fri Dec 04 2026 - 07:13:03 EST
On Fri, Nov 27, 2026 at 03:22:17PM +0100, Steffen Eiden wrote:
> Add functions to convert between ARM guest time (LSB0) and s390 host
> time (MSB0) using new ptff function codes.
>
> Co-developed-by: Nico Boehr <nrb@xxxxxxxxxxxxx>
> Signed-off-by: Nico Boehr <nrb@xxxxxxxxxxxxx>
> Co-developed-by: Andreas Grapentin <gra@xxxxxxxxxxxxx>
> Signed-off-by: Andreas Grapentin <gra@xxxxxxxxxxxxx>
> Signed-off-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>
> ---
> arch/s390/include/asm/timex.h | 53 +++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 53 insertions(+)
...
> +/*
> + * ptff_qagto() - Query Arm Guest Time Offset
> + *
> + * @physical_time: Arm guest physical time
> + *
> + * Converts the Arm guest physical time into the Arm guest time offset.
> + *
> + * The caller must ensure that this PTFF function is available,
> + * before calling this function. The condition code is discarded.
> + *
> + * Return: Arm guest time offset
> + */
> +static inline u64 ptff_qagto(u64 physical_time)
FWIW, the above looks like proper kernel-doc.
> +/*
> + * ptff_qagpt() - Query Arm Guest Physical Time
...
This too. It might make sense to convert to "/**" to make that
official when applying. Or leave it as it is.
In any case:
Acked-by: Heiko Carstens <hca@xxxxxxxxxxxxx>