linux/drivers/net/pcs
Jack Ping CHNG 6547f890bd net: pcs: xpcs: mask readl() return value to 16 bits
[ Upstream commit 2b0ba7b5b0 ]

readl() returns 32-bit value but Clause 22/45 registers are 16-bit wide.
Masking with 0xFFFF avoids using garbage upper bits.

Signed-off-by: Jack Ping CHNG <jchng@maxlinear.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250716030349.3796806-1-jchng@maxlinear.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-20 18:30:30 +02:00
..
Kconfig net: pcs: xpcs: Add Synopsys DW xPCS platform device driver 2024-07-05 09:35:50 +01:00
Makefile net: pcs: xpcs: Add Synopsys DW xPCS platform device driver 2024-07-05 09:35:50 +01:00
pcs-lynx.c net: pcs: lynx: no need to read LPA in lynx_pcs_get_state_2500basex() 2024-05-13 16:37:18 -07:00
pcs-mtk-lynxi.c net: fill in MODULE_DESCRIPTION()s for PCS drivers 2024-01-29 12:12:51 +00:00
pcs-rzn1-miic.c net: pcs: rzn1-miic: Init RX clock early if MAC requires it 2024-03-28 19:21:34 -07:00
pcs-xpcs-nxp.c net: update NXP copyright text 2021-09-17 13:52:17 +01:00
pcs-xpcs-plat.c net: pcs: xpcs: mask readl() return value to 16 bits 2025-08-20 18:30:30 +02:00
pcs-xpcs-wx.c net: pcs: xpcs: fix the wrong register that was written back 2024-10-01 11:00:50 +02:00
pcs-xpcs.c net: pcs: xpcs: Add fwnode-based descriptor creation method 2024-07-05 09:35:51 +01:00
pcs-xpcs.h net: pcs: xpcs: Add Synopsys DW xPCS platform device driver 2024-07-05 09:35:50 +01:00