Re: [PATCH 24/29] can: ti_hecc: add fifo underflow error reporting

2019-10-10 Thread Marc Kleine-Budde
On 10/10/19 7:51 PM, Jeroen Hofstee wrote: >>> When the rx fifo overflows the ti_hecc would silently drop them since >>> the overwrite protection is enabled for all mailboxes. So disable it >>> for the lowest priority mailbox and increment the rx_fifo_errors when >>> receive message lost is set. Dr

Re: [PATCH 24/29] can: ti_hecc: add fifo underflow error reporting

2019-10-10 Thread Jeroen Hofstee
Attempt 2, now as plain text... (vger doesn't like html) On 10/10/19 5:52 PM, Marc Kleine-Budde wrote: > On 10/10/19 2:17 PM, Marc Kleine-Budde wrote: >> From: Jeroen Hofstee >> >> When the rx fifo overflows the ti_hecc would silently drop them since >> the overwrite protection is enabled for all

Re: [PATCH 24/29] can: ti_hecc: add fifo underflow error reporting

2019-10-10 Thread Marc Kleine-Budde
On 10/10/19 2:17 PM, Marc Kleine-Budde wrote: > From: Jeroen Hofstee > > When the rx fifo overflows the ti_hecc would silently drop them since > the overwrite protection is enabled for all mailboxes. So disable it > for the lowest priority mailbox and increment the rx_fifo_errors when > receive m

[PATCH 24/29] can: ti_hecc: add fifo underflow error reporting

2019-10-10 Thread Marc Kleine-Budde
From: Jeroen Hofstee When the rx fifo overflows the ti_hecc would silently drop them since the overwrite protection is enabled for all mailboxes. So disable it for the lowest priority mailbox and increment the rx_fifo_errors when receive message lost is set. Drop the message itself in that case,