Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.197 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793633824; b=qT0hTVzgmBLnm60MXtPqbiAxDBYnbMCll20wPkLkH+uXAxeLEZWVEu5L6dkOFMWQLdhZ zKbbK44NbNc+sQINovZqfKSRfY9wHD24LW/XKjD15mHIXMswQyarplkG5jucPBk3QG5yl XA4hIjE8YZhhR6JluVW2s097B1TckkdVcoLmzKAy6lfGEsa2HwmyX9nlcctYpNqjxcfUj E4tvsJbKWfB6kd9Y3iojrEM4IZYEEbDiJ+TDOaCbVkApW7KmZNUKJGDP8nRVNsfi2jLLg iLFvhh33ykRDrTePm6uVcQjmlPC7y+jx9X/lqTX2O4HaU15jOVIVhuCMNi52UqnphWg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793633824; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:X-Mailer:Message-ID:Subject:From:To:Cc: Content-Type; bh=zTFnRhvBDyUF5JRAjEQ7l0v+FU3UL1Jli3F24C62wAY=; b=tIfwLbT/zpGJ1cPHGRVtr3xpPtbwVApfzbmF0PzbX0yLqafCgHHCwoWHb4UKn92QWc0f czX6LFSOnE8XmFwJ7Ha/8GgDq4HKuyboXBjf0kHWsYme/vnU+FhuiZR93Q6k6VGXnIwdc o3dTZCvBzKRnMMbc2MkdyJhlTvq9Xky+QREFotpzn3SmGjzy/fLKgFUt1gT3CVeWC6s+a C18KuZ/tindBnP5u5HlpzC29DXQMCz/Op0DF/LHFOn2lc81TCQN9b5T4i0LccFuVAPNzW Zd+4LeU+7rxAromKXBj0jWt8fXvVNed2HbnIdH1WqxOsA1Omm2z+FvPRHtcz2ADyMPQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--vipinsh.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=nXLsDoSj; arc=none smtp.remote-ip=209.85.214.197 Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 049F560A6D3D for ; Mon, 2 Nov 2026 15:37:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 049F560A6D3D 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--vipinsh.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=nXLsDoSj Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2eb362d1f5eso34108315ad.2 for ; Mon, 02 Nov 2026 07:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1793633823; x=1794238623; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=zTFnRhvBDyUF5JRAjEQ7l0v+FU3UL1Jli3F24C62wAY=; b=nXLsDoSjK7QlSr/DnZV29AOmi6/B614U+TOun2xkrK/KJypU7Mja/+yJSOyjJxJ1JF t92COURKlIfRrn1/scsE+b40xxlxhspMd2I9Q9Wqc1Rop+oBtvAxFRnfy7/O20ogpcFq Jol0jpmDSxb5uczvuaj2CUxAcq1MN1DpIGD5a6S/pHwoQuHxTPhPGC5pwjFRsZ1l6ack Yxc1p9QadsYcSW5Hy6Sl94tjJyH0r7PHzSrnzqQC6OPCxkrExXnGnS1VNa3II3GVUxcU umtILXOrPPXnRct93QK3FksTnkTXilahIdHh+nMJDQKpBK38etXfk9kUXiV6iKhvbFzn nRag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793633823; x=1794238623; h=content-type: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:content-type; bh=zTFnRhvBDyUF5JRAjEQ7l0v+FU3UL1Jli3F24C62wAY=; b=EeYPEfL0Bk8Seuf8jriynGeiKsSKHBP3tHAhlqbRFN8zgBdOyqug/KvH/amkV1XxeH E8GvjTrPR152DxKAOXMlJaPgUJf6FBAdr85eFZca8D5DASbF2tmDN3JEFWUk1SswHXlC UVNFaFxmr6J7RgP7O6MrkehN3STr0zGce+Cu5P5Di9grJSEzrV8R0YFcRoYUJzJkuvYO wLnUchMMabQKuBzROFTQ4xgKvtYSqctwQrPQFQUimCpBrspkE91gsg8iKGC4sVRFQpt6 evfrvK7XloQA3x9aQAqH/4iM/DhuBN+gvPSbn/eMlgRZkqros67txs9ul6zUfR+t4fOs IW/w== X-Forwarded-Encrypted: i=1; AKwUvByYSKUtNTjKnm3Iihnltklg5Fqn0mcXGmdaMMPlMS8KlV1wnZUTrihRkPCCN3IcY6YMjXc=@vger.kernel.org X-Gm-Message-State: APuU4Z+Ln6ffkDc/dapQx3tZuVVeOSBBhrTaF5hp9SG4ox5GuLFH7cFh BGJqeJKsZzJQ43bxKf1IuLnH0raljj5K16XbcqbkguP7SE1YIb7c/rNnH9VtH79CklAYGO9eVTz w7yGqa8LOlA== X-Received: from plar18.prod.google.com ([2002:a17:902:c7d2:b0:2e4:8c0e:97db]) (user=vipinsh job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:ce0e:b0:2e2:fc90:11a4 with SMTP id d9443c01a7336-2eb364faec7mr97592545ad.48.1793633823158; Mon, 02 Nov 2026 07:37:03 -0800 (PST) Date: Mon, 2 Nov 2026 07:36:32 -0800 In-Reply-To: <20261102153656.1431701-1-vipinsh@google.com> X-Mailing-List: kvm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261102153656.1431701-1-vipinsh@google.com> X-Mailer: git-send-email 2.56.0.317.g454f8302e1-goog Message-ID: <20261102153656.1431701-4-vipinsh@google.com> Subject: [PATCH v6 03/27] liveupdate: Export symbols needed by modules From: Vipin Sharma To: kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-pci@vger.kernel.org Cc: ajayachandra@nvidia.com, alex@shazbot.org, amastro@fb.com, ankita@nvidia.com, apopple@nvidia.com, bhelgaas@google.com, chrisl@kernel.org, christian.koenig@amd.com, corbet@lwn.net, dmatlack@google.com, graf@amazon.com, jacob.pan@linux.microsoft.com, jgg@nvidia.com, jgg@ziepe.ca, jrhilke@google.com, julianr@linux.ibm.com, kees@kernel.org, kevin.tian@intel.com, leon@kernel.org, leonro@nvidia.com, lukas@wunner.de, mattev@meta.com, michal.winiarski@intel.com, parav@nvidia.com, pasha.tatashin@soleen.com, praan@google.com, pratyush@kernel.org, rananta@google.com, rdunlap@infradead.org, rientjes@google.com, rodrigo.vivi@intel.com, rppt@kernel.org, saeedm@nvidia.com, schnelle@linux.ibm.com, skhan@linuxfoundation.org, skhawaja@google.com, vipinsh@google.com, vivek.kasireddy@intel.com, witu@nvidia.com, yanjun.zhu@linux.dev, yi.l.liu@intel.com Content-Type: text/plain; charset="UTF-8" Export liveupdate_register_file_handler() and liveupdate_unregister_file_handler(). All of these will be used by vfio-pci in a subsequent commit, which can be built as a module. Reviewed-by: Samiullah Khawaja Reviewed-by: Pranjal Shrivastava Signed-off-by: David Matlack Signed-off-by: Vipin Sharma --- kernel/liveupdate/luo_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/liveupdate/luo_file.c b/kernel/liveupdate/luo_file.c index dbae0715220b..6aaa9a531428 100644 --- a/kernel/liveupdate/luo_file.c +++ b/kernel/liveupdate/luo_file.c @@ -916,6 +916,7 @@ int liveupdate_register_file_handler(struct liveupdate_file_handler *fh) up_write(&luo_register_rwlock); return err; } +EXPORT_SYMBOL_GPL(liveupdate_register_file_handler); /** * liveupdate_unregister_file_handler - Unregister a liveupdate file handler @@ -933,6 +934,7 @@ void liveupdate_unregister_file_handler(struct liveupdate_file_handler *fh) luo_flb_unregister_all(fh); list_del(&ACCESS_PRIVATE(fh, list)); } +EXPORT_SYMBOL_GPL(liveupdate_unregister_file_handler); /** * liveupdate_get_token_outgoing - Get the token for a preserved file. -- 2.56.0.317.g454f8302e1-goog