]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
declance: Include the offending address with DMA errors
authorMaciej W. Rozycki <macro@orcam.me.uk>
Sun, 29 Mar 2026 18:07:41 +0000 (19:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Apr 2026 02:32:41 +0000 (19:32 -0700)
commitaae5efaeb8aa4ada710d5b0cdbab77b9539c69eb
treefcb87acef183edd08f421c359906b0b16098f0ca
parentee769323b1bf60c0ec0338cc5ee6b1c725624ec6
declance: Include the offending address with DMA errors

The address latched in the I/O ASIC LANCE DMA Pointer Register uses the
TURBOchannel bus address encoding and therefore bits 33:29 of location
referred occupy bits 4:0, bits 28:2 are left-shifted by 3, and bits 1:0
are hardwired to zero.  In reality no TURBOchannel system exceeds 1GiB
of RAM though, so the address reported will always fit in 8 hex digits.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://patch.msgid.link/alpine.DEB.2.21.2603291839220.60268@angie.orcam.me.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/declance.c