From nobody Sun Feb 8 16:50:41 2026 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.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 ECCEB35BDCB for ; Thu, 29 Jan 2026 21:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769721942; cv=none; b=bdc71H9ILr2ESmDbs+4y8yzWzlXgc9XXRsY2Hm4BAEZHsQTJFNn2yqKEXIAzPpymXn+lWulDEhR+t3VLWS5TdRkD0sW4QMV6cPDZ6ajSsCcy3jz3Zb2juXMtg3MjUnahC+FXLIDEfhJeB+ng1J1cCj3dBuTGpBncuGOWOYGETbY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769721942; c=relaxed/simple; bh=pGh11QoBfatNNPcD3UbRdXhxdT0MMITx2WqEtn8eFss=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=rLOB5n/9onikf2jEtHD4m6B1FVUusa5RUCke0UOMC7SJngoW2xqvBCJNcGfBQ7r4kMnkLZBF7aG2nAcuyE/L1+YngfB2k2IX6pUzJf63Mhym4WN6rKLYgpbXwWuC23z1VYnbu28H6n7s01+9hAiDbcTwTHeVFpNLKiqikpgSuJk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=YgClsBSQ; arc=none smtp.client-ip=209.85.216.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--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="YgClsBSQ" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-34abd303b4aso2994468a91.1 for ; Thu, 29 Jan 2026 13:25:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1769721939; x=1770326739; 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=iXsfpp7fYjSPi1nIw2ScrDnrjqTlWGi7ZArDWIRjDgk=; b=YgClsBSQkemOJVm7JMV99ev6GYocZTi+wpSdSxrIQAl42Bql7Vr4oGTqoEtm0Hz9vX 24FOanK/YWsgGM16o/756RCi/TOKqOzj6j+/XBtzZ6F5BPmRulnQtrHlb2JCAgnW64xI wNDMI/jZXzuZhvw5/SCsFa8VhoGxUbJKTZNI+6kQ30ZrMLTCUyccCV5JxCzWHXbKh3JW Q2FnBxQj9+z5NNXKrQFB9QPKJiGtxr5vgr5VXI9hJjIvAQXV7wmRW9xO9nrwSm3foyaO u23daigvanFsWEXNf1FeMaLkRRSNf4xQ68YAVvzmWfN9o6GimsOztC2hSdEGDi2TCgLu 3L6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769721939; x=1770326739; 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=iXsfpp7fYjSPi1nIw2ScrDnrjqTlWGi7ZArDWIRjDgk=; b=QkeOjMZpg0xelpRpyzzsHjJP22DZAAn1rnYvIYlhn12oQ8e1oP4wXJiyv7EJQoaJL3 ha+JxvHQfjos1/+zcmvNNZk4DDtopS91CsjnuYChlS2LO/0LsL+LRNX5cflHPV88lHCW yWDDDl6c0E3PGR0qy09MbLVJKGuzfzVLCvFsh8+vw0zJcE/enwwtRjZsXAEDg+bXkjxA JYmH4zuEy7M9oFdo54nFoA0sJbg5Xa1FmX9PT7cQRyVMV4OQfJ/rn+mXM4deBAEHygZ9 h5+6AnarPhyg8usUfLLBzUUo/zClwNyA5KhkrvFIzFPNqKTo/wgapH8YdSsFykCzmX+0 QLAQ== X-Forwarded-Encrypted: i=1; AJvYcCWq93aPHC3qK7UJmWfLIPhrIvTRhydRpNe4CWgrsuPy2P20r/EedYuGwg8/+MH14oCAnxAfyjuC97vX+2w=@vger.kernel.org X-Gm-Message-State: AOJu0YyBgd8sgoMxpXjtiBsFcgPlD1A9fQOEEDK/YmUfM7563hopMjKr aCZ16QxuYddU6DGbNmAQPCNvGfOIOcTT2SwVRR1tDfxxoS8pVnSFTY8CyelkjQE97WpcsjDWKzu 1yaRMaKfLHorEWA== X-Received: from pjyu17.prod.google.com ([2002:a17:90a:e011:b0:353:454:939c]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:17c9:b0:353:356c:6840 with SMTP id 98e67ed59e1d1-3543b31688fmr768863a91.14.1769721939368; Thu, 29 Jan 2026 13:25:39 -0800 (PST) Date: Thu, 29 Jan 2026 21:24:48 +0000 In-Reply-To: <20260129212510.967611-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260129212510.967611-1-dmatlack@google.com> X-Mailer: git-send-email 2.53.0.rc1.225.gd81095ad13-goog Message-ID: <20260129212510.967611-2-dmatlack@google.com> Subject: [PATCH v2 01/22] liveupdate: Export symbols needed by modules From: David Matlack To: Alex Williamson Cc: Adithya Jayachandran , Alexander Graf , Alex Mastro , Alistair Popple , Andrew Morton , Ankit Agrawal , Bjorn Helgaas , Chris Li , David Matlack , David Rientjes , Jacob Pan , Jason Gunthorpe , Jason Gunthorpe , Jonathan Corbet , Josh Hilke , Kevin Tian , kexec@lists.infradead.org, kvm@vger.kernel.org, Leon Romanovsky , Leon Romanovsky , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org, Lukas Wunner , "=?UTF-8?q?Micha=C5=82=20Winiarski?=" , Mike Rapoport , Parav Pandit , Pasha Tatashin , Pranjal Shrivastava , Pratyush Yadav , Raghavendra Rao Ananta , Rodrigo Vivi , Saeed Mahameed , Samiullah Khawaja , Shuah Khan , "=?UTF-8?q?Thomas=20Hellstr=C3=B6m?=" , Tomita Moeko , Vipin Sharma , Vivek Kasireddy , William Tu , Yi Liu , Zhu Yanjun Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Export liveupdate_enabled(), 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. Signed-off-by: David Matlack --- kernel/liveupdate/luo_core.c | 1 + kernel/liveupdate/luo_file.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/kernel/liveupdate/luo_core.c b/kernel/liveupdate/luo_core.c index dda7bb57d421..59d7793d9444 100644 --- a/kernel/liveupdate/luo_core.c +++ b/kernel/liveupdate/luo_core.c @@ -255,6 +255,7 @@ bool liveupdate_enabled(void) { return luo_global.enabled; } +EXPORT_SYMBOL_GPL(liveupdate_enabled); =20 /** * DOC: LUO ioctl Interface diff --git a/kernel/liveupdate/luo_file.c b/kernel/liveupdate/luo_file.c index 35d2a8b1a0df..32759e846bc9 100644 --- a/kernel/liveupdate/luo_file.c +++ b/kernel/liveupdate/luo_file.c @@ -872,6 +872,7 @@ int liveupdate_register_file_handler(struct liveupdate_= file_handler *fh) luo_session_resume(); return err; } +EXPORT_SYMBOL_GPL(liveupdate_register_file_handler); =20 /** * liveupdate_unregister_file_handler - Unregister a liveupdate file handl= er @@ -917,3 +918,4 @@ int liveupdate_unregister_file_handler(struct liveupdat= e_file_handler *fh) liveupdate_test_register(fh); return err; } +EXPORT_SYMBOL_GPL(liveupdate_unregister_file_handler); --=20 2.53.0.rc1.225.gd81095ad13-goog