diag: Add separation of cmd/rsp

Currently, the command/response messages all occur on the
smd data channels. Process the command/response messages on
separate smd channels if the peripheral supports this
separation.

Change-Id: Ibb6f50f24d06b806c597589341496ba9ff54f240
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
diff --git a/drivers/char/diag/diag_debugfs.c b/drivers/char/diag/diag_debugfs.c
index 76490c8..6e948b7 100644
--- a/drivers/char/diag/diag_debugfs.c
+++ b/drivers/char/diag/diag_debugfs.c
@@ -44,12 +44,18 @@
 		"modem cntl_ch: 0x%x\n"
 		"lpass cntl_ch: 0x%x\n"
 		"riva cntl_ch: 0x%x\n"
+		"modem cmd ch: 0x%x\n"
+		"dci cmd ch: 0x%x\n"
 		"CPU Tools id: %d\n"
 		"Apps only: %d\n"
 		"Apps master: %d\n"
 		"Check Polling Response: %d\n"
 		"polling_reg_flag: %d\n"
 		"uses device tree: %d\n"
+		"supports separate cmdrsp: %d\n"
+		"Modem separate cmdrsp: %d\n"
+		"LPASS separate cmdrsp: %d\n"
+		"RIVA separate cmdrsp: %d\n"
 		"Modem in_busy_1: %d\n"
 		"Modem in_busy_2: %d\n"
 		"LPASS in_busy_1: %d\n"
@@ -57,6 +63,9 @@
 		"RIVA in_busy_1: %d\n"
 		"RIVA in_busy_2: %d\n"
 		"DCI Modem in_busy_1: %d\n"
+		"Modem CMD in_busy_1: %d\n"
+		"Modem CMD in_busy_2: %d\n"
+		"DCI CMD Modem in_busy_1: %d\n"
 		"logging_mode: %d\n",
 		(unsigned int)driver->smd_data[MODEM_DATA].ch,
 		(unsigned int)driver->smd_data[LPASS_DATA].ch,
@@ -65,12 +74,18 @@
 		(unsigned int)driver->smd_cntl[MODEM_DATA].ch,
 		(unsigned int)driver->smd_cntl[LPASS_DATA].ch,
 		(unsigned int)driver->smd_cntl[WCNSS_DATA].ch,
+		(unsigned int)driver->smd_cmd[MODEM_DATA].ch,
+		(unsigned int)driver->smd_dci_cmd[MODEM_DATA].ch,
 		chk_config_get_id(),
 		chk_apps_only(),
 		chk_apps_master(),
 		chk_polling_response(),
 		driver->polling_reg_flag,
 		driver->use_device_tree,
+		driver->supports_separate_cmdrsp,
+		driver->separate_cmdrsp[MODEM_DATA],
+		driver->separate_cmdrsp[LPASS_DATA],
+		driver->separate_cmdrsp[WCNSS_DATA],
 		driver->smd_data[MODEM_DATA].in_busy_1,
 		driver->smd_data[MODEM_DATA].in_busy_2,
 		driver->smd_data[LPASS_DATA].in_busy_1,
@@ -78,6 +93,9 @@
 		driver->smd_data[WCNSS_DATA].in_busy_1,
 		driver->smd_data[WCNSS_DATA].in_busy_2,
 		driver->smd_dci[MODEM_DATA].in_busy_1,
+		driver->smd_cmd[MODEM_DATA].in_busy_1,
+		driver->smd_cmd[MODEM_DATA].in_busy_2,
+		driver->smd_dci_cmd[MODEM_DATA].in_busy_1,
 		driver->logging_mode);
 
 #ifdef CONFIG_DIAG_OVER_USB