and CPUs over various types of interfaces such as MHI, xDCI,
xHCI, GPI, WDI, Ethernet, etc.
+config GSI_DEBUG
+ bool "Debugging part of GSI core"
+ depends on GSI || DEBUG_FS
+ default n
+
config IPA3
tristate "IPA3 support"
depends on GSI && NET
-obj-$(CONFIG_GSI) += gsi.o gsi_dbg.o
+obj-$(CONFIG_GSI) += gsi.o
+obj-$(CONFIG_GSI_DEBUG) += gsi_dbg.o
#define GSI_RESET_WA_MIN_SLEEP 1000
#define GSI_RESET_WA_MAX_SLEEP 2000
+
+#ifndef CONFIG_GSI_DEBUG
+static inline void gsi_debugfs_init(void)
+{
+}
+#endif
+
static const struct of_device_id msm_gsi_match[] = {
{ .compatible = "qcom,msm_gsi", },
{ },
};
extern struct gsi_ctx *gsi_ctx;
+#ifdef CONFIG_GSI_DEBUG
void gsi_debugfs_init(void);
+#endif
uint16_t gsi_find_idx_from_addr(struct gsi_ring_ctx *ctx, uint64_t addr);
void gsi_update_ch_dp_stats(struct gsi_chan_ctx *ctx, uint16_t used);