Home
last modified time | relevance | path

Searched hist:d79c6840917097285e03a49f709321f5fb972750 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/phy/xilinx/
H A Dphy-zynqmp.cdiff d79c6840917097285e03a49f709321f5fb972750 Fri Jun 28 22:55:39 CEST 2024 Sean Anderson <sean.anderson@linux.dev> 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>