Thread (2 messages) 2 messages, 2 authors, 2021-11-18

Re: [PATCH net] can: m_can: pci: fix iomap_read_fifo() and iomap_write_fifo()

From: Jarkko Nikula <hidden>
Date: 2021-11-18 15:09:46
Also in: lkml, netdev

On 11/18/21 4:40 PM, Matthias Schiffer wrote:
The same fix that was previously done in m_can_platform in commit
99d173fbe894 ("can: m_can: fix iomap_read_fifo() and iomap_write_fifo()")
is required in m_can_pci as well to make iomap_read_fifo() and
iomap_write_fifo() work for val_count > 1.

Fixes: 812270e5445b ("can: m_can: Batch FIFO writes during CAN transmit")
Fixes: 1aa6772f64b4 ("can: m_can: Batch FIFO reads during CAN receive")
Signed-off-by: Matthias Schiffer <redacted>
---
  drivers/net/can/m_can/m_can_pci.c | 14 ++++++++++++--
  1 file changed, 12 insertions(+), 2 deletions(-)
I tested this on top of plain v5.15 (v5.16-rc1 has some rootfs 
regression on my EHL HW) where my test case was receiving zeros and this 
makes it working again like in v5.14 and earlier.

Tested-by: Jarkko Nikula <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help