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

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

 



On 7/24/19 3:28 AM, Tom Prohaszka wrote:
> 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

Do you have a full OOPS/backtrace for this?

> 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?

Adding Martin on Cc.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature


[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