Loading net/qrtr/qrtr.c +7 −2 Original line number Original line Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <net/sock.h> #include <net/sock.h> #include <uapi/linux/sched/types.h> #include <uapi/linux/sched/types.h> #include <soc/qcom/boot_stats.h> #include "qrtr.h" #include "qrtr.h" Loading Loading @@ -263,10 +264,12 @@ static void qrtr_log_tx_msg(struct qrtr_node *node, struct qrtr_hdr_v1 *hdr, "TX CTRL: cmd:0x%x node[0x%x]\n", "TX CTRL: cmd:0x%x node[0x%x]\n", type, hdr->src_node_id); type, hdr->src_node_id); if (le32_to_cpu(hdr->dst_node_id) == 0 || if (le32_to_cpu(hdr->dst_node_id) == 0 || le32_to_cpu(hdr->dst_node_id) == 3) le32_to_cpu(hdr->dst_node_id) == 3) { place_marker("M - Modem QMI Readiness TX"); pr_err("qrtr: Modem QMI Readiness TX cmd:0x%x node[0x%x]\n", pr_err("qrtr: Modem QMI Readiness TX cmd:0x%x node[0x%x]\n", type, hdr->src_node_id); type, hdr->src_node_id); } } } else if (type == QRTR_TYPE_DEL_PROC) else if (type == QRTR_TYPE_DEL_PROC) QRTR_INFO(node->ilc, QRTR_INFO(node->ilc, "TX CTRL: cmd:0x%x node[0x%x]\n", "TX CTRL: cmd:0x%x node[0x%x]\n", Loading Loading @@ -333,12 +336,14 @@ static void qrtr_log_rx_msg(struct qrtr_node *node, struct sk_buff *skb) QRTR_INFO(node->ilc, QRTR_INFO(node->ilc, "RX CTRL: cmd:0x%x node[0x%x]\n", "RX CTRL: cmd:0x%x node[0x%x]\n", cb->type, cb->src_node); cb->type, cb->src_node); if (cb->src_node == 0 || cb->src_node == 3) if (cb->src_node == 0 || cb->src_node == 3) { place_marker("M - Modem QMI Readiness RX"); pr_err("qrtr: Modem QMI Readiness RX cmd:0x%x node[0x%x]\n", pr_err("qrtr: Modem QMI Readiness RX cmd:0x%x node[0x%x]\n", cb->type, cb->src_node); cb->type, cb->src_node); } } } } } } } static bool refcount_dec_and_rwsem_lock(refcount_t *r, static bool refcount_dec_and_rwsem_lock(refcount_t *r, struct rw_semaphore *sem) struct rw_semaphore *sem) Loading Loading
net/qrtr/qrtr.c +7 −2 Original line number Original line Diff line number Diff line Loading @@ -18,6 +18,7 @@ #include <net/sock.h> #include <net/sock.h> #include <uapi/linux/sched/types.h> #include <uapi/linux/sched/types.h> #include <soc/qcom/boot_stats.h> #include "qrtr.h" #include "qrtr.h" Loading Loading @@ -263,10 +264,12 @@ static void qrtr_log_tx_msg(struct qrtr_node *node, struct qrtr_hdr_v1 *hdr, "TX CTRL: cmd:0x%x node[0x%x]\n", "TX CTRL: cmd:0x%x node[0x%x]\n", type, hdr->src_node_id); type, hdr->src_node_id); if (le32_to_cpu(hdr->dst_node_id) == 0 || if (le32_to_cpu(hdr->dst_node_id) == 0 || le32_to_cpu(hdr->dst_node_id) == 3) le32_to_cpu(hdr->dst_node_id) == 3) { place_marker("M - Modem QMI Readiness TX"); pr_err("qrtr: Modem QMI Readiness TX cmd:0x%x node[0x%x]\n", pr_err("qrtr: Modem QMI Readiness TX cmd:0x%x node[0x%x]\n", type, hdr->src_node_id); type, hdr->src_node_id); } } } else if (type == QRTR_TYPE_DEL_PROC) else if (type == QRTR_TYPE_DEL_PROC) QRTR_INFO(node->ilc, QRTR_INFO(node->ilc, "TX CTRL: cmd:0x%x node[0x%x]\n", "TX CTRL: cmd:0x%x node[0x%x]\n", Loading Loading @@ -333,12 +336,14 @@ static void qrtr_log_rx_msg(struct qrtr_node *node, struct sk_buff *skb) QRTR_INFO(node->ilc, QRTR_INFO(node->ilc, "RX CTRL: cmd:0x%x node[0x%x]\n", "RX CTRL: cmd:0x%x node[0x%x]\n", cb->type, cb->src_node); cb->type, cb->src_node); if (cb->src_node == 0 || cb->src_node == 3) if (cb->src_node == 0 || cb->src_node == 3) { place_marker("M - Modem QMI Readiness RX"); pr_err("qrtr: Modem QMI Readiness RX cmd:0x%x node[0x%x]\n", pr_err("qrtr: Modem QMI Readiness RX cmd:0x%x node[0x%x]\n", cb->type, cb->src_node); cb->type, cb->src_node); } } } } } } } static bool refcount_dec_and_rwsem_lock(refcount_t *r, static bool refcount_dec_and_rwsem_lock(refcount_t *r, struct rw_semaphore *sem) struct rw_semaphore *sem) Loading