From nobody Thu Jun 25 00:33:55 2026 Received: from mail-wm1-f74.google.com (mail-wm1-f74.google.com [209.85.128.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87BD03E3D9A for ; Mon, 8 Jun 2026 18:43:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780944187; cv=none; b=Yp1A/g03o/LfpSnX7aThYoX0ued1sbJZfUGHm9/CJokYgJseug6813gNTFKuTYE7vn+oba8KT4zOuWmbYHBrFVIcFNkBWAs20RYg+FsHBBKrJObgOFr8W4qkgRNjtCHaOVLTqgRt8uR239k6PLIiKrwGj+YBAi2AMZD4ZroB4po= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780944187; c=relaxed/simple; bh=2DQ+RSZrkVpljRDCgFyPqEr6wQyTzpNbsORUNeGobAc=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=vFdG4pLTYbIDKLCmww/9IReYb+1CdNHLBAVbSLhH4W8BOilpp0EySlFihgRDvwIZDOT5H3/QUW0wrlJdfRtXs4P42fA8+YZ4TSvkIjFOkOfTnlIdsPori2AZSlXKMdFRsKgarZi4x8CqjWXcvxubVlxrvtX/F0MIbqmjl7RfKOo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--tarunsahu.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Ad5pIKlz; arc=none smtp.client-ip=209.85.128.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--tarunsahu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Ad5pIKlz" Received: by mail-wm1-f74.google.com with SMTP id 5b1f17b1804b1-490b93debc8so36959675e9.1 for ; Mon, 08 Jun 2026 11:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780944185; x=1781548985; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=zc7hciXDAJMejuhqEhFFQ+iAWZDaZQLuCctzxmyuzcM=; b=Ad5pIKlzg6hhfNLBm+wy3tnKawAIf795w/uHCO2MoqjOPRaoucRCo4cCq6rmPcP9s6 ZIb4upUAC2sNI+fc18yp/uznkHiJ3R+kDTBFyolmepDN+me/2rTOGtBfLFhVA7NHAB0Y Wa9YdGdCkepXvV6Zli9UgSXJ5WFc41PxIHdONtkmLWSTk37RQhWRqB/AtU9UjHSt3rIv e8X5TUW+vlx19y4akZsqilXRTdnCYyhpQE9ZQdM3qNSWRtNdyjqUIt1Sj3eYbcNJogke 0M1ajAAWy7OvZzMkw9qgiKX/pO3NJ1FN7hUJrFhHQi0WLL05w/ug3d+FcYrUYWVay2+e Y+pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780944185; x=1781548985; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=zc7hciXDAJMejuhqEhFFQ+iAWZDaZQLuCctzxmyuzcM=; b=Hahlh8la42CGQGf+byVQLDLy6fTy3EgcDVfPNDBmBqkSC9PGJMlGzFLeNrJfGG3rNM AJU44xQJW/JRK+iie7mmO1q4LqFmLPf95Nc/5heMl0/YS+P/SUt/Aan1Z7MDDYNWZbtP abPKMNofqjzYjNLAcXIx/rYrfrSPagUonmsRVOx67N3cB/BN7O1DfniAzbSpZZ25Tt1U ExBFD2MoY5/pZaX8+mrBZSXkV1nIRzwH1yUsNP8uIq1R6BHMcEC6HVgIagJN3Tt4S1e7 UizVu5cNemJJLsAUyOl7nngtdJ7yx5a14oJI3s+HLHLrX8nUWFu2n02zMNAkOMhSm1kO y6IQ== X-Gm-Message-State: AOJu0YwpstHj738j49Dgw66PzB72qR0ddCWJAUvbOZwgkBzaJsJl3LNA PQ4pt7Kw16U3UzXboojY/lmiXm0ze/MCeFEiD52YV0vRUg6FEgg1cka5ihB8h6zG7bTt28UU1hx TuYigHevrPZNxUGnN6Q== X-Received: from wmbg11.prod.google.com ([2002:a05:600c:a40b:b0:490:b22d:da02]) (user=tarunsahu job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:450a:b0:490:c2a2:b1d3 with SMTP id 5b1f17b1804b1-490c2a2b3c6mr250645405e9.34.1780944184869; Mon, 08 Jun 2026 11:43:04 -0700 (PDT) Date: Mon, 8 Jun 2026 18:42:50 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.54.0.1099.g489fc7bff1-goog Message-ID: <074445fc4964961f12171ea129f2a7690322a78a.1780944056.git.tarunsahu@google.com> Subject: [PATCH] liveupdate: Document that retrieve failure is permanent From: Tarun Sahu To: Pasha Tatashin , Mike Rapoport , Pratyush Yadav Cc: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, vipinsh@google.com, Tarun Sahu Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Tarun Sahu --- include/uapi/linux/liveupdate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/liveupdate.h b/include/uapi/linux/liveupdat= e.h index 30bc66ee9436..a564d2bd05c1 100644 --- a/include/uapi/linux/liveupdate.h +++ b/include/uapi/linux/liveupdate.h @@ -168,7 +168,8 @@ 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) kerne= l. * This operation must be performed *before* signaling completion via - * %LIVEUPDATE_IOCTL_FINISH. + * %LIVEUPDATE_IOCTL_FINISH. Once retrieve call is failed, retrieve status + * is saved. So it is permanent failure and retry is pointless. * * Return: 0 on success, negative error code on failure (e.g., invalid tok= en). */ base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce prerequisite-patch-id: 30753743cdfab5c3c5355ecde725b6648f1b7a17 --=20 2.54.0.1099.g489fc7bff1-goog