summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAsmaa Mnebhi <asmaa@nvidia.com>2022-09-26 22:45:04 +0300
committerWolfram Sang <wsa@kernel.org>2022-09-27 22:42:41 +0300
commit86067ccfa1424a26491542d6f6d7546d40b61a10 (patch)
treefbd17002e4469a1285bd97307a7178e0c2ad039a /tools/perf/scripts/python
parent85f17d677f6c40069287617630f202eb20fcfe36 (diff)
downloadlinux-86067ccfa1424a26491542d6f6d7546d40b61a10.tar.xz
i2c: mlxbf: support lock mechanism
Linux is not the only entity using the BlueField I2C busses so support a lock mechanism provided by hardware to avoid issues when multiple entities are trying to access the same bus. The lock is acquired whenever written explicitely or the lock register is read. So make sure it is always released at the end of a successful or failed transaction. Fixes: b5b5b32081cd206b (i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC) Reviewed-by: Khalil Blaiech <kblaiech@nvidia.com> Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions