Re: [PATCH 1/7] can: rx-offload: continue on error

2019-10-13 Thread Jeroen Hofstee
Hello Marc, On 10/9/19 3:18 PM, Marc Kleine-Budde wrote: > Hello Jeroen, > > I'm currently looking at the rx-offload error handling in detail. > > TLDR: I've added the patch to linux-can. > > Thanks, > Marc > > For the record, the details: > > On 9/24/19 8:45 PM, Jeroen Hofstee wrote: >> While can

Re: [PATCH 1/7] can: rx-offload: continue on error

2019-10-09 Thread Marc Kleine-Budde
Hello Jeroen, I'm currently looking at the rx-offload error handling in detail. TLDR: I've added the patch to linux-can. Thanks, Marc For the record, the details: On 9/24/19 8:45 PM, Jeroen Hofstee wrote: > While can_rx_offload_offload_one will call mailbox_read to discard > the mailbox in cas

[PATCH 1/7] can: rx-offload: continue on error

2019-09-24 Thread Jeroen Hofstee
While can_rx_offload_offload_one will call mailbox_read to discard the mailbox in case of an error, can_rx_offload_irq_offload_timestamp bails out in the error case. Since it is typically called from a while loop, all message will eventually be discarded. So lets continue on error instead to discar