Microchip mcp25xxfd can controller driver- BUG: using __this_cpu_add() in preemptible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We implemented the MCP25xxfd driver patch V7 and are experiencing an
issue when the CPU load for the mcp25xxfd driver is over 30%.  Using
CANDump or our custom application, we see:

root@ccimx6ulcvdp:~/tmp# BUG: using __this_cpu_add() in preemptible
[00000000] code: irq/194-mcp25xx/805

When this occurs, the kernel eventually crashes.  Has this been seen
by anyone, or any suggestions on what could cause this?

Our system is:
CAN 2.0 Std, 500Kbps, Tx/Rx enabled, but only Receiving CAN messages
Digi Imx6ul,
MCP2517 clk 40Mhz
SPI Clk 12 Mhz
Linux version 4.9.65-dey+gf832589 (gcc version 6.2.0 (GCC) ) #41 SMP
PREEMPT Sun Jul 7 21:39:25 EDT 2019

On a secondary question, in the driver comments, it was mentioned that
transfer rate was >99% with no network statistics, but when network
statistics are used, the transfer rate drops 60%.
We don't care about network statistics, can you provide info on how
you turned this off?

Thanks.
Tom



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux