]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
s390/qdio: improve some debug prints
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Mon, 21 Nov 2016 10:34:25 +0000 (11:34 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 3 Feb 2017 12:50:23 +0000 (13:50 +0100)
With multiple input queues, these DBFs turned out to be not
very helpful...

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c

index 71bf9bded48519c72a5d540a6ee8c1f89efc7bf2..a4ad39ba3873f64911802e567b8c19a6abbad5c6 100644 (file)
@@ -457,7 +457,7 @@ static inline void inbound_primed(struct qdio_q *q, int count)
 {
        int new;
 
-       DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in prim: %02x", count);
+       DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in prim:%1d %02x", q->nr, count);
 
        /* for QEBSM the ACK was already set by EQBS */
        if (is_qebsm(q)) {
@@ -544,7 +544,8 @@ static int get_inbound_buffer_frontier(struct qdio_q *q)
        case SLSB_P_INPUT_ACK:
                if (q->irq_ptr->perf_stat_enabled)
                        q->q_stats.nr_sbal_nop++;
-               DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in nop");
+               DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "in nop:%1d %#02x",
+                       q->nr, q->first_to_check);
                break;
        default:
                WARN_ON_ONCE(1);