diff options
| author | Théo Lebrun <theo.lebrun@bootlin.com> | 2026-03-25 16:28:16 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-29 14:34:29 -0700 |
| commit | 47c86c463612edc3107eb7c0fd25b463f1756adf (patch) | |
| tree | f9a22824ea422caf09f6eb1de7901ec401648aa7 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 41adda8764fd4d5e0f4e40cdcf47d60344dc4c4d (diff) | |
net: macb: runtime detect MACB_CAPS_USRIO_DISABLED
DCFG1 (design config 1 register) carries a bit indicating whether User
I/O feature has been enabled or not. The MACB/GEM driver has a cap flag
indicating that HW has the feature disabled (default is enabled). Add
the missing connection between DCFG1 bit and MACB_CAPS_USRIO_DISABLED.
Indirect impact: avoid useless writel() on USERIO register; this is not
an important fix because USERIO is anyway read-only when feature is
disabled.
If for some reason a compatible sets USRIO_DISABLED but DCFG1 indicates
it is enabled, we still keep the disabled capability flag. This ensures
we don't break "cdns,np4-macb" that sets the flag from compatible match
data.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260325-compactly-glue-f426a2e68904@spud
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
