diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2025-03-07 20:03:27 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-03-14 11:50:36 +0300 |
commit | 1dba0a37644ed3022558165bbb5cb9bda540eaf7 (patch) | |
tree | 8f40cfc867a89beaddef4a6cbc1a85230dcd8d18 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 51f6fc9eb1d77ae5cacc796fc043dedc1f0f0073 (diff) | |
download | linux-1dba0a37644ed3022558165bbb5cb9bda540eaf7.tar.xz |
can: rcar_canfd: Fix page entries in the AFL list
There are a total of 96 AFL pages and each page has 16 entries with
registers CFDGAFLIDr, CFDGAFLMr, CFDGAFLP0r, CFDGAFLP1r holding
the rule entries (r = 0..15).
Currently, RCANFD_GAFL* macros use a start variable to find AFL entries,
which is incorrect as the testing on RZ/G3E shows ch1 and ch4
gets a start value of 0 and the register contents are overwritten.
Fix this issue by using rule_entry corresponding to the channel
to find the page entries in the AFL list.
Fixes: dd3bd23eb438 ("can: rcar_canfd: Add Renesas R-Car CAN FD driver")
Cc: stable@vger.kernel.org
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250307170330.173425-3-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions