[PATCH] phy: rockchip-samsung-dcphy: fix out-of-range max_register
Vinod Koul
vkoul at kernel.org
Tue Aug 11 10:03:44 PDT 2026
On Tue, 11 Aug 2026 16:10:22 +0800, Jason Yang wrote:
> The PHY register block is 64KB, so with a register stride of 4 the
> last accessible register sits at offset 0xfffc. max_register names
> 0x10000, one register past the end of the mapping: dumping the
> registers through the regmap debugfs interface reads beyond the
> ioremapped region and oopses on the unmapped page. The oops fires
> with the regmap lock held, so later PHY operations deadlock.
>
> [...]
Applied, thanks!
[1/1] phy: rockchip-samsung-dcphy: fix out-of-range max_register
commit: 4486e75ba647bd8b98fc1f053101b40caceeed4b
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list