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 3B1D539478C; Mon, 16 Mar 2026 12:13:30 +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=1773663211; cv=none; b=VxgOZfg0DX9wZ6GiN++LbsaisnjGTtKiFt3/BkILtaronMOq0Vb9POH2KuXOeDDZec1/qK5+DRVXcT1jcQ+5u1nKX4PegxstpW/8nxMcanN0Emaj5IFMdL3Ik2HPS5LRPpI1ml3Nq1g1znHEkIfrNFqzY1zEYKSqlI6a4jX6lPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773663211; c=relaxed/simple; bh=sp4Tmc1fCZR3NUCOjtVKMpE4okkXC6JsHKx1xURbpFc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pj6IXQPTncyOeBV3g0YKOp2T5tzKsaX0bmZ6HZ4CPoUMiQxS82MW2rJ5YEn9N2Y8SYqiRVetU5o8zb3QqpQl2+75O9LaLUNgoh4tf0my+WZcu+0rcJDXi7/kgQTwj8w1Zfxfiqra82QZps1aPbj/fA5wGXsYm+ogmt1DUprWbcM= 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=RJON6Msr; 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="RJON6Msr" Received: from CPC-namja-026ON.redmond.corp.microsoft.com (unknown [4.213.232.19]) by linux.microsoft.com (Postfix) with ESMTPSA id 4E24E20B7017; Mon, 16 Mar 2026 05:13:23 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4E24E20B7017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1773663210; bh=46FOvu173yz/45+2tHFqqCdlI7TqogjbgR44sdGBrs4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RJON6Msr3CvOqx1hzDUbXbmZABaCXsa+3ownuDxRU5dOGsJXmHBboZyW6LhEMVD8C 3+WLu8gfADivo5Dzhgz41DqONk3JZej3vYsDY2zh+6LlrYw+zYD+Nqeo7MV72M3uMK yAhikSYcK6VeSBPcdw0Awn+wjuhIDKlbjSdjQtww= 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 Cc: Marc Zyngier , Timothy Hayes , Lorenzo Pieralisi , mrigendrachaubey , Naman Jain , ssengar@linux.microsoft.com, Michael Kelley , 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 Subject: [PATCH 05/11] drivers: hv: Export vmbus_interrupt for mshv_vtl module Date: Mon, 16 Mar 2026 12:12:35 +0000 Message-ID: <20260316121241.910764-6-namjain@linux.microsoft.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316121241.910764-1-namjain@linux.microsoft.com> References: <20260316121241.910764-1-namjain@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-hyperv@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. 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 f99d4f2d3862..de191799a8f6 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