* [PATCH v2] liveupdate: Document that retrieve failure is permanent
@ 2026-06-11 9:30 Tarun Sahu
2026-06-11 12:33 ` Pratyush Yadav
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tarun Sahu @ 2026-06-11 9:30 UTC (permalink / raw)
To: Pasha Tatashin, Mike Rapoport, Pratyush Yadav
Cc: linux-kernel, vipinsh, kexec, Tarun Sahu
Signed-off-by: Tarun Sahu <tarunsahu@google.com>
---
include/uapi/linux/liveupdate.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/uapi/linux/liveupdate.h b/include/uapi/linux/liveupdate.h
index 30bc66ee9436..d06aa24350b5 100644
--- a/include/uapi/linux/liveupdate.h
+++ b/include/uapi/linux/liveupdate.h
@@ -168,7 +168,9 @@ struct liveupdate_session_preserve_fd {
* associated with the token and populates the @fd field with a new file
* descriptor referencing the restored resource in the current (new) kernel.
* This operation must be performed *before* signaling completion via
- * %LIVEUPDATE_IOCTL_FINISH.
+ * %LIVEUPDATE_IOCTL_FINISH. If a retrieve of a token fails, subsequent
+ * attempts to retrieve the token fail with the same error code. Failed
+ * retrieves are not retried.
*
* Return: 0 on success, negative error code on failure (e.g., invalid token).
*/
base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce
--
2.54.0.1099.g489fc7bff1-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH v2] liveupdate: Document that retrieve failure is permanent
2026-06-11 9:30 [PATCH v2] liveupdate: Document that retrieve failure is permanent Tarun Sahu
@ 2026-06-11 12:33 ` Pratyush Yadav
2026-06-11 12:49 ` Mike Rapoport
2026-06-11 18:13 ` Pasha Tatashin
2 siblings, 0 replies; 4+ messages in thread
From: Pratyush Yadav @ 2026-06-11 12:33 UTC (permalink / raw)
To: Tarun Sahu
Cc: Pasha Tatashin, Mike Rapoport, Pratyush Yadav, linux-kernel,
vipinsh, kexec
On Thu, Jun 11 2026, Tarun Sahu wrote:
> Signed-off-by: Tarun Sahu <tarunsahu@google.com>
Reviewed-by: Pratyush Yadav (Google) <pratyush@kernel.org>
Thanks for the fix!
[...]
--
Regards,
Pratyush Yadav
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] liveupdate: Document that retrieve failure is permanent
2026-06-11 9:30 [PATCH v2] liveupdate: Document that retrieve failure is permanent Tarun Sahu
2026-06-11 12:33 ` Pratyush Yadav
@ 2026-06-11 12:49 ` Mike Rapoport
2026-06-11 18:13 ` Pasha Tatashin
2 siblings, 0 replies; 4+ messages in thread
From: Mike Rapoport @ 2026-06-11 12:49 UTC (permalink / raw)
To: Pasha Tatashin, Pratyush Yadav, Tarun Sahu; +Cc: linux-kernel, vipinsh, kexec
On Thu, 11 Jun 2026 09:30:40 +0000, Tarun Sahu wrote:
> liveupdate: Document that retrieve failure is permanent
Applied to next branch of liveupdate/linux.git tree, thanks!
[1/1] liveupdate: Document that retrieve failure is permanent
commit: e98a9c61721c14bcd29f11f4802e52e908701f7a
tree: https://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
branch: next
--
Sincerely yours,
Mike.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2] liveupdate: Document that retrieve failure is permanent
2026-06-11 9:30 [PATCH v2] liveupdate: Document that retrieve failure is permanent Tarun Sahu
2026-06-11 12:33 ` Pratyush Yadav
2026-06-11 12:49 ` Mike Rapoport
@ 2026-06-11 18:13 ` Pasha Tatashin
2 siblings, 0 replies; 4+ messages in thread
From: Pasha Tatashin @ 2026-06-11 18:13 UTC (permalink / raw)
To: Tarun Sahu
Cc: Pasha Tatashin, Mike Rapoport, Pratyush Yadav, linux-kernel,
vipinsh, kexec
On 06-11 09:30, Tarun Sahu wrote:
Please include at least a sentence in the commit log.
Otherwise,
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
> Signed-off-by: Tarun Sahu <tarunsahu@google.com>
> ---
> include/uapi/linux/liveupdate.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/liveupdate.h b/include/uapi/linux/liveupdate.h
> index 30bc66ee9436..d06aa24350b5 100644
> --- a/include/uapi/linux/liveupdate.h
> +++ b/include/uapi/linux/liveupdate.h
> @@ -168,7 +168,9 @@ struct liveupdate_session_preserve_fd {
> * associated with the token and populates the @fd field with a new file
> * descriptor referencing the restored resource in the current (new) kernel.
> * This operation must be performed *before* signaling completion via
> - * %LIVEUPDATE_IOCTL_FINISH.
> + * %LIVEUPDATE_IOCTL_FINISH. If a retrieve of a token fails, subsequent
> + * attempts to retrieve the token fail with the same error code. Failed
> + * retrieves are not retried.
> *
> * Return: 0 on success, negative error code on failure (e.g., invalid token).
> */
>
> base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce
> --
> 2.54.0.1099.g489fc7bff1-goog
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-06-11 18:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 9:30 [PATCH v2] liveupdate: Document that retrieve failure is permanent Tarun Sahu
2026-06-11 12:33 ` Pratyush Yadav
2026-06-11 12:49 ` Mike Rapoport
2026-06-11 18:13 ` Pasha Tatashin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox