Re: [PATCH v17 09/19] cxl: Refresh cached PCI HDM decoder settings

From: Srirangan Madhavan

Date: Sat Dec 05 2026 - 03:00:15 EST


On 11/12/26 4:38 PM, Dave Jiang wrote:
+}
+EXPORT_SYMBOL_FOR_MODULES(cxl_hdm_cache_check_decoder_count, "cxl_core");
kdoc header for exported symbol. Also are you sure this symbol needs to be exported?

DJ
Hi Dave,

Yes, it needs the export. hdm_state.o is built in, and the only caller,
in drivers/cxl/core/pci.c, is in cxl_core, which can be a module. v18
limits the export to cxl_core with EXPORT_SYMBOL_FOR_MODULES() and adds
the kernel-doc you asked for.
https://lore.kernel.org/linux-cxl/20261205041453.3946529-1-smadhavan@xxxxxxxxxx/

--
Regards,
Srirangan