From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E42B3EE1D1; Thu, 23 Apr 2026 12:43:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776948183; cv=none; b=jv6PhpB3MJzF4UTzeSu55W71JSFrf0Kt6TPLpYxu/5rGFNKl6l2MPKWKidmrQFG9WGW6nWOeh4aaTnuEOd0vwEhH+iq81+OE4uRLcXb8xrR0Frp8DG2mGOsG1l6beYvTRR5no2XuMABgDByhG+QLiFcyOmZ5AKRjeuKoFLSVuN0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776948183; c=relaxed/simple; bh=+l8Kq2o53RDg3DGJBvOnLAcSd/SPa7vsSu5k0MKfoRY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QzEdensCq1PM/YXn81HtQ6N2QsRnrOZu84r2SV8qXWtmAYFgMWWn91R7RNrHjbr9+wUmE+cAItKCyqxkO1tQA81+wGTIQ1aSkTavhd4YZH2ovgkJZaQ59mMkeNqzMPWm+n8uZdA0wJltA1fnr1j0e/ew53k4j63cmg4U4oHpk8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=kdfK+cNK; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="kdfK+cNK" Received: from CPC-namja-026ON.redmond.corp.microsoft.com (unknown [4.213.232.18]) by linux.microsoft.com (Postfix) with ESMTPSA id 527D720B7167; Thu, 23 Apr 2026 05:42:55 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 527D720B7167 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1776948182; bh=Q76kHi3aTcSg7O4rk2jstLQj95vNaQvrKNEZQjnBiXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kdfK+cNKF7P5mLQrePhjWhMrUP6eSRlh5W0NUH46xhS7kvsAEkw46O2Mmpt2oiuMV n1LTlHyLATBHcLD8VCm0Uj+Zz7RtO6UoWzJE2KKhGGK9Glv8QnC79mPIAFsRfq+uui 9Myf/BY8wGV9TnMow/+qSmn15wPrRIPwpGhE10oA= From: Naman Jain To: "K . Y . Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Catalin Marinas , Will Deacon , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Arnd Bergmann , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Michael Kelley Cc: Marc Zyngier , Timothy Hayes , Lorenzo Pieralisi , Sascha Bischoff , mrigendrachaubey , Naman Jain , linux-hyperv@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-riscv@lists.infradead.org, vdso@mailbox.org, ssengar@linux.microsoft.com Subject: [PATCH v2 05/15] Drivers: hv: Export vmbus_interrupt for mshv_vtl module Date: Thu, 23 Apr 2026 12:41:55 +0000 Message-ID: <20260423124206.2410879-6-namjain@linux.microsoft.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260423124206.2410879-1-namjain@linux.microsoft.com> References: <20260423124206.2410879-1-namjain@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit vmbus_interrupt is used in mshv_vtl_main.c to set the SINT vector. When CONFIG_MSHV_VTL=m and CONFIG_HYPERV_VMBUS=y (built-in), the module cannot access vmbus_interrupt at load time since it is not exported. Export it using EXPORT_SYMBOL_FOR_MODULES consistent with the existing pattern used for vmbus_isr. Reviewed-by: Michael Kelley Reviewed-by: Roman Kisel Signed-off-by: Naman Jain --- drivers/hv/vmbus_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 052ca8b11cee..047ad2848782 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -57,6 +57,7 @@ static DEFINE_PER_CPU(long, vmbus_evt); /* Values parsed from ACPI DSDT */ int vmbus_irq; int vmbus_interrupt; +EXPORT_SYMBOL_FOR_MODULES(vmbus_interrupt, "mshv_vtl"); /* * If the Confidential VMBus is used, the data on the "wire" is not -- 2.43.0