From mboxrd@z Thu Jan 1 00:00:00 1970 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 E560A3EC2CD for ; Mon, 15 Jun 2026 12:29:02 +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=1781526546; cv=none; b=TtWCWyCBPe/n4eI4LQcspVqE7gjdXLXw37oRiQv+hE7atavL8RquufICzsE8LIjlNFATeMqN03q6kKKrraSAtaRycdMH0R93TT7BJJ2IyPTAbBtdO329AOl3K8vK3IoMywSbaWLD1VO8eTl52MNC714ZKs6JIj1oQ3+hcJW2eAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781526546; c=relaxed/simple; bh=xm5nLL9LYQrpV74NY2bBTTEBMHXzwDey8f1LdKo/QpU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=IRaDqJdoyWvmLBqIVDzbSqAuUwenPxdnxhjfRF53dyX5BOREMfW7g7qts2zn1tpQpH9WR+fLHmNVQezrEZSA3dTO73GvQe/IZeYePdwQdZGpRzx+/iE2dBNKxHwUkrS+22tHi5kKcEgGf+MGhuwom+FxqaQneNYdLI+yX6Fa4/k= 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=SkIe2n8u; 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="SkIe2n8u" Received: by mail-ej1-f74.google.com with SMTP id a640c23a62f3a-bed16fc8424so287446266b.0 for ; Mon, 15 Jun 2026 05:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1781526541; x=1782131341; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=CT1s7ATFj8WteSPKKyFJkoKC4fFljJpIcKayyOXkzbM=; b=SkIe2n8uoB1LUV2JNFcdHc/WNqZ0kS9ZfYJkFJQjzYUAEHDzuBeEY+cf4f7pFk8UG8 Iguu8DKdwGN2xmCcXeNrOAj/6I3xE4vFtBYfgZUuReHEpI8nUEwYeeflciF/UJN3LKxG HcmaDiOIuoovYmOkwqT38M8o2YycloAcNBDIdQa4I40ESnjY37tw4bUdDK4lVWBpVcKR ALGtXE07d34HZkELIrz/eEFJsPLpivQY55LrDGf4v4VhfANGHug35Swe0+Q37lfKgCxF 0cFcISgpjKsijcotvIyScXphIES06yWG5QsZYjX+Yu7yPEENfPo1wphNiWNUyVi5zbKI yC4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781526541; x=1782131341; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CT1s7ATFj8WteSPKKyFJkoKC4fFljJpIcKayyOXkzbM=; b=DeAzP5PaHwT5NUzOm5e1OOwOS53c1PGxoS8BwwLyeaiW3s7/M06zUALEJphqyNOYEE k6VI55n+IWox5slY9RY9ZFSa+/Ym1hdZTSE2Qy8CA7g3O0Cfy2zi77XpJNLrIQdm14gU kDhrctqtp/CsW0u8zgJVuMGCDtyEATZL5WPt68k6ydNm5Zk+C+4vbZjcYjp3SXAIRB9N 3Ej9NOsBIq4qhTAVmICO4xFunY0l/vLPN9IG51Oj5d+Fg9iikUqra/aeGXpcAbrepdNY RGeL0bJu6QQl7XTSvkhXJiacXTAmCJDYitBgafR3zwz6paQv3PkQxf9MjZ9QMvekdnx2 HRLQ== X-Forwarded-Encrypted: i=1; AFNElJ8c2RL3WtbtbNQoGMV2wuIiGCmFClmIx4Rlx69QGv/vEWuhYi784dwv+ilsR98/Bj/dEVXjPAQLC/PGrTE=@vger.kernel.org X-Gm-Message-State: AOJu0YytLI0fhos/PbzD+TrMXQJ8LXXxbApmgW5RuutStr0C/9xCbVqm wd2AiRb7IhmOKSTT1UZtADA1lAPY6jDRuEWp5yHxSe98RYwWs4CcDpvhhgBki/nYjJ6crCVcG+W lj06UL6B/JuFCPIppvA== X-Received: from ejchy18.prod.google.com ([2002:a17:906:8a72:b0:bfa:90b2:a153]) (user=tarunsahu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:907:6e86:b0:bee:f402:5567 with SMTP id a640c23a62f3a-bfe2acf2cc4mr672276966b.41.1781526540559; Mon, 15 Jun 2026 05:29:00 -0700 (PDT) Date: Mon, 15 Jun 2026 12:28:59 +0000 In-Reply-To: <20260613012521.835490-1-skhawaja@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260613012521.835490-1-skhawaja@google.com> Message-ID: <9huz4ij4xa0k.fsf@tarunix.c.googlers.com> Subject: Re: [PATCH 0/1] liveupdate: Add internal APIs for file preservation From: tarunsahu@google.com To: Samiullah Khawaja , Pasha Tatashin , Mike Rapoport , Pratyush Yadav , Alexander Graf Cc: Samiullah Khawaja , David Matlack , open list , "open list:KEXEC HANDOVER (KHO)" , "open list:KEXEC HANDOVER (KHO)" Content-Type: text/plain; charset="UTF-8" Hi, Thankyou for sending it saperately, Now I can remove this from guest_memfd series, And we can track it here. I think it needs rebasing. I see it fails to apply to liveupdate/next and mainline both. Thanks Samiullah Khawaja writes: > Live update orchestrator file handlers depend on the preservation of > other files. To make sure that the dependency is preserved, the file > handlers needs to fetch the preservation token of the preserved > dependency. Similarly during restore, a file handler wants to fetch the > restored file of the dependency. > > There are two known usecases of this, > > - VFIO-Cdev preservation requires the preservation of iommufd. This is > required by the IOMMU preservation series: > https://lore.kernel.org/all/20260427175633.1978233-1-skhawaja@google.com/ > - guest_memfd preservation requires the preservation of kvmfd. This is > required by the guest_memfd preservation series: > https://lore.kernel.org/all/20ae20f9d1a198b289444ebb4c824314cbba1bcf.1780676742.git.tarunsahu@google.com/ > > This patch was being sent as part of the IOMMU preservation series, but > now it is being sent separately. > > Pasha Tatashin (1): > liveupdate: luo_file: Add internal APIs for file preservation > > include/linux/liveupdate.h | 21 ++++++++++ > kernel/liveupdate/luo_file.c | 69 ++++++++++++++++++++++++++++++++ > kernel/liveupdate/luo_internal.h | 17 ++++++++ > 3 files changed, 107 insertions(+) > > base-commit: 34e8f02817e31826e76bb2ded48bf28fe921f20b > -- > 2.54.0.1136.gdb2ca164c4-goog