From nobody Thu Jun 25 01:54:36 2026 Received: from mail-ej1-f74.google.com (mail-ej1-f74.google.com [209.85.218.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 728F540D566 for ; Thu, 11 Jun 2026 09:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781170247; cv=none; b=fRRGtwL1MXvD0d+Qxqb+eLXImPPHwMqVRuNRsqtk3MrmJwcoQhcGSMyQ/IV5IiwzNWSCLRrbucBNlINWf/EaBrI7zASGda3//InDjMqSy+LwwA7oqKspQGcbs+/SsVtzrzRRT9BaM2kllEhFfez+WtdWcpDha9FmKSzNo4+LJvc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781170247; c=relaxed/simple; bh=ZWucOIz8uacMesZ/L/G21KFzAQeA+vspS3BK+P0KJt8=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=mEVlCDRTvz485U+iCRwlMHdHjHXN+7IzL15Y/uVzlSTtJMqk0BSyy/fwyHt9bNR7xR3+xpC0uhb1eFzG/kqI/sMq8dHzM2G0Pe3K1SNs5ShIF7CBcBVj0SpdTmwcGRUeXZ4hSE1Ydo3zXeh25od2/1hrPTHsqFq7BrwM4QWsGvU= 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=saPljHP2; arc=none smtp.client-ip=209.85.218.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="saPljHP2" Received: by mail-ej1-f74.google.com with SMTP id a640c23a62f3a-bf523d7b023so640030466b.2 for ; Thu, 11 Jun 2026 02:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1781170245; x=1781775045; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=jad+ABumvty4Afl/cOu2u5kAzyK5CuVnZh2s0pggACY=; b=saPljHP2tPqWeK+zgUbQWIbHweFDNXlWq7dr5NdxUwbkU4AF4J7bk11u/NJPd0V/I0 MgD41RT9b4QBfV22Z+HX9sE4yY9s6dzBvZjU6e6O11Vt+T9wsXEdhkXaZXtXQ0n/aecG E9qthb4x6r7zJbAAaNwAmT93fyLE2CtUWHWEwD/9dSlkxh2SqBqtNIyd9OgpnzuOTchP NpyIygcZu39PO35R+ZPdCJqIBxzFwYrtENRMBF3TLUyMQ9snEzkeBVuTkA4YOjdEPx3E EfSLErJsRPhDVjO07Grv0RItAEHP5L/UAcNqW9UDQdO92Gd6K1O3ygh8idyYp/bSENlG hUKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781170245; x=1781775045; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jad+ABumvty4Afl/cOu2u5kAzyK5CuVnZh2s0pggACY=; b=d7xq2sTbXGfL/ujvncHjGJgMSKkt9nM5F9t0heB+DBSWYozXaLuhH2jVKf9yD/k0QJ 6+lhGMRLT9Qqk1cuHNdh2l3EDQF7ULRIQN1m5q+i0Wn2+uL1wMnffizh1k/9+XAVq/wa 8c9BlX3Qb9tLvF5HGaS0QgVjuVobNzxu2tKF5INRTtrKhJLLQB1QYtaZZxVzl0fV/1ii Bwk0BVi6hDRElUis33CYABN0cQZUjkdmGAYMrCq8wbeeRpLNwil+qQVg7+E0dVroIMsG 5aoq3PhOxlc9lTK8YCqIJQRMwGi4f1uOc3oAFjs1f7WahLq+BqPEy/ksa/2MW5W68pzz g6/w== X-Gm-Message-State: AOJu0YxHn/r1lwZJsE8fV33vwCOtwuV3iFZADv5ukNvMGoL7RfKR2WR9 YA1dgoj1PklIzz39qrmI2kX0tgPlhTwEPqo1tvojVM0f7GfQW+E1lSX2AV2e15B9SpHUiDD1cpE ItJmwftDamvnbYq2mow== X-Received: from edwt4.prod.google.com ([2002:a05:6402:3c4:b0:677:1dc7:ad3]) (user=tarunsahu job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6402:4307:b0:691:b5aa:5a5c with SMTP id 4fb4d7f45d1cf-6930e2d10d3mr927852a12.20.1781170244568; Thu, 11 Jun 2026 02:30:44 -0700 (PDT) Date: Thu, 11 Jun 2026 09:30:40 +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: Subject: [PATCH v2] liveupdate: Document that retrieve failure is permanent From: Tarun Sahu To: Pasha Tatashin , Mike Rapoport , Pratyush Yadav Cc: linux-kernel@vger.kernel.org, vipinsh@google.com, kexec@lists.infradead.org, Tarun Sahu Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Tarun Sahu Reviewed-by: Pasha Tatashin =20 Reviewed-by: Pratyush Yadav (Google) --- 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/liveupdat= e.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) kerne= l. * 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 tok= en). */ base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce --=20 2.54.0.1099.g489fc7bff1-goog