aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2021-09-20 18:03:43 +0530
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-10-17 22:51:43 +0200
commit99d173fbe8944861a00ebd1c73817a1260d21e60 (patch)
treedd0363363eee9dde0d9ba3d5833dd8f896eb80f9 /tools/perf/scripts/python/export-to-sqlite.py
parentf7c05c3987dcfde9a4e8c2d533db013fabebca0d (diff)
can: m_can: fix iomap_read_fifo() and iomap_write_fifo()
The read and writes from the fifo are from a buffer, with various fields and data at predefined offsets. So, they should not be done to the same address(or port) in case of val_count greater than 1. Therefore, fix this by using iowrite32()/ioread32() instead of ioread32_rep()/iowrite32_rep(). Also, the write into FIFO must be performed with an offset from the message ram base address. Therefore, fix the base address to mram_base. Fixes: e39381770ec9 ("can: m_can: Disable IRQs on FIFO bus errors") Link: https://lore.kernel.org/all/20210920123344.2320-1-a-govindraju@ti.com Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions