[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE7jHC8DxVckjEUTfO5CDA+EwBmQ5=0udVyEUqczp5_zT90Q8g@mail.gmail.com>
Date: Sat, 18 Jul 2015 21:48:59 +0300
From: Constantine Shulyupin <const@...elinux.com>
To: rosenr@...vell.com,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
netdev@...r.kernel.org
Subject: mvneta.c, MVNETA_TXQ_UPDATE_REG, shut down issue
Hi Rami and Thomas,
I try to run vanilla kernel 4.2.0 on custom Armada-370 board, based on
DB-88F6710-BP.
The problem is that the board shuts down after writing to
MVNETA_TXQ_UPDATE_REG in this code:
static void mvneta_txq_pend_desc_add(struct mvneta_port *pp,
struct mvneta_tx_queue *txq,
int pend_desc)
{
u32 val;
/* Only 255 descriptors can be added at once ; Assume caller
* process TX desriptors in quanta less than 256
*/
val = pend_desc;
mvreg_write(pp, MVNETA_TXQ_UPDATE_REG(txq->id), val);
}
BTW, pend_desc == 1
What can you suggest?
Thanks
Constantine
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists