diff options
author | 2025-06-24 11:06:04 +0200 | |
---|---|---|
committer | 2025-07-31 01:21:10 +0200 | |
commit | 733b439375b494e8a6950ab47d18a4b615b73cb3 (patch) | |
tree | b9d6ce488fb3dee6dbee1d46b6e200d3247f2004 /tools/perf/scripts/python | |
parent | i3c: prefix hexadecimal entries in sysfs (diff) | |
download | wireguard-linux-733b439375b494e8a6950ab47d18a4b615b73cb3.tar.xz wireguard-linux-733b439375b494e8a6950ab47d18a4b615b73cb3.zip |
i3c: master: Add inline i3c_readl_fifo() and i3c_writel_fifo()
The I3C abstraction expects u8 buffers, but some controllers operate with
a 32-bit bus width FIFO and cannot flag valid bytes individually. To avoid
reading or writing outside the buffer bounds, use 32-bit accesses where
possible and apply memcpy for any remaining bytes
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Suggested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250624-i3c-writesl-readsl-v3-1-63ccf0870f01@analog.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions