diff options
author | Sean Anderson <sean.anderson@linux.dev> | 2024-06-28 22:55:39 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-07-02 15:18:09 +0200 |
commit | d79c6840917097285e03a49f709321f5fb972750 (patch) | |
tree | c5754dd0550cfbecc9e2c2941cd72f970957c74e /.cocciconfig | |
parent | phy: zynqmp: Only wait for PLL lock "primary" instances (diff) | |
download | linux-d79c6840917097285e03a49f709321f5fb972750.tar.xz linux-d79c6840917097285e03a49f709321f5fb972750.zip |
phy: zynqmp: Take the phy mutex in xlate
Take the phy mutex in xlate to protect against concurrent
modification/access to gtr_phy. This does not typically cause any
issues, since in most systems the phys are only xlated once and
thereafter accessed with the phy API (which takes the locks). However,
we are about to allow userspace to access phys for debugging, so it's
important to avoid any data races.
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Link: https://lore.kernel.org/r/20240628205540.3098010-5-sean.anderson@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions